It’s Open source content Management tool.

https://www.youtube.com/watch?v=oaXEr7WwSS0

Package Requirement:

PHP:- 5.4 or above (32 bit only)
apache:- 2.0 or above
MariaDB:-5.6 or above

Step1. Download webtatic repository

wget https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

Step2. Install webtatic rpm

rpm -ivh webtatic-release.rpm

Step3. Install PHP

yum install php70w php70w-curl php70w-gd php70w-pear php70w-mbstring php70w-xml php70w-phar php70w-json php70w-mysql php70w-opcache

Step4-: Create apache folder

mkdir /var/www/html -p
cd /var/www/html/

Step5. Download drupal and untar

wget https://ftp.drupal.org/files/projects/drupal-8.6.1.tar.gz
tar -xzvf drupal-8.6.1.tar.gz

Step6. Move-in /opt folder

mv drupal-8.6.1.tar.gz /opt/
mv drupal-8.6.1 /opt

Step7. Setup .htaccess file

vi /var/www/html/.htaccess
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^ index.php [L]

Step8. Configure setting file

cd  /var/www/html/sites/deafult
 cp default.setting.php  setting.php
 vim setting.php
 $settings['trusted_host_patterns'] = array(
 '^localhost$',
 );

Step9. Create database

CREATE DATABASE drupaldb;
CREATE USER drupaluser@localhost;
GRANT ALL  ON drupaldb.* TO drupaluser@localhost IDENTIFIED BY 'Redhat@123_000';

Step10. Set permission

chown -R apache.apache /var/www/html/*
chmod 775 -R /var/www/html/*

Step11. Enable apache service

systemctl enable httpd

Step12. Configure Apache file

vim /etc/httpd/conf/httpd.conf
Allowoverride All

Step13. Start apache service

systemctl start httpd

Step14. Access via browser

http://localhost
or
http://ip

For Live Installation you may refer below youtube link:-

https://www.youtube.com/watch?v=oaXEr7WwSS0

LEAVE A REPLY

Please enter your comment!
Please enter your name here