安裝centos7 無telnet命令centos
rpm -q telnet-server
rpm -q telnet
rpm -q xinetdbash
以下:
二、若是沒有安裝,則先安裝。安裝命令:socket
yum list |grep telnet
執行安裝命令:測試
yum install telnet-server.x86_64
yum install telnet.x86_64
yum list |grep xinetd yum install xinetd.x86_64
systemctl enable telnet.socket
最後,啓動以上兩個服務便可:centos7
因爲telnet服務也是由xinetd守護的,因此安裝完telnet-server,要啓動telnet服務就必須從新啓動xinetd 。spa
systemctl start telnet.socket
systemctl start xinetd
(或service xinetd start)
telnet localhosserver
/*it
-bash: netstat: command not foundclass
yum install net-toolsimport
*/