Installing Drupal

Created at 2014-06-11 Updated at 2017-03-05 Category work

installing DRUPAL from scratch in UBUNTU

following task have to be executed to install drupal

 

**1. Apache2 Server Setup

2. Installing MySQL and PHP5

3. Installing Drupal & Configuring Drupal

4. Clean URLs Configuration in Apache2 for Drupal

5. Other Tweaks**

 

1. Run the following command to install apache on your machine

sudo apt-get install apache2 libapache2-mod-php5

** sudo apt-get install mysql-client mysql-server**

enter your root password and remember it.we will need it furthur

sudo /etc/init.d/apache2 restart

 

2. Install PHPMyAdmin. After this, make changes in the confinguration file to support PHPMyAdmin. You can skip this step if you prefer to use MySQL GUI based administration.

sudo apt-get install phpmyadmin

sudo gedit /etc/apache2/httpd.conf

At the bottom add the following

` # Enable PHPMyAdmin

Include /etc/phpmyadmin/apache.conf

`

sudo /etc/init.d/apache2 restart

3. Enable usedir module in apache2 to allow URLs of the following format http://localhost/~username. Also enable mod_rewrite to allow for Drupal Clean URLs

**` cd /etc/apache2/mods-enabled

sudo ln -s ../mods-available/userdir.load

sudo ln -s ../mods-available/userdir.conf

sudo ln -s ../mods-available/rewrite.load

sudo /etc/init.d/apache2 reload`**

 

Install Drupal

1. Download the latest drupal version from http://drupal.org and extract it under

/var/www/drupal

 

2. In browser open

localhost/drupal/

 

3. Follow the step

fill database name - drupal

username-root

password- that you entered previously while installing sql

 

4. Enter the specific detail.

CONGRATS your drupal has been installed

 

 

Table of Content

Site by Ashutosh Kumar Singh using Hexo & Random

Traveller - Developer - Foodie - Biker - Cyclist - Rider - Technocrat