Just Host Web Hosting Help

VPS or Dedicated Hosting - Installing NginX

NginX is a web server and/or a reverse proxy added on top of apache, which is capable of handling connections better than apache. This can help handle high traffic to sites. Often this is installed with Varnish, as well.

Please note that Just Host does not provide technical support for the installation or usage of NginX.

You will need to make sure that you have Sudo Access enabled. If you have not enabled sudo access please see Enabling Sudo Access to learn how to do so. You will also need to know your Apache version. That can be found through SSH by typing httpd -v and pressing enter.



Installing NginX

To install NginX follow these steps:

  1. Login into SSH terminal.
  2. Change directories to the local source folder.
    cd /usr/local/src
  3. Download NginX to this folder.
    wget http://nginxcp.com/latest/nginxadmin.tar
  4. Extract the files from the tar file with the flag extract (x)and force(f).
    tar -xf nginxadmin.tar
  5. Change directories to the publicngix directory.
    cd publicnginx
  6. Run the install.
    ./nginxinstaller install

Uninstalling NginX

If need to uninstall Nginx follow these steps:

  1. Login into SSH terminal.
  2. Change directories to the publicnginx directory.
    cd /usr/local/src/publicnginx
  3. Run the uninstall command.
    ./nginxinstaller uninstall
Knowledgebase Article 70,271 views bookmark tags: dedicated nginx proxy reverse vps


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How to install Java in a dedicated server.
Knowledgebase Article 74,549 views tags: dedicated install java server yum

This is a tutorial on how to install Git onto the server.
Knowledgebase Article 98,828 views tags: dedicated git install server yum

To help with installing an SSL certificate for an account on a dedicated server through the WHM
Knowledgebase Article 116,026 views tags: assign dedicated server ssl whm

Related Help Content

This tutorial will help you be able to install the PHP PECL package APC. (Alternative PHP Cache)
Knowledgebase Article 59,476 views tags: caching dedicated pecl vps

How to manage the SSL used for cPanel login through the WHM
Knowledgebase Article 95,019 views tags: cpanel dedicated install login manage server ssl

This article will explain how to use RoR through passenger on a VPS or Dedicated hosting account
Knowledgebase Article 83,374 views tags: dedicated passenger redmine ruby vps

How to prevent your server from freezing up or fix site performance problems on a VPS or Dedicated
Knowledgebase Article 25,531 views tags: dedicated optimize vps whm

How to install ClamAV to help with virus protection.
Knowledgebase Article 44,400 views tags: antivirus clamav cpanel dedicated plugin server whm

How to install a Minecraft Server.
Knowledgebase Article 59,957 views tags: Minecraft dedicated vps

We provide a program which makes it very easy to install third party scripts to your hosting account. If you want your website to have a WordPress blog, you can use MOJO Marketplace to install WordPres
Getting Started Article 737,978 views tags: blog install scripts simple wordpress

How to use the yum package mnager to install and update applications and programs.
Knowledgebase Article 62,458 views tags: dedicated vps yum