码迷,mamicode.com
首页 > Web开发 > 详细

bash: telnet: command not found的解决方法

时间:2020-02-11 14:45:17      阅读:88      评论:0      收藏:0      [点我收藏+]

标签:his   ini   speed   src   lin   end   ref   解决   too   

  依次执行如下命令:  
   yum list telnet* 列出telnet相关的安装包 yum install telnet-server 安装telnet服务 yum install telnet.* 安装telnet客户端


执行效果如下:
技术图片
[root@localhost ~]# yum list telnet* 
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.cn99.com
 * extras: mirrors.shu.edu.cn
 * updates: mirrors.cn99.com
Available Packages
telnet.x86_64                            1:0.17-48.el6                      base
telnet-server.x86_64                     1:0.17-48.el6                      base
技术图片
技术图片
[root@localhost ~]# yum install telnet-server
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.cn99.com
 * extras: mirrors.shu.edu.cn
 * updates: mirrors.cn99.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package telnet-server.x86_64 1:0.17-48.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

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

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

Total download size: 37 k
Installed size: 54 k
Is this ok [y/N]: y
Downloading Packages:
telnet-server-0.17-48.el6.x86_64.rpm                     |  37 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : 1:telnet-server-0.17-48.el6.x86_64                           1/1 
  Verifying  : 1:telnet-server-0.17-48.el6.x86_64                           1/1 

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

Complete!
[root@localhost ~]# 
技术图片
技术图片
[root@localhost ~]# yum install telnet.*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.cn99.com
 * extras: mirrors.shu.edu.cn
 * updates: mirrors.cn99.com
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!
[root@localhost ~]# 
技术图片

bash: telnet: command not found的解决方法

标签:his   ini   speed   src   lin   end   ref   解决   too   

原文地址:https://www.cnblogs.com/qianmo123/p/12294828.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!