• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Drupal CMS on Oracle Linux 8.6

  • 00:28 cat /etc/os-release
  • 00:58 mysql -u root -p
  • 03:11 wget https://www.drupal.org/download-latest/zip
  • 03:22 unzip zip
  • 03:47 mv drupal-9.3.16 /var/www/drupal
  • 04:05 chown -R apache:apache /var/www/drupal
  • 04:21 chmod -R 755 /var/www/drupal
  • 04:42 vim /etc/httpd/conf.d/drupal.conf
  • 06:12 systemctl restart httpd
{{postValue.id}}

To Install Drupal CMS On Oracle Linux 8.6

Introduction:

Drupal is a flexible CMS based on the LAMP stack, with a modular design that allows you to add and remove features, as well as change the appearance and feel of your website by installing and uninstalling themes.

Requirements:

LAMP STACK

Installation process:

Step 1: Check the CentOS version by using the below command

[root@linuxhelp home]# cat /etc/os-release 
NAME="Oracle Linux Server"
VERSION="8.6"
ID="ol"

Step 2: Create the database for Drupal CMS by using the below command

[root@linuxhelp ~]# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 5.5.64-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> create database drupal;
Query OK, 1 row affected (0.00 sec)


MariaDB [(none)]> create user 'user1'@localhost identified by '123456';
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> grant all privileges on drupal.* to 'user1'@localhost;
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> exit
Bye

Step 3: Download the Drupal installation package using wget command

[root@linuxhelp ~]# wget https://www.drupal.org/download-latest/zip
--2019-11-22 05:20:19--  https://www.drupal.org/download-latest/zip
Resolving www.drupal.org (www.drupal.org)... 151.101.2.217, 151.101.66.217, 151.101.130.217, ...
Connecting to www.drupal.org (www.drupal.org)|151.101.2.217|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://ftp.drupal.org/files/projects/drupal-8.7.10.zip [following]
--2019-11-22 05:20:20--  https://ftp.drupal.org/files/projects/drupal-8.7.10.zip
Resolving ftp.drupal.org (ftp.drupal.org)... 151.101.2.217, 151.101.66.217, 151.101.130.217, ...
Connecting to ftp.drupal.org (ftp.drupal.org)|151.101.2.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 28619523 (27M) [application/zip]
Saving to: ‘zip’

100%[=============================================================>] 28,619,523  1.12MB/s   in 25s    

2019-11-22 05:20:46 (1.10 MB/s) - ‘zip’ saved [28619523/28619523]

Step 4: Extract the downloaded package using unzip command

[root@linuxhelp ~]# unzip zip
Archive:  zip
   creating: drupal-8.7.10/
  inflating: drupal-8.7.10/.csslintrc  
  inflating: drupal-8.7.10/.editorconfig  
  inflating: drupal-8.7.10/.eslintignore  
 extracting: drupal-8.7.10/.eslintrc.json  
  inflating: drupal-8.7.10/.gitattributes  
  inflating: drupal-8.7.10/.ht.router.php  
  inflating: drupal-8.7.10/.htaccess  
  inflating: drupal-8.7.10/INSTALL.txt 

Step 5: Move the Drupal CMS directory to apache root directory by using the below command

[root@linuxhelp ~]# mv drupal-9.3.16  /var/www/drupal

Step 6: Set the ownership and permission for Drupal CMS by using the below command

[root@linuxhelp ~]# chown -R apache:apache /var/www/drupal
[root@linuxhelp ~]# chmod -R 755 /var/www/drupal

Step 7: Configure the virtual host for accessing the Drupal CMS by using the below command

[root@linuxhelp ~]# vim /etc/httpd/conf.d/drupal.conf
<Virtualhost *:80>
        Servername www.linuxhelp1.com
        Documentroot /var/www/drupal
<directory /var/www/drupal>
allowoverride all
allow from all
</directory>
</virtualhost>

Step 8: Once all the step is completed restart apache service by using the below command

[root@linuxhelp ~]# systemctl restart httpd	

Step 9: Now switch to browser and enter your domain name and Select the language as shown in the below image snap1

Step 10: Select the profile as shown in the below image snap 2

Step 11: Configure the database as shown in the below image snap 3

Step 12: Installation is in process snap 4

Step 13: Configure the site settings as shown in the below image snap 5

Step 14: This is the dashboard of Drupal CMS snap 6

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to Install Drupal CMS on Oracle Linux 8.6. Your feedback is much welcome

Tags:
muhammad
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What type of CMS is Drupal?

A

Drupal is a flexible CMS based on the LAMP stack

Q

What is Drupal CMS used for?

A

Drupal at its core is a content management system (CMS), meaning that it gives you the tools to structure and manage your content

Q

Is Drupal front end or backend?

A

Most Drupal websites use the same domain for both frontend and backend

Q

What language is used in Drupal?

A

PHP and JavaScript

Q

Is Drupal better than WordPress?

A

Drupal often ends up being more secure

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Ryan ?
how to use visual traceroute tool

Am using traceroute command to check for the route. i got this tool while surfing. So pls help me out installation and usage of Visual traceroute tool.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.