centos7 安裝telnet

SSH Secure Shell 3.2.9 (Build 283)
Copyright (c) 2000-2003 SSH Communications Security Corp - http://www.ssh.com/

This copy of SSH Secure Shell is a non-commercial version.
This version does not include PKI and PKCS #11 functionality.


Last login: Tue May 28 16:45:00 2019 from 192.168.0.100
[root@dm02 ~]# rpm -qa telnet -server
rpm: arguments to --root (-r) must begin with a /
[root@dm02 ~]# yum list |grep xinetd
xinetd.x86_64 2:2.3.15-13.el7 base
[root@dm02 ~]# yum list |grep telnet
telnet.x86_64 1:0.17-64.el7 base
telnet-server.x86_64 1:0.17-64.el7 base

安裝服務端
[root@dm02 ~]# yum install telnet-server.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package telnet-server.x86_64 1:0.17-64.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
telnet-server x86_64 1:0.17-64.el7 base 41 k

Transaction Summary
================================================================================
Install 1 Package

Total download size: 41 k
Installed size: 55 k
Is this ok [y/d/N]: y
Downloading packages:
telnet-server-0.17-64.el7.x86_64.rpm | 41 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:telnet-server-0.17-64.el7.x86_64 1/1
Verifying : 1:telnet-server-0.17-64.el7.x86_64 1/1

Installed:
telnet-server.x86_64 1:0.17-64.el7

Complete!

安裝客戶端
[root@dm02 ~]# yum install telnet.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package telnet.x86_64 1:0.17-64.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
telnet x86_64 1:0.17-64.el7 base 64 k

Transaction Summary
================================================================================
Install 1 Package

Total download size: 64 k
Installed size: 113 k
Is this ok [y/d/N]: y
Downloading packages:
telnet-0.17-64.el7.x86_64.rpm | 64 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:telnet-0.17-64.el7.x86_64 1/1
Verifying : 1:telnet-0.17-64.el7.x86_64 1/1

Installed:
telnet.x86_64 1:0.17-64.el7

Complete!
[root@dm02 ~]# yum install xinetd.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package xinetd.x86_64 2:2.3.15-13.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
xinetd x86_64 2:2.3.15-13.el7 base 128 k

Transaction Summary
================================================================================
Install 1 Package

Total download size: 128 k
Installed size: 261 k
Is this ok [y/d/N]: y
Downloading packages:
xinetd-2.3.15-13.el7.x86_64.rpm | 128 kB 00:03
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 2:xinetd-2.3.15-13.el7.x86_64 1/1
Verifying : 2:xinetd-2.3.15-13.el7.x86_64 1/1

Installed:
xinetd.x86_64 2:2.3.15-13.el7

Complete!

啓動telnet服務
[root@dm02 ~]# systemctl start telnet.socket
[root@dm02 ~]#

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章