Saturday 19 May 2012

Drupal: Installing Drupal on Ubuntu

  1. Download the latest version of drupal here: http://drupal.org/project/drupal
  2. Extract this file into folder: /var/www/
  3. Rename drupal folder: example: Rename 'drupal-7.14' to 'mySite'
  4. Go to: mySite/sites/default . Copy 'default.settings.php' file and rename it to 'settings.php'.
  5. Create an folder called 'files' under: mySite/sites/default/ .
  6. Set permission for 'default' folder:
    sudo chmod 777 -R /var/www/mySite/sites/default/
  7. Go to : localhost/phpmyadmin and create a database. example: create a database called 'mySite'.
  8. Go to : localhost/mySite . It will redirect you to installation page of drupal.
  9. Click on 'Save and continue' button until you redirect to 'Database configuration' page.
  10. Enter you database name, database account and database password. Like this:
    Database name: mySite
    Database account: root
    Database password: ******
  11. After complete the step above, you will redirected to 'Configure site' page. At the page, Enter you site information and then click 'Save and continue'.
  12. Remove write permission on 'settings.php' file.
    sudo chmod a-w /var/www/mySite/sites/default/settings.php
  13. At 'drupal installation complete' page, you click on 'Visit your new site'.
  14. Congratulation, I have installed Drupal success. Let's try to make some great things on your site.

No comments:

Post a Comment