下载http://vault.centos.org/6.3/os/x86_64/Packages/
xinetd-2.3.14-34.el6.x86_64.rpm
telnet-0.17-47.el6.x86_64.rpm
telnet-server-0.17-47.el6.x86_64.rpm
安装
rpm -ivh telnet-0.17-48.el6.x86_64.rpm
rpm -ivh xinetd-2.3.14-34.el6.x86_64.rpm
rpm -ivh telnet-server-0.17-47.el6.x86_64.rpm
修改telnet配置,将disable=yes改为no,之后启动xinetd
vi /etc/xinetd.d/telnet
service xinetd start
测试,结果如下即为成功
[root@localhost ~]# telnet localhost 23
Trying ::1...
Connected to localhost.
Escape character is '^]'.
Kernel 3.10.0-327.el7.x86_64 on an x86_64
localhost login: