公告:    欢迎来到王者★孤傲博客主页,若有问题敬请留言 !     没有大量的积累和感悟,是不会把事情做好的, 只有不停的进取,才能够不丢人! Copyright © 2016-2020 RaodiBlogs. All rights reserved.

telnet命令问题解决-bash: telnet: command not found



root@cClient:/]#telnet cMaster 44444
bash: telnet: command not found


-----------解决办法------------
解决方法: 安装telnet服务
centos、ubuntu安装telnet命令的方法.

    yum list telnet*              列出telnet相关的安装包
    yum install telnet-server          安装telnet服务
    yum install telnet.*           安装telnet客户端



解决如下:
root@cClient:/]#yum install telnet


------------------------日志-----------------------
root@cClient:/]#yum install telnet
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package telnet.x86_64 1:0.17-48.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch             Version                 Repository      Size
================================================================================
Installing:
 telnet           x86_64           1:0.17-48.el6           base            58 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 58 k
Installed size: 109 k
Is this ok [y/N]: y
Downloading Packages:
telnet-0.17-48.el6.x86_64.rpm                            |  58 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:telnet-0.17-48.el6.x86_64                                  1/1 
  Verifying  : 1:telnet-0.17-48.el6.x86_64                                  1/1 

Installed:
  telnet.x86_64 1:0.17-48.el6                                                   

Complete!




posted @ 2019-06-19 19:01  王者★孤傲  阅读(3819)  评论(0编辑  收藏  举报
……