• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to Install Drupal CMS on Linux Mint 20

  • 00:32 cat /etc/os-release
  • 00:50 apt install php php-xml php-mysql php-mbstring php-zip php-soap php-curl php-gd php-ldap php-imap php-common php-dev libmcrypt-dev php-pear
  • 01:21 mysql -u root -p
  • 02:56 wget https://www.drupal.org/download-latest/zip
  • 03:36 chown -R www-data.www-data /var/www/drupal/
  • 04:06 vi /etc/apache2/sites-available/drupal.conf
  • 05:38 a2dissite 000-default.conf
  • 05:49 a2ensite drupal.conf
  • 06:07 systemctl restart apache2
6633

To Install Drupal CMS on Linux Mint 20.

Drupal is a web content management tool as well as a customizable platform to help you to build the right tool to serve your content management strategy. It is used by Business and technology leaders to create real-world enterprise solutions that empower web innovation. This Tutorial covers the installation of the Drupal CMS on Linux Mint 20.

Requirements of Drupal CMS:

Apache

MySQL

Php and its Modules

Installation procedure:

Check the version of the Linux Mint 20.

root@linuxhelp:~# cat /etc/os-release 
NAME="Linux Mint"
VERSION="20 (Ulyana)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20"
VERSION_ID="20"

Now install the php and its modules by using the following command

root@linuxhelp:~# apt install php php-xml php-mysql  php-mbstring php-zip php-soap php-curl php-gd php-ldap php-imap php-common php-dev libmcrypt-dev php-pear
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php is already the newest version (2:7.4+75).
php-common is already the newest version (2:75).
php-common set to manually installed.
php-mysql is already the newest version (2:7.4+75).
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev debhelper dh-autoreconf dh-strip-nondeterminism dwz libarchive-cpio-perl
  libc-client2007e libc-dev-bin libc6 libc6-dbg libc6-dev libcrypt-dev libdebhelper-perl
.
.
.
Setting up dh-autoreconf (19) ...
Setting up debhelper (12.10ubuntu1) ...
Setting up pkg-php-tools (1.38) ...
Processing triggers for doc-base (0.10.9) ...
Processing 2 added doc-base files...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
Processing triggers for libapache2-mod-php7.4 (7.4.3-4ubuntu2.4) ...
Processing triggers for php7.4-cli (7.4.3-4ubuntu2.4) ...

Now create a database to the Drupal CMS by using the following command

root@linuxhelp:~# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 55
Server version: 10.3.22-MariaDB-1ubuntu1 Ubuntu 20.04

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 drupaldb;
Query OK, 1 row affected (0.038 sec)
MariaDB [(none)]> create user 'drupaluser'@localhost identified by 'Linuxc@123';
Query OK, 0 rows affected (0.056 sec)
MariaDB [(none)]> grant all privileges on drupaldb.* to 'drupaluser'@localhost;
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.030 sec)
MariaDB [(none)]> exit
Bye

Now I am download the Drupal CMS by using following command

root@linuxhelp:~# wget https://www.drupal.org/download-latest/zip
--2020-12-02 14:25:05--  https://www.drupal.org/download-latest/zip
Resolving www.drupal.org (www.drupal.org)... 199.232.254.217
Connecting to www.drupal.org (www.drupal.org)|199.232.254.217|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://ftp.drupal.org/files/projects/drupal-9.0.9.zip [following]
--2020-12-02 14:25:07--  https://ftp.drupal.org/files/projects/drupal-9.0.9.zip
Resolving ftp.drupal.org (ftp.drupal.org)... 199.232.254.217
Connecting to ftp.drupal.org (ftp.drupal.org)|199.232.254.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 28326478 (27M) [application/zip]
Saving to: ‘zip’

zip                            100%[==================================================>]  27.01M   999KB/s    in 27s     

2020-12-02 14:25:34 (1.01 MB/s) - ‘zip’ saved [28326478/28326478]

Now extract the package by using the following command

root@linuxhelp:~# unzip zip 
Archive:  zip
   creating: drupal-9.0.9/
   creating: drupal-9.0.9/vendor/
   creating: drupal-9.0.9/vendor/composer/
   creating: drupal-9.0.9/vendor/composer/installers/
  inflating: drupal-9.0.9/vendor/composer/installers/LICENSE  
.
.
.
  inflating: drupal-9.0.9/profiles/README.txt  
   creating: drupal-9.0.9/themes/
  inflating: drupal-9.0.9/themes/README.txt  
  inflating: drupal-9.0.9/autoload.php  
  inflating: drupal-9.0.9/composer.json  
  inflating: drupal-9.0.9/composer.lock  
  inflating: drupal-9.0.9/LICENSE.txt  
root@linuxhelp:~# ls
drupal-9.0.9  zip

Now move the drupal cms directory to apache root directory

root@linuxhelp:~# mv drupal-9.0.9 /var/www/drupal

Now set the ownership and permissions to the drupal directory

