1、检查是否安装过telnet-server和xinetd两个安装包
rpm -qa telnet-server
rpm -qa xinetd
2、如果没有安装过则安装
(1)安装telnet
yum list |grep telnet
yum install telnet-server.x86_64
yum install telnet.x86_64
(2)安装xinetd
yum list |grep xinetd
yum install xinetd.x86_64
3、加入开机启动服务
systemctl enable xinetd.service
systemctl enable telnet.socket
4、启动服务
systemctl start telnet.socket
systemctl start xinetd