2016년 4월 26일 화요일

CentOS 7.x telnet install

CentOS 7.x telnet yum install

[root@conoha ~]# telnet localhost 25
-bash: telnet: command not found
[root@conoha ~]# yum -y install telnet
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: www.ftp.ne.jp
 * epel: ftp.kddilabs.jp
 * epel-debuginfo: ftp.kddilabs.jp
 * epel-source: ftp.kddilabs.jp
 * extras: www.ftp.ne.jp
 * ius: ftp.neowiz.com
 * updates: www.ftp.ne.jp
Resolving Dependencies
--> Running transaction check
---> Package telnet.x86_64 1:0.17-59.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

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

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

Total download size: 63 k
Installed size: 113 k
Downloading packages:
telnet-0.17-59.el7.x86_64.rpm                              |  63 kB   00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:telnet-0.17-59.el7.x86_64                                  1/1
  Verifying  : 1:telnet-0.17-59.el7.x86_64                                  1/1

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

Complete!
[root@conoha ~]# telnet localhost
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying ::1...
telnet: connect to address ::1: Network is unreachable

댓글 없음:

댓글 쓰기