Verified and Tested 12/08/15

Introduction

In this How-To, we will walk you through the install and configuration of Joomla on Fedora 23 with Apache. Joomla, one of the most popular content management systems nowadays, is used by many web developers for new websites. It is a powerful but yet simple system that requires little technical experience to work with.

Prerequisites

– You need a Fedora 23 server that is configured with a static IP address. If you do not have a server already, Atlantic.Net offers a wide range of reliable cloud hosting options which can be spun up in under 30 seconds.

– You will also need to have a LAMP (Linux, Apache, MySQL, PHP) stack platform that can be installed by clicking here if you don’t already have it.

Installing Joomla on Fedora 23 with Apache

To get started, log in to your Fedora 23 server via SSH or Console. If you are using the Atlantic.Net cloud service, note that they are setup with minimal installations to avoid having unnecessary packages from being installed and never used. If some software packages that you’re used to using aren’t installed by default, feel free to install them as needed.

Let’s download tar to decompress the installation file and some dependencies that we will need to simplify this tutorial.

dnf install tar wget

Make sure that your server is fully up-to-date so we can complete the preparation.

dnf update

Creating a Database and User for Joomla on Fedora 23

For Joomla to function correctly, we must create a database. This tutorial uses MariaDB, so let’s access MariaDB with the following command:

mysql -u root -p

Now, we must first begin creating the database that Joomla will use. This can be accomplished with the following command replacing yourdbname with your database name:

CREATE DATABASE yourdbname;

With the database created we must now create a user so it can access the database. This can be accomplished with the following command replacing yourjoomlauser with your desired username and replace yourjoomlapassword with your desired password.

CREATE USER [email protected] IDENTIFIED BY 'yourjoomlapassword';

Next, we grant database access to your recently created user with the following command:

GRANT ALL PRIVILEGES ON yourdbname.* TO [email protected];

Finally, we must refresh MariaDB so the system can flush the newly added privileges and for the changes to take effect, then exit your session. This can be accomplished with the following commands:

FLUSH PRIVILEGES;
exit

Installing Joomla on Fedora 23

Now, we must install the following PHP dependencies so that Joomla can function properly when we install it. This can be accomplished with the following command:

dnf install php-mbstring php-xml php-gd php-pdo

Download the most recent stable Joomla release. For this tutorial, that’s/var/www/html/ version 3.4.5. You can check here to find the most recent release.

wget https://github.com/joomla/joomla-cms/releases/download/3.4.5/Joomla_3.4.5-Stable-Full_Package.tar.gz

Move the tar file there to your web directory. The default on Fedora 23 is /var/www/html/. This can be accomplished with the following command:

mv Joomla_3.4.5-Stable-Full_Package.tar.gz /var/www/html/

Now, change to that directory and unzip the to get ready for the installation:

cd /var/www/html/

Finally, we can continue with the Joomla  installation by decompressing the installation file with the following command:

tar -zxvf Joomla_3.4.5-Stable-Full_Package.tar.gz

Remove the .tar file with the following command:

rm /var/www/html/Joomla_3.4.5-Stable-Full_Package.tar.gz

Apply the appropriate permissions for the Joomla directory that was just created.

chown -R apache:apache /var/www/html/
chmod -R 755 /var/www/html/

Restart, Apache so that all the changes are applied in Fedora 23.

systemctl restart httpd.service

Joomla’s Web Configuration on Fedora 23

Your server is now configured correctly to run the web-based installation by going to the following:

http://server_domain_or_IP
or
http://your.server.IP.address/joomla

You will see the initial Joomla installation page, similar to the one below. Insert your site details and then click “Next.”

Insert your site details and then click "Next"

Insert your site details and then click “Next”

Now we need to insert your MariaDB database information within the forms. It should look similar to the image below. Once done click “Next.”

Insert your database information that was set up in the beginning of this

Insert your database information that was set up in the beginning of this guide. Once done click “Next.”

Take a look at the overview and make sure your information is correct. Once satisfied click “Install”

Look at the overview and make sure your information is correct. Once satisfied click "Install"

Look at the overview and make sure your information is correct. Once satisfied click “Install”

What’s Next?

Congratulations! You have just installed and configured Joomla with Apache on your Fedora 23 Cloud Server. Thank you for following along in this How-To and check back with us for any new updates.