Run Joomla with Nginx on a Centos VPS

Today we will show you how to install Joomla, one of the most popular open source Content Management Systems on your LNMP stack (Nginx, MySQL and PHP-FPM) Centos VPS.
Follow this article carefully and in no more than 10 minutes you will have a common Joomla CMS installed on your LNMP stack Centos VPS, and in the next article we will optimize the very same installation performance-wise, as an addition to several security tips that will provide safer hosting for you and your business.

Let’s get to work.

Before we start, let’s make sure the Apache webserver is stopped and autostart on boot is disabled:

# /etc/init.d/httpd stop
# chkconfig httpd off

In order to install Nginx, we need to add the epel repository. Find the correct architecture of your VPS by executing:

Point your browser to http://mydomain.tld/installation or http://<your IP address>/installation to finish the installation. Select your language and fill the text fields with the required information in the first step and click ‘Next’.

Click ‘Next’. Choose pre-installed sample data of your liking and click ‘Install’. After you get the ‘Congratulations! Joomla! is now installed.’ notification, click the ‘Remove installation folder’ button and click ‘Site’ to visit your website or ‘Administrator’ to go to the administrator login form.

That’s it! You have just installed the latest Joomla version on your Centos VPS.

Of course, if you are one of our Linux VPS Hosting customers, you don’t have to do any of this, simply ask our admins, sit back and relax. Our admins will set this up for you immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.

I don’t understand on thing:
in /etc/nginx/sites-available/mydomain.tld.conf file you added line – root /var/www/html/mydomain.tld/; , but info.php created in /usr/share/nginx/html/mydomain.tld/ folder. Why is that? Maybe root folder in /etc/nginx/sites-available/mydomain.tld.conf config should be /usr/share/nginx/html/mydomain.tld/ ?