Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Wednesday, 4 June 2014

The uninstallation and installation procedures for Nginx and Apache webserver.


Step 1: Login to the server as root, Please refer the following commands

Installation of Nginx

  • cd /usr/local/src
  • wget http://nginxcp.com/latest/nginxadmin.tar(download stable release)
  • tar xf nginxadmin.tar
  • cd publicnginx
  • ./nginxinstaller install

Note: You may need to run the pythonfix script if you are installing it in first time.

As It's a major release so if you have previously installed the any version of the nginx, please uninstall and then perform the installation.

Uninstallation of Nginx

  • cd /usr/local/src
  • wget http://nginxcp.com/latest/nginxadmin.tar (download stable release)
  • tar xf nginxadmin.tar
  • cd publicnginx
  • ./nginxinstaller uninstall

Installation Apache server.


Please refer the following commands.

Step 1      : Download the latest stable release.

Step 2      : Extract the Apache Files.

Example  : gunzip -d httpd-2_0_NN. tar. gz
                  tar xvf httpd-2_0_NN.tar

Step 3      : Configuring Your Server for Apache.
                   ./configure

Step 4     : Build Apache.
                    make
                    make install

Step 5     : Customize Apache. (Configuration file edit ie, httpd.conf).

Step 6     : Restart httpd service.
                  service httpd restart

Inorder to unistall Apache.

We can use "yum" command by executing the command.

  • yum erase httpd --nodeps

Note: There is no need to remove httpd from the server, you may stop the httpd service permanently by executing the commands below.

  • service httpd stop
  • chkcfg httpd off

Please note that the packages for the server may differ according server configuration and it is strongly recommended to make sure all before proceeding.

No comments:

Post a Comment