我是一个linux小白,最近不得已去接触linux。
有一块需要对接网络,发现进行telnet的时候,报-bash command not found...
采取了以下步骤:
(1) rpm -qa |grep telnet
没有返回结果,得到telnet未安装
(2)下载xinted和telnet 的rpm文件,我下的是
CentOS 5.11 for x86_64 |
http://rpmfind.net/linux/rpm2html/search.php?query=xinetd
http://rpmfind.net/linux/rpm2html/search.php?query=telnet-server
(3)使用rpm -i *安装好xinted和telnet
(4)配置和重启xinted,接着启动telnet
扫描二维码关注公众号,回复:
284223 查看本文章
(5)使用telnet 127.0.0.1测试,结果:-bash command not found...
what the fucking this!让我抓狂
(6)继续查找文章,在某篇文章中,讲到telnet分客户端和服务端。貌似我前面装的都是服务端的东西!
(7)下载telnet客户端 http://download.csdn.net/detail/www476907899/5819695
(8)安装
(9)终于可以telnet