root@linuxhelp:~# chown -R www-data.www-data /var/www/drupal/
root@linuxhelp:~# chmod -R 755 /var/www/drupal/

Now configure the virtualhost for access the drupal CMS

root@linuxhelp:~# vi /etc/apache2/sites-available/drupal.conf

Now disable the default site access by using following command

root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Now enable the site access for drupal CMS

root@linuxhelp:~# a2ensite drupal.conf
Enabling site drupal.
To activate the new configuration, you need to run:
  systemctl reload apache2

Now enable the rewrite module

root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Now restart the apache service by using the following command

root@linuxhelp:~# systemctl restart apache2

Open browse and enter your host name snap1

This is the welcome page of the Drupal CMS select your language snap2

Select the installation profile snap3

Configure the database snap4

The installation process is running snap5

Configure the site snap6

This the dashboard of drupal CMS snap7

With this method, the installation of Drupal CMS on Linux Mint 20 comes to an End.

Tags:
nathencooke
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

What is Drupal CMS?

A

Drupal is a web content management tool as well as a customizable platform to help you to build the right tool to serve your content management strategy.

Q

What is the command to enter MySQL?

A

The command is # mysql -u root -p

Q

How do you create a database for Drupal CMS?

A

The command is # create database drupaldb;

Q

How to configure the host entry?

A

the command is # vi /etc/hosts

Q

What is the command to extract the download package?

A

The command is # unzip (zip file name)

Related Tutorials in How to Install Drupal CMS on Linux Mint 20

Related Tutorials in How to Install Drupal CMS on Linux Mint 20

How to install Tiki Wiki CMS Groupware on CentOS 7
How to install Tiki Wiki CMS Groupware on CentOS 7
May 31, 2018
How to install WinRAR 5.11 on Linuxmint 18.03
How to install WinRAR 5.11 on Linuxmint 18.03
May 22, 2018
How to Setup VNC Server on Linux Mint 20
How to Setup VNC Server on Linux Mint 20
Dec 22, 2020
How to install and configure samba setup in Linux mint - 18.3
How to install and configure samba setup in Linux mint - 18.3
Mar 26, 2018
Installation SSL Certificate on Ubuntu/Linuxmint/Debian to Secure Apache
Installation SSL Certificate on Ubuntu/Linuxmint/Debian to Secure Apache
Sep 19, 2018
How to Install Pligg - Content Management System
How to Install Pligg - Content Management System
Jul 26, 2016
How to Install and Configure Samba on Linux Mint 20
How to Install and Configure Samba on Linux Mint 20
Nov 9, 2020
How to install Xibo CMS in Ubuntu
How to install Xibo CMS in Ubuntu
Oct 6, 2016

Related Forums in How to Install Drupal CMS on Linux Mint 20

Related Forums in How to Install Drupal CMS on Linux Mint 20

Pligg
aiden class=
CMS : Pligg install on opensuse
Oct 6, 2017
Linux
isaac class=
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-8.0/mysql-client-core-8.0_8.0.21-0ubuntu0.20.04.4_amd64.deb 404 Not Found
Dec 4, 2020
Linux Mint
AlxH class=
Complete beginner, install bluegriffon
Jul 1, 2020
Linux
AadrikaAnshu class=
How to add timestamps to history On Any Linux Machine
Jun 18, 2019
Linux Mint
bz0 class=
How to change a function of a key
Jun 7, 2019
Content Management System (CMS)
mason class=
REQUIRED PDO library with pdo_sqlite extension is not available.
May 9, 2019
Linux Mint
who class=
How to compare multiple files
Nov 10, 2019
NFS (Network File System)
Mike class=
Linux Mint 18.3 - NFS Shares - Only Root Can Mount Share
Oct 4, 2019

Related News in How to Install Drupal CMS on Linux Mint 20

Related News in How to Install Drupal CMS on Linux Mint 20

A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
Apr 9, 2019
Linux Mint 18.2 Ubuntu based Operating System is named Sonya
Linux Mint 18.2 Ubuntu based Operating System is named Sonya
May 2, 2017
Refreshed Linux Mint Debian Edition (LMDE) 2 'Betsy' ISO images now available
Refreshed Linux Mint Debian Edition (LMDE) 2 'Betsy' ISO images now available
Mar 14, 2017
The Best Linux Operating System is in the house: Mint 18.2
The Best Linux Operating System is in the house: Mint 18.2
Aug 12, 2017
Linux Mint 18.1 released with smooth features and offers long-term support
Linux Mint 18.1 released with smooth features and offers long-term support
Apr 11, 2017
WordPress and Joomla websites infected by new backdoor malware
WordPress and Joomla websites infected by new backdoor malware
May 31, 2019
Linux Mint 18.2 Sonya Beta version now available for download
Linux Mint 18.2 Sonya Beta version now available for download
Jun 7, 2017
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 Ganesh Konka ?
Zentya 6.1 http proxy configuration

please send link for creating zentyal 6.1 for http proxy and firewall as gateway.

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.