This tutorial includes step-by-step instructions for installing Joomla on an NGINX server.
Joomla is a popular and award-winning content management system (CMS) which has won over millions of users thanks to its extensibility and ease-of-use. NGINX is a web server which offers high performance and stability coupled with a streamlined design and simple architecture.
MySQL 5.5.3+ or MariaDB 10.1+ (not compatible with MySQL 6+)
Free Cloud Server Trial from IONOS
Try out a Cloud Server for free now - test your IONOS Cloud Server for 30 days!
REST API
Unlimited traffic
VMware virtualization
Verify Server Requirements
Joomla has a number of server requirements for installing the latest version (3.x). Most up-to-date servers running Linux will meet or exceed all of Joomla's requirements, but it is wise to check these before you install Joomla.
Check the MySQL/MariaDB Version
To check your version of MySQL/MariaDB, log into the client with the command:
sudo mysql -u root -p
The version number will be displayed in the welcome message.
In the above example, the server is running MySQL version 5.5.47.
Check the PHP Version
You can check your PHP version with the command:
php -v
In this example, the server is running PHP version 7.0.8:
user@localhost:# php -v
PHP 7.0.8-0ubuntu0.16.04.3 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.8-0ubuntu0.16.04.3, Copyright (c) 1999-2016, by Zend Technologies
Connect NGINX to PHP-FPM with FastCGI
In order to run Joomla, you will need to use FastCGI to connect NGINX to PHP-FPM. FastCGI is included with a standard NGINX installation. You can verify this by examining the /etc/nginx/fastcgi_params file:
If this file is in order, the next step is to add the FastCGI configuration to the NGINX configuration file for the domain on which you are installing Joomla.
In most cases, the domain's configuration file will be located in /etc/nginx/sites-available/example.com.conf on Ubuntu (with example.com replaced with your domain name). Edit this file:
You can use tab completion to make this process easier. Type sudo unzip joomla then hit Tab. The shell will automatically fill out the rest of the file name on the command line.
For example, to unzip the file downloaded above, the command is:
After the contents of the Drupal file have been unpacked, set the ownership of the files to the Apache user:
sudo chown -R www-data:www-data *
Create the Database
Before installing Joomla, you will need to create a database. Log in to MySQL/MariaDB with the command:
sudo mysql –u root –p
After you enter the MySQL/MariaDB root user password, you will be logged into the MySQL/MariaDB client.
Create a database with the command:
create database [database name];
Replace [database name] with the name you want to use for your new database. For example, if you wanted to name your database my_joomla_site the command would be:
create database my_joomla_site;
Create a user for this database and grant them privileges with the command:
grant all on [database name].* to [database username]@localhost identified by '[database user password]';
Replace:
[database name] with the name of your database.
[database username] with the username you want to create for your database.
[database user password] with a password for this user. Note: Be sure to give the user a strong password.
For example, to create a user named my_joomla_user with the password Fr4i*Re!2 and give the user privileges on the my_joomla_site database, the command would be:
grant all on my_joomla_site.* to my_joomla_user@localhost identified by 'Fr4i*Re!2';
Once you have finished, exit the database with the command:
quit;
Install Joomla
To complete the installation, switch to a web browser and go to your website. You will see the Joomla installation page.
Fill out the following fields:
Site Name
Administrator Email
Administrator Username
Administrator Password (twice)
Then click Next to go to the Database Configuration page.
On this page, fill out the following fields:
Database Type: MySQLi
Host Name: Localhost
Username: The user you created for the database in the previous step.
Password: The password for the database user.
Database Name: The name of the database you created in the previous step.
Table Prefix: Use the default, or specify one if you prefer.
Old Database Process: Backup
Then click Next to go to the FTP Configuration page.
On this page, set the following:
Enable FTP Layer: Yes
FTP Username: Leave blank
FTP Password: Leave blank
FTP Host: 127.0.0.1
FTP Port: 21
Save FTP Password: No
Then click Next to go to the final installation page. Here you can review all your choices and make changes if necessary.
When you are sure that all of the information is correct, click Install to complete the installation.
After the installation has completed, click the yellow Remove installation folder button to remove the installation folder so that you can proceed.
Go to your main website page and verify that Joomla has installed correctly.
From here, you can log into Joomla using the Administrator username and password which you set in the installation process.
Over the past few years, Joomla has established itself as one of the most popular content management systems. This is thanks to its extensive basic functions and large number of extensions developed by the Joomla community. Its functions and design modifications give Joomla projects the crucial final flourishes and even enable you to run an online shop on this open source CMS.
Apache vs. NGINX – while one is said to be bulky and unwieldy, the other is considered slim and high-performance. But can we be this general? In fact, both web servers are based on fundamentally different concepts when it comes to connection management, interpretation of client requests, or configuration options. The range of functions also display clear differences in software alignment. While...
Creating a Joomla! website: Step by step to your own website
Website creation
If you create your website with Joomla!, you benefit from a well-structured content management system, which already offers many features in the standard installation. However, you first have to master tasks such as hosting or installing the software, and to learn how to use the system. The following Joomla! tutorial supports you in this project.
All CMS come with their own strengths and weaknesses. Should you go for WordPress or Joomla? The differences between the two CMS lie in user friendliness, security, and the available templates, plug-ins, and other extensions. Keep reading to find out which system is best suited to your needs.
Joomla extensions: An overview of the best extensions for the CMS
CMS
Joomla is a customer management system which offers the option to individually customize websites with Joomla extensions. The extensions are often free and can improve the functionality of Joomla. We have researched the best extensions for you and explain what you should bear in mind when choosing Joomla extensions. Read on to find out.
A strong security plan is essential for the long-term success of any Joomla web project. To ensure that you never entirely lose your project and user data in case of a technical error, creating regular Joomla backups is a solid plan. You can easily restore the old state of your website if anything goes wrong. Let’s look at how to back up Joomla and the various possibilities.