EasyTutorial helped you?

Thank you for visiting EasyTutorial :-)
We use ads to keep our content free for you.
Please allow advertisements in your AdBlock.

How to Install Nginx on WHM/cPanel (Engintron)

WordPress 2 minutes to read
Last updated: December 17, 2020
install nginx reverse proxy centos ssh whm cpanel server vps dedicated bash command

Do you want to improve the performance of all your sites on WHM/cPanel?

Have you tried everything to minimize the load time but Apache is still slow?

Are you looking for the best way to install Nginx as a reverse proxy on the latest WHM/cPanel?

Nginx is by far the fastest server engine there is on the internet, it can serve thousands of requests in a millisecond, it's used by many big websites to improve performance and lower consumption of CPU and RAM.

Engintron for cPanel/WHM is the simplest approach to add Nginx to your cPanel/WHM server as a reverse proxy.

Engintron will enhance the efficiency & internet serving capability of your server, whereas lowering CPU/RAM load on the similar time, by putting in & configuring the favored Nginx webserver to behave as a reverse caching proxy in entrance of Apache.

It additionally provides a micro-cache layer to enhance the efficiency of dynamic content material generated by the favored CMS equivalent to WordPress, Joomla and Drupal; discussion scripts like vBulletin, phpBB and eCommerce scripts like Magento, OpenCart, PrestaShop, and so on.

On this tutorial, you will learn how to install Engintron on your VPS (mine is a Centos 7.7) or dedicated server to better serve your files through Nginx.

Check out my other tutorial on how to speed up your WordPress website if you want to know how I managed to reach a consistent 1s load time.

Let's go!

Boost Your Server's Speed with Nginx Reverse Proxy

First, connect to your server through SSH using PuTTY.

connect ssh putty cpanel whm nginx install engintron

Then run these commands:

cd /
rm -f engintron.sh
wget --no-check-certificate https://raw.githubusercontent.com/engintron/engintron/master/engintron.sh
bash engintron.sh install

Or copy this line of code and run it:

cd /; rm -f engintron.sh; wget --no-check-certificate https://raw.githubusercontent.com/engintron/engintron/master/engintron.sh; bash engintron.sh install
whm nginx 1

After a couple minutes, you should see a message like this:

* Installation Complete *
whm nginx 2

Now you don't need to do anything more, you are done!

To check if your server is enabled to Nginx, run a speed test on GTmetrix, go to Waterfall and watch the headers:

server nginx header http

You will notice that your websites are loading faster, thanks to Nginx!

If you want to uninstall just run this command:

bash /engintron.sh remove

If you have any questions or thoughts to share feel free to leave a comment below ;)

Sharing is caring:

Related articles:

Be the first to leave a comment...

Publish a comment

xD oO ^_^ =] =) ;-( ;) :| :woot: :whistle: :sleep: :sick: :police: :p :o :ninja: :mm: :love: :lol: :kiss: :hmm: :evil: :bandit: :angel: :alien: :D :) :( 8)