Atlantic.Net Blog

How to Install Drupal on Fedora 23 With Apache

Atlantic.Net NOC
by Atlantic.Net (68posts) under HIPAA Compliant Cloud Hosting
Verified and Tested 10/2/15


In this How-To, we will walk you through the install and configuration of Drupal on Fedora 23 with Apache. Drupal is a free content management system that will facilitate the way your content is organized and managed. It has a user-friendly interface that makes customizing your content easy and simple with little effort.


– You need a Fedora 23 server that is configured with a static IP address.

– 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 Drupal 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.

You may need to install tar and wget for this tutorial; you can do so with the following command:

dnf install tar wget

Let’s make sure that your server is fully up-to-date so we can complete the preparation.

dnf update

Creating a Database and User for Drupal on Fedora 23

For Drupal to function, we must create a Database in MySQL. Let us begin access MySQL with the following command:

mysql -u root -p

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


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 yourdrupaluser with your desired username and replace yourdrupalpassword with your desired password.

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

Furthermore, we must grant Database access to your recently created user with the following command:

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

Additionally, we must refresh MySQL 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:


Installing Drupal on Fedora 23

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

dnf install php-gd php-xml php-pear php-fpm php-mbstring

We need to edit the php.ini file and set mbstring.http_input and mbstring.http_output to pass.

nano /etc/php.ini

Look for mbstring.http_input and mbstring.http_output, remove the semicolon in the front and add “= pass” It should look similar to the below example.

; Use of this INI entry is deprecated, use global input_encoding instead.
; http input encoding.
; mbstring.encoding_traslation = On is needed to use this setting.
; If empty, default_charset or input_encoding or mbstring.input is used.
; The precedence is: default_charset < intput_encoding < mbsting.http_input
mbstring.http_input = pass

; Use of this INI entry is deprecated, use global output_encoding instead.
; http output encoding.
; mb_output_handler must be registered as output buffer to function.
; If empty, default_charset or output_encoding or mbstring.http_output is used.
; The precedence is: default_charset < output_encoding < mbstring.http_output
; To use an output encoding conversion, mbstring's output handler must be set
; otherwise output encoding conversion cannot be performed.
mbstring.http_output = pass

Since we installed new packages we need to restart apache:

sudo systemctl restart httpd.service

Since we installed the unzip tool in the beginning of this how-to, we can safely run the following command safely:


After we have installed the requires dependencies, we can continue with the installation of Drupal. Run the following command to unzip the Drupal package that we downloaded.

tar -zxvf drupal-7.41.tar.gz

Since, Drupal is currently in the root directory, let us move the folder and rename the location to drupal with the following command:

cp -r ~/drupal-7.41/* /var/www/html

Furthermore,  with the following command we can apply the appropriate permissions for the Drupal directory that was just created.

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

Now to finalize the configurations on the servers side, we must change the create a settings file in the sites default directory. So let’s change to that directory with the following command:

cd /var/www/html/sites/default/

Copy the default.settings.php file and rename it to settings.php with the following command:

cp -p default.settings.php settings.php

Drupal’s Web Configuration on Fedora 23

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


You will see the Drupal installation procedure’s initial page.  Choose standard and click “Save and continue.”

This is the Drupal's web installation wizard on Fedora 23

This is the Drupal’s web installation wizard on Fedora 23

Next select English, or follow Drupal’s instructions on adding a new language.  Click “Save and continue”.

Choose the language of your choice

Choose the language of your choice

It should skip past “Verify requirements” and you should be on the screen to set up your database. Enter in your information that you set up earlier and click “Save and continue.”

Enter in your Database information that you set up earlier

Enter in your Database information that you set up earlier

You can now enter your information for the site details.

Enter in your site details

Enter in your site details



What’s Next?

Congratulations! You have just installed and configured Drupal 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, and learn more about our reliable HIPAA-compliant cloud hosting solutions.

Start Your HIPAA Project with a Free Fully Audited HIPAA Platform Trial!

HIPAA Compliant Compute & Storage, Encrypted VPN, Security Firewall, BAA, Offsite Backups, Disaster Recovery, & More!

Start My Free Trial

Looking for HIPAA Compliant Hosting?

We Can Help with a Free Assessment.

  • IT Architecture Design, Security, & Guidance.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now!
Stevie Gold Award Med Tech Award

SOC Audit HIPAA Audit HITECH Audit

Case Studies

White Papers


HIPAA Partners

Recent Posts

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G2.1GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4


London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom