centos7安装telnet客户端

时间:2024-04-13 15:03:26

默认centos7没有安装telent客户端,通过下面步骤可以完成安装

1.yum进行安装
[[email protected] sysconfig]# yum install telnet
依赖
Dependencies Resolved

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

Transaction Summary
================================================================================
Install  1 Package
安装成功
Is this ok [y/d/N]: y
Downloading packages:
telnet-0.17-59.el7.x86_64.rpm                              |  63 kB   00:02    
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
2.rpm -ql查看telent安装的位置
[[email protected] sysconfig]# rpm -ql telnet-0.17-59.el7.x86_64
/usr/bin/telnet
/usr/share/doc/telnet-0.17
/usr/share/doc/telnet-0.17/README
/usr/share/man/man1/telnet.1.gz

3.使用telnet


centos7安装telnet客户端