CentOS下telnet的安装

安装

先检查是否已经安装以下两个安装包:telnet-server、xinetd。命令如下:  

rpm -qa telnet-server
rpm -qa xinetd

安装命令:

[root@master ~]# yum list |grep telnet
telnet-server.x86_64                    1:0.17-59.el7                  @base    
telnet.x86_64                           1:0.17-59.el7                  base     
[root@master ~]# yum install telnet-server.x86_64
[root@master ~]# yum install telnet.x86_64
[root@master ~]# yum list |grep xinetd
xinetd.x86_64                           2:2.3.15-12.el7                @base  
[root@master ~]# yum install xinetd.x86_64

设置开机启动

安装完成后,将xinetd服务加入开机自启动:

systemctl enable xinetd.service

将telnet服务加入开机自启动:

systemctl enable telnet.socket

服务启动

systemctl start telnet.socket
systemctl start xinetd(或service xinetd start)

 

你可能感兴趣的:(软件安装)