0

Linux Centos 6.7 に Nginx をインストールしようとしています。

root としてログインして実行します

yum update

yum install nginx -y

私は得続けます

nginx-1.0.15-12.el6.x86_64: 失敗: epel からの nginx-1.0.15-12.el6.x86_64.rpm: [Errno 256] 試行するミラーはもうありません。

それに関するヒント/提案は大歓迎です


#2 を試す

yum clean metadataそれから試してみてくださいyum install nginx -y、私は得ました

[root@CentOS6 ~]# yum install nginx -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                                                                 |  12 kB     00:00     
 * base: mirror.solarvps.com
 * epel: ftp.cse.buffalo.edu
 * extras: mirror.atlanticmetro.net
 * remi-php56: mirrors.mediatemple.net
 * remi-safe: mirrors.mediatemple.net
 * updates: mirror.net.cen.ct.gov
base                                                                                                                                                          | 3.7 kB     00:00     
base/primary_db                                                                                                                                               | 4.6 MB     00:00     
epel                                                                                                                                                          | 4.3 kB     00:00     
epel/primary_db                                                                                                                                               | 3.6 MB     00:00     
Error: xz compression not available

#3 を試す

yum install pyliblzmaまたyum install python-backports-lzma

Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.solarvps.com
 * epel: ftp.cse.buffalo.edu
 * extras: mirror.atlanticmetro.net
 * remi-php56: mirrors.mediatemple.net
 * remi-safe: mirrors.mediatemple.net
 * updates: mirror.trouble-free.net
Error: xz compression not available
4

1 に答える 1