LoginSignup
1
1

More than 5 years have passed since last update.

Install Nginx 1.8.0 in CentOS 6.6

Last updated at Posted at 2015-05-24

Install Nginx 1.8.0 in CentOS 6.6

Epel's nginx is 1.0.15, which is kind old.

add repository

vi /etc/yum.repos.d/nginx.repo
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1
yum install nginx
$ nginx -v
nginx version: nginx/1.8.0

Start nginx

service nginx start

Start nginx on boot

chkconfig nginx on

ref:
http://wiki.nginx.org/Install

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1