2 Installation of Drupal


Published on

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

2 Installation of Drupal

  1. 1. Installing Drupal<br />Wilson Wingston Sharon<br />wingston.sharon@gmail.com<br />
  2. 2. Install wampserver<br />Go to material folder.<br />Install wampserver2.0i.exe on C:/<br />Install wampserver2-php529-2.exe on C:/<br />Latest releases can be found on wampserver.com/en<br />Check first if Apache and PHP versions on WAMP install are compatible with your Drupal version.<br />Go to drupal.com/requirements to read up.<br />
  3. 3. Start wamp server. If you see a white half moon in your tray, wampserver is running.<br />If there’s a red dot on it, or its any other colour, something’s wrong. <br />Open Firefox browser and typelocalhost<br />You should see a wamp loading screen. It should say php version as 5.3<br />Now, left click on wamp tray icon, go to php/version/9..2.0<br />Click icon again and restart all services.<br />Go to wamp loading screen on localhost, it should say php version as 5.2.9<br />
  4. 4. If u don’t have winrar. Install winrar from materials folder.<br />Drupal installation is always given as a tarball. [tar.gz]. Drupal-615.tar.gz<br />Extract it [right click, extract here] after copying it to C:/wamp/www/<br />Rename drupal-615 to mysite<br />Check in localhost/mysiteif drupal installer shows up. Don’t do anything there for now.<br />
  5. 5. Go to localhost/phpmyadminfrom your browser.<br />
  6. 6. In the create new database field, type mysite_db<br />Keep type as collation and click create.<br />You should get a message that mysite_db has been created.<br />
  7. 7. Now, from the top tabs go to privileges<br />You’ll see the list of available users.<br />Click on add a new user<br />Type username as mysite_user<br />select host as localhost[from dropdown list – local]<br />
  8. 8. Keep blank password. [or type a pass and remember it.] but for now, keep it blank. [select no password from dropdown list]<br />On global privileges, click check all.<br />Then click go.<br />
  9. 9. To confirm if you’ve created the right user for the right database.<br />Go to privileges and click the edit icon for the user name [last column]<br />In database specific privileges, it should be mysite_db, ALL_PRIVILEGES and GRANT=YES.<br />If Grant = no, click the edit privileges button, check grant and click go.<br />Click go again to save.<br />
  10. 10. Now go to localhost/mysiteon browser.<br />If you see an error, function ereg() is depreciated, you havent changed php settings t0 5.2.9.<br />Click install drupal in english.<br />
  11. 11. You will see a requirements error.<br />To fix this, go to wamp install directory from explorer.<br />C:/Wamp/www/mysite/sites/default<br />You’ll see default.settings.php.<br />Copy it and rename the copy to settings.php and click try again.<br />You must keep default.settings.php along with the new renamed copy.<br />
  12. 12. Set database name to mysite_db<br />Set username as mysite_user<br />Open advanced options and make sure host is localhost.<br />Click ok and go. If you have a problem here, make sure database settings are correct.<br />
  13. 13. Give site name and other details asked for in this page.<br />In site email address is the address drupal uses to send mail, keep it <somethin>@mysite.com<br />Give admin user name as admin and pass as open for the remainder of this workshop. Remember this username and password. IT IS CALLED USER 1. <br />
  14. 14. After the installation finish message, go to<br />Locahost/mysite<br />Congrats!! You’ve completed your first drupal installation. <br />
  15. 15. Installing live.<br />Buy web space with a provider who offers drupal support.<br />One click installation with fantastico scripts.<br />Use backup and migrate module to move from test site to live site.<br />