How to install nginx


How to install nginx

Installing nginx on centOS

by admin on Aug.16, 2010, under How to install nginx, Linux

Install nginx using yum:

  • The packages required to install nginx and its dependencies are not available in the standard CentOS repositories.
  • if you want to install in this manner, use the process that follows.
  1. Begin by enabling the EPEL repository with the following command

rpm -Uvh

2. yum update

3. yum install nginx

4. /etc/init.d/nginx start – to start the nginx

Install nginx by downloading  &  configuring :

  • cd /usr/local/src –  move to the src directory
  • wget
  • tar -zxvf nginx-0.7.65.tar.gz
  • cd nginx-0.7.65 – move to the directory
  • ./configure
  • make && make install

Thats it !…………….

Was this answer helpful?

 Print this Article

Also Read

Debian asking to insert cdrom to update?

open a terminalsunano /etc/apt/sources.listput a # in front of the line talking bout cd's (or...

How to change mysql root password

MySQL Change root Password: Setting up mysql password is one of the essential tasks. By default...

Add multiple IPs to a server

For example if you want to add a few IPs from the class: [root@box ~]# cd...

How to unzip

Linux has both zip and unzip program. By default, these utilities not installed, To install...

Easy ruTorrent installer + Web server, FTP, Webmin (Ubuntu/Debian/Fedora/More)

All credit goes to Author brock from  original post here for reference also...