2012年8月20日月曜日

centos 5 nginxインストール方法 


/etc/yum.repos.d の中に
vi nginx.repo リポジトリを追加

[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/5/$basearch/
gpgcheck=0
enabled=1

 yum --enablerepo=nginx install nginx
でインストール完成

0 件のコメント:

コメントを投稿