Linux没有telnet

问题描述:

centos 系统没有 telnet 命令

bash: telnet: command not found


  

安装telnet服务

yum install xinetd telnet telnet-server -y

配置开机启动

chkconfig telnet on
1,检查是否安装 telnet-server和xinetd
rpm -qa telnet-server
rpm -qa xinetd
___
2,如果没有安装过就安装 查找yum
yum list |grep telnet
yum list |grep xinetd
___
3,执行安装语句
yum -y install telnet-server.x86_64
yum -y install telnet.x86_64
yum -y install xinetd.x86_64
___
4,设置开机自启:
systemctl enable xinetd.service
systemctl enable telnet.socket
___
5,开启service:
systemctl start telnet.socket
systemctl start xinetd

参考地址:https://www.cnblogs.com/ikai/p/7073201.html

猜你喜欢

转载自www.cnblogs.com/music-liang/p/11882308.html