在linux centos伺服器上安裝telnet命令

盧水發發表於2019-11-07

主要執行以下兩個命令

yum install telnet
yum install telnet-server

[root@MOYOU-APP ~]# yum install telnet
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
base                                                                                                                                                                | 3.7 kB     00:00     
epel                                                                                                                                                                | 5.3 kB     00:00     
epel/primary_db                                                                                                                                                     | 6.1 MB     00:00     
extras                                                                                                                                                              | 3.4 kB     00:00     
updates                                                                                                                                                             | 3.4 kB     00:00     
updates/primary_db                                                                                                                                                  | 6.6 MB     00:00     
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@MOYOU-APP ~]# 
[root@MOYOU-APP ~]# 
[root@MOYOU-APP ~]# yum install telnet-server
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package telnet-server.x86_64 1:0.17-48.el6 will be installed
--> Processing Dependency: xinetd for package: 1:telnet-server-0.17-48.el6.x86_64
--> Running transaction check
---> Package xinetd.x86_64 2:2.3.14-40.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
Installing for dependencies:
 xinetd                                          x86_64                                   2:2.3.14-40.el6                                     base                                   122 k

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

Total download size: 159 k
Installed size: 313 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): telnet-server-0.17-48.el6.x86_64.rpm                                                                                                                         |  37 kB     00:00     
(2/2): xinetd-2.3.14-40.el6.x86_64.rpm                                                                                                                              | 122 kB     00:00     
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                      2.3 MB/s | 159 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 2:xinetd-2.3.14-40.el6.x86_64                                                                                                                                           1/2 
  Installing : 1:telnet-server-0.17-48.el6.x86_64                                                                                                                                      2/2 
  Verifying  : 1:telnet-server-0.17-48.el6.x86_64                                                                                                                                      1/2 
  Verifying  : 2:xinetd-2.3.14-40.el6.x86_64                                                                                                                                           2/2 

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

Dependency Installed:
  xinetd.x86_64 2:2.3.14-40.el6                                                                                                                                                            

Complete!
[root@MOYOU-APP ~]# 
[root@MOYOU-APP ~]# telnet
telnet> qui
[root@MOYOU-APP ~]# 

複製程式碼

相關文章