yum 安装 nginx 1.0.4

增加源:

参考文章:http://centos.tel.dn.ua/repository/centos/readme.txt


For use this repo create file centos.alt.ru.repo in /etc/yum.repo.d
x64位增加文件centos.alt.ru.repo到目录/etc/yum.repo.d(32位:/etc/yum.repos.d/)下内容如下:
[CentALT]
name=CentALT Packages for Enterprise Linux 5 - $basearch
baseurl=http://centos.alt.ru/repository/centos/5/$basearch/
enabled=1
gpgcheck=0

and enable EPEL repository
使EPEL库
for i386
rpm -ihv http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

for x86_64
rpm -ihv http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm


执行:yum install nginx

如果 你要用 nginx 最新稳定版,可执行:yum install nginx-stable

去打赏

您的支持将鼓励我们继续创作!

[微信] 扫描二维码打赏

[支付宝] 扫描二维码打赏

正在跳转到PayPal...

未经允许不得转载:飞翔线 » yum 安装 nginx 1.0.4