yum -y install telnet-server.x86_64 yum -y install telnet.x86_64 yum -y install xinetd.x86_64
設置開機自啓:socket
systemctl enable xinetd.service
systemctl enable telnet.socket
開啓service:spa
systemctl start telnet.socket
systemctl start xinetd
netstat -nltp看一下是否開啓了23端口,若是開啓表明成功了code