Drupal setup guide - for the initiated

If you are a new drupaler (most likely if you are reading this), make sure to read drupal official handbooks as well as the beginner's cookbook. This tutorial is meant to complement those, which is based on mostly my personal experiences. I wrote this in the hope it could be useful to others. I don't claim myself to be a Drupal or Linux expert, so feel free to point out any errors.

If you are installing Drupal locally, for example on your home desktop, preferrably you have a linux/unix environment. It's doable on Windows, but probably doesn't worth the time. Plus, if eventually you want to find a public hosting company, most likely it'll be *nix based. If you don't want to convert to Linux at this time, you can either install Cygwin or VMware.
Regardless of which OS you choose, you'll need to have a web server (most likely Apache), PHP (Drupal is written in PHP), a database (most likely Mysql)
The default setting usually will work for you. One thing you may want to do early is setting the root password of MySQL, which is empty in default MySQL settings. This could pose a potential security risk to your server.

Set password:
$ mysqladmin -u root password NEWPASSWORD
You also need create a database for your website before you install Drupal
mysqladmin -u root -p create database_name
At the prompt, enter your password

Download the latest drupal from http://drupal.org/
Go to your www directory, which is /var/www/html in my case (CentOS), and extract the file by running
tar zxvf drupal-5.7.tar.gz

If you've already have a domain name, you may want to change the directory name to your domain name, e.g. mv drupal-5.7 example.com
now you can access your new site by
http://localhost/example.com
or
http://example.com (if you've already setup the DNS server)
If you see this drupal_database_setup.png
Add write permission to settings.php as required by Drupal
chmod g+w settings.php
Then You should be able to enter all the database informationispeakx_database_setup.png

If you see this: installation_complete.png then congrats! you just have installed Drupal! Go ahead and take a look at your new drupal site:
new_drupal_site.png

Lastly, don't forget to remove write permission by running
chmod og-w settings.php.


Comments

Caduet drug side effects

Hello everyone. Patriotism is your conviction that this country is superior to all other countries because you were born in it. Help me! Can not find sites on the: You may like hours to die the shopping pedis in your form or you may have to capitalize meeting drugs to educate for process, caduet.. I found only this - [URL=http://www.comune.pompiano.brescia.it/Members/Caduet/caduet-oral]caduet oral[/URL]. Generally with sirolimus-eluting in the years! Caduet, pheochromocytoma feels up in the parents of your tumors. Best regards :mad:, Caine from Spain.

Hello11

Hello
Nice site!

Bye

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.

Back to top