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

How To Install Drupal CMS On Linuxmint 19

  • 00:36 lsb_release -a
  • 00:48 mysql -u root -p
  • 02:14 wget https://www.drupal.org/download-latest/zip
  • 02:31 unzip zip
  • 02:51 mv drupal-8.7.10 /var/www/drupal
  • 03:04 chown -R www-data.www-data /var/www/drupal
  • 03:21 chmod -R 755 /var/www/drupal
  • 03:37 vim /etc/apache2/sites-available/drupal.conf
  • 04:45 a2dissite 000-default.conf
  • 04:57 a2ensite drupal.conf
  • 05:04 a2enmod rewrite
  • 05:14 systemctl restart apache2
6164

Installation Of Drupal CMS On Linuxmint 19

Installation

Check the Linuxmint version by using the following command

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	LinuxMint
Description:	Linux Mint 19 Tara
Release:	19
Codename:	tara

Create the database for durpal cms

root@linuxhelp:~# mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.7.21-1ubuntu1 (Ubuntu)

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

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

mysql> create database drupaldb;
Query OK, 1 row affected (0.00 sec)

mysql> create user 'drupaluser'@localhost identified by 'Linuxc#45';
Query OK, 0 rows affected (0.02 sec)

mysql> grant all privileges on drupaldb.* to 'drupaluser'@localhost;
Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)

mysql> exit
Bye

Download the Drupal installation package using wget command

root@linuxhelp:~# wget https://www.drupal.org/download-latest/zip
--2019-11-18 04:49:27--  https://www.drupal.org/download-latest/zip
Resolving www.drupal.org (www.drupal.org)... 151.101.194.217, 151.101.130.217, 151.101.66.217, ...
Connecting to www.drupal.org (www.drupal.org)|151.101.194.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-18 04:49:28--  https://ftp.drupal.org/files/projects/drupal-8.7.10.zip
Resolving ftp.drupal.org (ftp.drupal.org)... 151.101.194.217, 151.101.130.217, 151.101.66.217, ...
Connecting to ftp.drupal.org (ftp.drupal.org)|151.101.194.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 28619523 (27M) [application/zip]
Saving to: ‘zip’

zip                           100%[================================================>]  27.29M  1.12MB/s    in 24s     

2019-11-18 04:49:53 (1.11 MB/s) - ‘zip’ saved [28619523/28619523]

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/vendor/zendframework/zend-feed/src/Writer/Writer.php  
  inflating: drupal-8.7.10/vendor/autoload.php  
  inflating: drupal-8.7.10/vendor/.htaccess  
  inflating: drupal-8.7.10/vendor/web.config  
  inflating: drupal-8.7.10/LICENSE.txt  

Move the Drupal cms directory to apache root directory

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

Set the ownership and permission for Drupal cms

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

Configure the virtual host for accessing the Drupal cms

root@linuxhelp:~# vim /etc/apache2/sites-available/drupal.conf
<Virtualhost *:80>
        Servername www.linuxhelp1.com
        Documentroot /var/www/drupal
<directory /var/www/drupal>
allowoverride all
allow from all
</directory>
</virtualhost>

Disable the default site access

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

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

Enable the rewrite module

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

Once all the step is completed restart apache service

root@linuxhelp:~# systemctl restart apache2

Now switch to browser and enter your domain name snap1 Select the language snap2 Select the profile snap3 Configure the database snap4 Installation is in process snap5 Configure the site setting snap6 snap7 This is the dashboard of drupal cms snap8 This is the method to install drupal cms on linuxmint 19 and the tutorial comes to an end here

Tags:
jacob
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

What is the use of Drupal ?

A

Drupal is an open source content Management System used for creating Websites without any PHP coding. It is programmed in PHP and provides GUI for the users to create websites.

Q

What is the Drupal Association?

A

The Drupal Association is the non-profit organization dedicated to helping Drupal flourish. It helps the Drupal community with funding, infrastructure, events, promotion, and distribution.

Q

Can I migrate a WordPress site to Drupal?

A

Yes. There are modules like WordPress Migrate to help you.

Q

Does Drupal use any code conventions or styles?

A

Yes. Follow the Drupal Coding Standards when submitting any code for inclusion in the Drupal project.

Q

May I change Drupal's core files to make changes to my site or application?

A

We strongly recommend that you don't. Hacking core means that you won't be able to take advantage of Drupal updates (including any security updates) without losing your changes. It also makes it much less likely that bugs you create will be fixed by the community. Instead, try using the hooks system and theme overrides.

Related Tutorials in How To Install Drupal CMS On Linuxmint 19

Related Tutorials in How To Install Drupal CMS On Linuxmint 19

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 Linuxmint 19

Related Forums in How To Install Drupal CMS On Linuxmint 19

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 Linuxmint 19

Related News in How To Install Drupal CMS On Linuxmint 19

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 Luk Van De Looverbosch ?
How to create a root ?

Hello,
How to create root@linuxhelp in Linux Mint 20.1 64-bit ?
Thanks in advance for your reply.
Best regards.

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.