CentOS7でnginx安定版をyumで管理する
備忘録としてメモ。
リポジトリを追加する。
# vi /etc/yum.repos.d/nginx.repo
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/7/$basearch/
gpgcheck=0
enabled=1
# yum check-update && yum -y --enablerepo=nginx install nginx