精华内容
下载资源
问答
  • 今天运行yum命令安装...-bash: telnet: command not found 居然报错了,然后安装运行下面的命令 yum list telnet* 查看telnet相关的安装包 yum install telnet-server 安装telnet服务 yum install telnet.

    今天运行yum命令安装telnet报错

    [root@localhost ~]# telnet
    -bash: telnet: command not found

    居然报错了,然后安装运行下面的命令

    yum list telnet*   查看telnet相关的安装包

    yum install telnet-server 安装telnet服务
    yum install telnet.* 安装telnet客户端


    [root@localhost ~]# yum install telnet*
    已加载插件:fastestmirror, product-id, subscription-manager
    Updating certificate-based repositories.
    Unable to read consumer identity
    设置安装进程
    Loading mirror speeds from cached hostfile
    http://mirrors.163.com/centos/%24releasever/addons/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
    尝试其他镜像。
    错误:Cannot retrieve repository metadata (repomd.xml) for repository: addons. Please verify its path and try again


    发现%24releasever/路径找不到,后来改成对应的版本号,如我的改成了6,$releasever这个变量没有找到在哪里配置,所以我手动改成了6,呜呜郁闷。。。。。

    [root@localhost ~]# yum list telnet*
    已加载插件:fastestmirror, product-id, subscription-manager
    Updating certificate-based repositories.
    Unable to read consumer identity
    Loading mirror speeds from cached hostfile
    http://mirrors.163.com/centos/6/addons/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
    尝试其他镜像。

    错误:Cannot retrieve repository metadata (repomd.xml) for repository: addons. Please verify its path and try again


    奶奶的找了很多次终于找到问题了,从6开始已经没有addons文件了,我嚓我嚓,网上百度了很多东西都没有说明。。。。。。。。。。。。

    一个小问题


    对比了centOs5跟centOs6文件的对比才发现



    [root@localhost ~]# vi /etc/yum.repos.d/CentOS5-Base-163.repo
    注释掉addons行的信息如:
    片段

    #released updates
    [updates]
    name=CentOS-$releasever - Updates - 163.com
    baseurl=http://mirrors.163.com/centos/6/updates/$basearch/
    #mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=updates
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

    #packages used/produced in the build but not released
    #[addons]
    #name=CentOS-$releasever - Addons - 163.com
    #baseurl=http://mirrors.163.com/centos/6/addons/$basearch/
    #mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=addons
    #gpgcheck=1
    #gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5


    注释掉之后就可以用了

    [root@localhost ~]# yum list telnet*
    已加载插件:fastestmirror, product-id, subscription-manager
    Updating certificate-based repositories.
    Unable to read consumer identity
    Loading mirror speeds from cached hostfile
    base                                                                                                                                                                    | 3
    base/primary_db                                                                                                                                     | 4.7 MB     00:52     
    extras                                                                                                                                              | 3.4 kB     00:00     
    extras/primary_db                                                                                                                                   |  37 kB     00:00     
    updates                                                                                                                                             | 3.4 kB     00:00     
    updates/primary_db                                                                                                                                  | 748 kB     00:07     
    可安装的软件包
    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
    已加载插件:fastestmirror, product-id, subscription-manager
    Updating certificate-based repositories.
    Unable to read consumer identity
    设置安装进程
    Loading mirror speeds from cached hostfile
    解决依赖关系
    --> 执行事务检查
    ---> Package telnet-server.x86_64 1:0.17-48.el6 will be 安装
    --> 处理依赖关系 xinetd,它被软件包 1:telnet-server-0.17-48.el6.x86_64 需要
    --> 执行事务检查
    ---> Package xinetd.x86_64 2:2.3.14-40.el6 will be 安装
    --> 完成依赖关系计算

    依赖关系解决

    ===========================================================================================================================================================================
     软件包                                      架构                                 版本                                            仓库                                大小
    ===========================================================================================================================================================================
    正在安装:
     telnet-server                               x86_64                               1:0.17-48.el6                                   base                                37 k
    为依赖而安装:
     xinetd                                      x86_64                               2:2.3.14-40.el6                                 base                               122 k

    事务概要
    ===========================================================================================================================================================================
    Install       2 Package(s)

    总下载量:159 k
    Installed size: 313 k
    确定吗?[y/N]:y
    下载软件包:
    (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:01     
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    总计                                                                                                                                        23 kB/s | 159 kB     00:06     
    warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
    Retrieving key from http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
    Importing GPG key 0xE8562897:
     Userid: "CentOS-5 Key (CentOS 5 Official Signing Key) <centos-5-key@centos.org>"
     From  : http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
    确定吗?[y/N]:y


    telnet-server-0.17-48.el6.x86_64.rpm 的公钥没有安装


    突然发现妈蛋的163的问题有问题,我的是CentOS-6版本,可是他的包里面都是CentOS-5的,我草。。。。。。。。。


    http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5   改成

    http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6就OK 了。。。。。。。。。。。。


    展开全文
  • telnet:command not found ,安装telnet

    千次阅读 2018-11-30 18:14:24
    在执行telnet时会提示命令不存在,此时输入命令 rpm -qa telnet-server ,若无输出内容,则表示没有安装。 1.在线安装 分别执行如下两个命令: yum install telnet yum install telnet-server 2.rpm包安装 ...

    在执行telnet时会提示命令不存在,此时输入命令 rpm -qa telnet-server ,若无输出内容,则表示没有安装。

    1.在线安装

    分别执行如下两个命令:

    yum install telnet

    yum install telnet-server

    2.rpm包安装

    下载对应的rpm包:

    下载地址   http://vault.centos.org/6.3/os/x86_64/Packages/ 6.3表示系统版本号

    telnet-server-0.17-48.el6.x86_64.rpm

    telnet-0.17-48.el6.x86_64.rpm

    然后执行如下命令:

    rpm -ivh telnet-0.17-48.el6.x86_64.rpm 

    rpm -ivh telnet-server-0.17-48.el6.x86_64.rpm

    在执行 rpm -ivh telnet-server-0.17-48.el6.x86_64.rpm 命令时 ,可能会遇到如下警告:

    warning: telnet-server-0.17-48.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
    error: Failed dependencies:
    xinetd is needed by telnet-server-1:0.17-48.el6.x86_64

     

    解决方式就是   先安装xinetd包(下载地址如上)

    执行如下命令:

    rpm -ivh xinetd-2.3.14-39.el6_4.x86_64.rpm

    安装成功后再安装telnet-server

    然后启动 xinetd:

    service xinetd start

    至此安装完成。

    展开全文
  • -bash: telnet: command not foundcentos 运行telnet命令,出现下面的错误检查服务是否已经安装安装talnet服务 centos 运行telnet命令,出现下面的错误 -bash: telnet: command not found 检查服务是否已经安装 rpm...

    centos 运行telnet命令,出现下面的错误

    -bash: telnet: command not found
    

    检查服务是否已经安装

    rpm -qa telnet*
    

    安装talnet服务

    yum list telnet* 列出telnet相关的安装包
    yum install telnet-server 安装telnet服务
    yum install telnet.* 安装telnet客户端
    
    展开全文
  • 解决:-bash: telnet: command not found

    千次阅读 2018-08-07 15:19:49
    报错如题 -bash: telnet: command not found 只是因为没有安装这个命令,不识别。 安装命令: yum install telnet

    前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家。点击跳转到教程。

    报错如题

    -bash: telnet: command not found
    

    只是因为没有安装这个命令,不识别。

    安装命令:

     yum install telnet

     

    展开全文
  • telnet: command not found的解决方法

    千次阅读 2019-03-05 14:16:41
    运行telnet命名显示: ...-bash: telnet: command not found [root@localhost ~]# telnet 127.0.0.1 -bash: telnet: command not found 解决方法:  yum list telnet* 列出telnet相关的安装包 yu...
  • telnet命令问题解决-bash: telnet: command not found
  • telnet不能用!!!提示:-bash: telnet: command not foundtelnet不能用!!!...检查1、[root@localhost ~]# telnet bash: telnet: command not found 2、 查询了是否安装Telnet包,结果如...
  • 一、最近在用zookeeper搭建集群改造配置中心的单点故障问题:使用"四字命令"echo ruok|nc localhost 2181...-bash: nc: command not found 从提示信息中我们可以知道,是由于nc命令无法被找到。出现该情况有两种可能:
  • yum install -y telnet-server.x86_64 yum install -y telnet.x86_64 telnet 192.168.223.128 1521
  • Linux centos 运行telnet命令,出现下面的错误提示: [root@localhost ~]# ...-bash: telnet: command not found 解决方法: 安装telnet服务 centos、ubuntu安装telnet命令的方法. yum list telnet* 列出telnet...
  • //安装telnet服务 yum -y install telnet-server //安装telnet客户端 yum -y install telnet.*   转载于:https://www.cnblogs.com/geekdc/p/8949461.html
  • redhat下使用telnet: command not found

    千次阅读 2013-09-04 16:38:51
    最近在使用telnet命令时,telnet: command not found,使用rpm -qa | grep telnet 查看,原来是没有安装telnet ,使用yum install telnet-server安装,却报This system is not registered with RHN.错误,原因是因为红帽...
  • 在本地测试服务器ip某端口的连接情况,结果提示telnet指令不支持,如下: GUOdeMacBook-Pro:~ ***$ telnet 144.*.*.11...-bash: telnet: command not found 解决办法: brew install telnet 前提要安装好homebrew
  • -bash: telnet: command not found的解决方法 Linux centos 运行telnet命令,出现下面的错误提示: [root@localhost ~]# telnet 127.0.0.1 -bash: telnet: command not found 解决方法: 安装telnet服务 centos...
  • 解决 -bash:telnet:command not found

    千次阅读 2018-08-19 13:52:41
    一.背景    telnet命令通常用来远程登录,例如:我今天安装了Memcache服务,想 telnet远程登录查看一下,是否正常启动。... 当我在linux虚拟机下敲下telnet时,发现提示 -bash:telnet:command not fo...
  • 访问下文链接即可: 1.【Ubuntu、centos提示-bash: telnet: command not found的解决方法】 2.【windows10提示telnet不是内部或者外部命令也不是可运行的程序】 3.【win10已经打开telnet客户端依然无法使用】
  • 一、安装telnet 1、检测telnet-server的rpm包是否安装 [root@localhost ~]# rpm -qa telnet-server 若无输入内容,则表示没有安装。出于安全考虑telnet-server.rpm是默认没有安装的,而telnet的客户端是标配。即...
  • telnet不能用!提示:-bash: telnet: command not found 一.... telnetbash: telnet: command not found2、 查询了是否安装Telnet包,结果如下:[root@localhost~]# rpm -qa telnet*telnet-server-0...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 6,700
精华内容 2,680
关键字:

commandfoundnottelnet