Introduction
Drupal is a robust Content Management System that is available in the market. This uses LAMP server and which includes MySQL and Apache.It can host blogs, forums, and a variety of other content. It has a huge selection of modules for other functionality, such as advertising, chatbox etc. Even though there are many other CMS are available in the market, still Drupal stands out with its flexibility to adapt to any requirements. If you want to use Drupal then you have to have basic web development knowledge. Wordpress and Joomla limits to you to stick to their standards but drupal give you the flexibility to design the blog or website as your wish.
Lets check how to install Drupal on a ubuntu 14.04 machine.
Step 1: Install LAMP server
LAMP contains Linux, Apache, Mysql, php. We need to install LAMP before we install Drupal.
sudo tasksel install lamp-server
Install tasksel if it is not installed already,
sudo apt-get install tasksel
Step 2: Install Drupal
sudo apt-get install drupal7
It will ask you for default MySql password to be set, You are almost done !!
Then, register the Drupal module with Apache:
sudo cp /etc/drupal/7/apache2.conf /etc/apache2/mods-enabled/drupal.conf
If you get this error, then dont be scared !!
This is just a friendly warning and can be avoided easily,
If you insert a
ServerName localhost
in either
httpd.conf
or apache2.conf
in /etc/apache2
.Finally...
Restart Apache:
sudo service apache2 restart
Now open your browser and type
http://localhost/drupal7/
Now you will get the drupal startup page where you can configure drupal, give the details needed for the blog to be set. And finally you will land on this page.
Done !! Now you can login and start working on your drupal application !!
update : Here is an excellent video explains each and every step of the drupal installation.
Installation of Drupal 7 on Ubuntu 12 lts, apache2, php, mysql and phpmyadmin
How to Install Drupal 7.31 on Ubuntu Server 14.04 LTS
But this link from digital ocean does have everything you want
Update : Sometimes you might land upon the issue "FTP cannot find error" in the local machine. After a few searches in the internet got the solution that drupal needs ownership for installing new themes and moduls
sudo chown www-data:www-data -R /var/www/drupal(or your drupal web root name)/sites
This trick fixed the issue.
Check this link for details
But this link from digital ocean does have everything you want
Update : Sometimes you might land upon the issue "FTP cannot find error" in the local machine. After a few searches in the internet got the solution that drupal needs ownership for installing new themes and moduls
sudo chown www-data:www-data -R /var/www/drupal(or your drupal web root name)/sites
This trick fixed the issue.
Check this link for details
No comments:
Post a Comment