Install centos7 no telnet command
- First check if CentOS7.0 has installed the following two installation packages: Telnet-server, xinetd. The command is as follows:
Rpm-q telnet-Server
Rpm-q Telnet
Rpm-q xinetd
As follows:
2, if not installed, install first. installation command:
Yum List |grep Telnet
To execute the installation command:
Yum Install telnet-server.x86_64
Yum Install telnet.x86_64
Yum List | grep xinetdyum Install xinetd.x86_64
- After the installation is complete, add the XINETD service to power On self-boot:
Systemctl Enable Telnet.socket
Finally, start the above two services:
Since the Telnet service is also guarded by xinetd, the telnet-server must be restarted to start the Telnet service after installing the xinetd.
Systemctl start Telnet.socketsystemctl start xinetd
(or service xinetd start)
telnet Localhos
/*
-bash:netstat:command not found
Yum Install Net-tools
*/
Centos7 Installing telent and Telnet-server