赞
踩
在执行telnet时会提示命令不存在。Telnet服务的配置步骤如下:
- [root@localhost ~]# rpm -q telnet
-
- telnet-0.17-38.el5
-
- #telnet客户端一般默认情况是已安装
-
- [root@localhost ~]# rpm -q telnet-server
-
- 无表示未安装
- yum install telnet
-
- yum install telnet-server
- rpm -ivh telnet-0.17-65.el7_8.aarch64.rpm
-
- rpm -ivh telnet-server-0.17-65.el7_8.aarch64.rpm
- warning: telnet-server-0.17-48.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
- error: Failed dependencies:
- xinetd is needed by telnet-server-1:0.17-48.el6.x86_64
解决方式就是:缺失 xinetd 包,先安装 xinetd 包(下载地址如下所示)
下载:xinetd 包
rpm -ivh xinetd-2.3.15-14.el7.aarch64.rpm
安装成功后再安装telnet-server
service xinetd start
至此安装完成。
telnet ip port
结束啦!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。