"yum install ftp"を実行するためにLinux(Centos 6.7)でCentOS-Base.repoのbaseurl問題を解決する方法

FTPをインストールしていますが、yumをインストールできないという問題が見つかりました。いくつかの場所に相談し、yum clean allVault.centos.orgを-Baseのbaseurlとして使用してCentOs-Base.repoを設定しました。 yumを使用してftpをインストールすることはできません。次のエラーが発生します。

[root@ts-htn-01 yum.repos.d]# yum update
Loaded plugins: fastestmirror, security
Setting up Update Process
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Repository '-dc' is missing name in configuration, using id
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 7 - "couldn't connect to host"
https://vault.centos.org/6.7/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
[root@ts-htn-01 yum.repos.d]#

私のhttpサービスが実行されています。

[root@ts-htn-01 yum.repos.d]# service httpd status
httpd (pid  6650) is running...
[root@ts-htn-01 yum.repos.d]#

Vault.centos.orgとmirrorlist.centos.orgへのpingは正常に動作します。これをホスト接続に追加する必要がありますか?その場合はどうすればよいか教えてください。助けてください。よろしくお願いします。

ベストアンサー1

おすすめ記事