Centos7 install telnet service

1. CentOS7.0 telnet-server startup problem.
Solution:
    1. Check whether CentOS7.0 has installed the following two installation packages: telnet-server, xinetd. The command is as follows:
    rpm -qa telnet-server
    rpm -qa xinetd

    If not installed, install it first. Installation command:

[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

 

After the installation is complete, add the xinetd service to the boot auto-start:
    systemctl enable xinetd.service
Add the telnet service to the boot auto-start:
    systemctl enable telnet.socket
Finally, start the above two services:
    systemctl start telnet.socket
    systemctl start xinetd (or service xinetd start)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326314735&siteId=291194637