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 http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm

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 http://nginx.org/download/nginx-0.7.65.tar.gz
  • 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

Basic commands

How to use Linux:Linux is a Unix based operating system. Linux has a reputation as a very...

How to check the load average

How to check the load average : w w displays information about the users currently on the...

How to change the root password

How to change the root password Change root password: There are two kind of things we need to...

How to install Lighttpd

nstalling Lighttpd : Lighttpd is available via the RPMForge repositories RPMForege i386 install...

How to install VNC

How to install VNC : VNC is used to display an X windows session running on another computer....