You can deploy Drupal on any web server that supports the PHP programming language. In this tutorial, we will provide you with steps to install Drupal with Apache on Fedora Linux systems.

Prerequisites

This tutorial assumes that:

You have a running Fedora system with sudo privileged account access Already completed the LAMP Stack on Fedora system.

Step 1 – Installing Drupal on Fedora

  1. You can download the latest Drupal version from the Drupal website. Alternatively, download the latest Drupal code using the following command:
  2. Go to the ‘/var/www/’ folder and extract the downloaded durpal.tar.gz file. You can also change the directory to another location. In that case, use the correct folder in the next commands.
  3. Rename the extracted drupal directory to remove the version number. If required, you can keep the folder name as it is.
  4. Next create a copy of configuration file from template. Change to “drupal-app/sites/default” directory and copy the default.settings.php file to settings.php with cp command:
  5. Now, Create a directory named “files” in the current directory drupal-app/sites/default:
  6. Now set the proper file permissions to make it work. Initially set 777 permission to settings.php, which is required to complete installation. Next, configure the Apache server to deploy the Drupal site.

Step 2 – Setup Apache

Create a Virtual Host configuration file for the Drupal installation. In order to secure your site with an SSL certificate, we recommend using a real domain pointed to your server’s IP address. Let’s create a Apache configuration file for your domain. Make sure to change domain name with yours: Add the following content.

Change the ServerName value with your domain name. Save and close the configuration file. Then restart the Apache service to reload the configuration file.

Step 3 – Running Web Installer

Open your favorite web browser and access the Drupal website as configured in Apache. As per this tutorial, we have configured the website as below URL: Follow the on-screen instructions to complete the Drupal installation on the Fedora Linux system.

  1. Choose the default language for your Drupal application.

  2. Then select the type of installation for Drupal. Here you have 3 options to choose from. We recommended going with the default “Standard” installation.

  3. Now enter the database details to configure with Drupal. We are using MySQL/MariaDB as the database server. If you are not seeing the MySQL option, make sure you have the PHP MySQL extension installed. You can also go with the SQLite database for small sites. But if you are planning a large site, we prefer to with MySQL.

  4. Please wait for the installation to complete. This will install all default extensions, themes to this Drupal application.

  5. Once the above installation finished, it will prompt you to enter application details for your Drupal. Fill in all the details properly. Also, create an administrator account for Drupal. I recommended not to use username “admin”, keep it something else as I did “dradmin”. Keep your administrator password strong.

  6. Once you completed all the steps successfully, you will be redirected to the Drupal admin dashboard. Write down your admin credentials at a secure place, which will be required for subsequent logins.

Now customize your entire Drupal site and add the content. Here a new beautiful website journey has been started.

Step 4 – Post Installation

The Drupal installation on your Fedora system has been finished successfully. Now secure the drupal application files with proper file permissions. Also, remove the downloaded archive file from your system.

Conclusion

This tutorial helped you with installing Drupal on the Fedora Linux system.

How To Install and Configure Drupal on Fedora 35 34   TecAdmin - 68How To Install and Configure Drupal on Fedora 35 34   TecAdmin - 65How To Install and Configure Drupal on Fedora 35 34   TecAdmin - 94How To Install and Configure Drupal on Fedora 35 34   TecAdmin - 98How To Install and Configure Drupal on Fedora 35 34   TecAdmin - 47How To Install and Configure Drupal on Fedora 35 34   TecAdmin - 15