Installing Drupal The Detailed Version

This version goes over each step in more detail, and includes screenshots.

Getting the Codebase

1. Download the core Drupal codebase from

http://drupal.org/project/drupal.

2. Extract the codebase on your local machine.

The Drupal codebase (and all modules and themes) are compressed into a tarball, or a file that is first tarred, and then gzipped. Such compressed files end in .tar.gz.

On Macs and Linux machines, tar.gz files can be extracted automatically using tools that come preinstalled with the operating system. On PC's, you can use 7-zip, an open-source compression utility available at http://www.7-zip.org.

3. In your extracted codebase, navigate to the sites/default directory. This directory contains one file: default.settings.php.

Make a copy of this file, and name the copy settings.php.

Creating the Database and the Database User

4. In your web browser, navigate to where PHPMyAdmin is installed on your web server. If you are using a different tool for creating and managing your database, use that tool to create your database, and database user.

5. As shown in the following screenshot, create the database on your server. Click the Create button to create your database.

Store your database name in a safe place. You will need to know your I

database name to complete your installation.

6. To create your database user, click the SQL tab as shown in the following screenshot. In the text area, enter the following SQL statement:

GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, ON databasename.*

TO ,usernarae,@'localhost' IDENTIFIED BY 'password';

6. To create your database user, click the SQL tab as shown in the following screenshot. In the text area, enter the following SQL statement:

GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, ON databasename.*

TO ,usernarae,@'localhost' IDENTIFIED BY 'password';

7. For databasename, use the name of the database you created in Step 4. Replace the username and password with a username and password of your choice. Once you have entered the correct values, click the Go button to create the user with rights on your database.

[r-srx" Store the username and the password of your database user in a safe I

place. You will need them to complete the installation. I

Completing the Install

8. Create and/or locate the directory from where you want Drupal to run. In this example, we are running Drupal from within a folder named drupal6; this means that our site will be available at http://ourdomain.org/ drupal6.

9. Using your FTP client, upload the Drupal codebase to your web folder.

10. Navigate to the URL of your site. The automatic install wizard will appear on your screen.

Ö Choose language | Drupal - Mozilla Firefox

I file Edit View History Bookmarks Tools Help

I ' ü^ > ^ I & http://www.alphabetademo.com/drupal6/in5tall.plip?profile=default Iffiltfe] Google J

Drupal

Choose language

Verify requirements Set up database Install site Configure site Finished

Choose language

° Install Drupal in English ° Learn how to install Drupal in other languages

11. Click the Install Drupal in English link as shown in the preceding screenshot. As soon as you click this link, the installer will verify that your web host meets the requirements to run Drupal.

12. To complete the Set up database screen, you will need the database name (created in Step 4) and the database username and password (created in Step 6). Select mysqli as the Database type and then enter these values in their respective text boxes as seen in the following screenshot:

13. Most installs will not need to use any of settings under Advanced options. However, if your database is located on a server other than localhost you will need to adjust the settings as shown in the next screenshot.

In most basic hosting setups, your database is accessible at localhost. To verify the name or location of your Database host, you can use phpMyAdmin (as shown in the screenshot under the section Creating the Database and the Database User) or contact an administrator for your web server. For the vast majority of installs, none of the Advanced options will need to be adjusted.

p Advanced options!

These options are only necessary for some sites. If you're not sure what you should enter here, leave the default settings or check with your hosting provider.

Database host: *

If your database ia located an a different server, change this.

Database port:

If /our database server is listening to a non-standard portr enter its number.

Table prefix:

If more than one application will be sharing this database, enter a table prefix such as drupai_ for your Crupal site here.

14. Click the Save and continue button. You will see a progress meter as Drupal installs itself on your web server.

15. On the Configure site screen, you can enter some general information about your site, and create the first user account. The first user account has full rights over every aspect of your site. When you have finished with the settings on this page, click the Save and continue button.

16. When the install is finished, you will see the following splash screen:

Additional details on installing Drupal are available in the handbook at

http://drupal.org/getting-started/6/install.

Additional details on installing Drupal are available in the handbook at

http://drupal.org/getting-started/6/install.

Was this article helpful?

0 0

Post a comment