Setting up nginx on redhat (centos)

  1. sudo yum install pcre*
  2. Download nginx tarball
  3. tar zxvf nginx-0.5.26.tar.gz
  4. cd nginx-0.5.26
  5. ./configure —sbin-path=/sbin/nginx —conf-path=/usr/local/nginx/nginx.conf —pid-path=/usr/local/nginx/nginx.pid —with-http_ssl_module —with-md5=auto/lib/md5 —with-sha1=auto/lib/sha1
  6. make
  7. sudo make install

Done.

Now, go into /usr/local/nginx and set it up.

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *