|
1.Step:
|
Log in to the 1&1 Control Panel at:
https://admin.1and1.com
If you have only one package, you will land on the Administration page.
If you have more than one package, select the relevant package to reach
its Administration page.
|
|
2.Step:
|
Select MySQL Administration from the Web Space & Access section.

|
|
3.Step:
|
If you haven't set up any databases click New Database button. If you already have an empty database you can retrieve the required information Drupal needs to install on this screen.
|
|
4.Step:
|
Enter a description for the database and click Set Up.
|
|
5.Step:
|
A confirmation is displayed and the database will be ready in a maximum of 3 hours.
|
|
6.Step:
|
Click the 'Go To Overview' button to view your newly created database. Here it lists the information that Drupal requires to establish a connection to the databe. The Database Name, Username, Password and Hostname.
|
|
7.Step:
|
You will need to download the latest version of Drupal 6 which you can find here: http://drupal
|
|
8.Step:
|
Once you have the Drupal 6 installation archive you will need to upload it to your servers webspace using an FTP client such as FileZilla or the Webspace Explorer tool found within your 1&1 Control Panel. After you have successfully uploaded the archive you will need to connect to your server
via SSH using a program such as PUTTY. This article explains how to connect using ssh. How do I connect using SSH?
|
|
9.Step:
|
Next, you will need to unpack the archive. Be sure that you are in the directory that you have uploaded the archive before you continue. To unpack the archive file type in the following and then press Enter:
tar -zxvpf drupal-x.x.tar.gz
|
|
10.Step:
|
Be sure to replace the X.X with the version of Drupal 6 that you downloaded. For this example version 6.13 was used so it would look like this:
tar -zxvpf drupal-6.13.tar.gz
This will create a new directory called drupal-6.13.
|
|
11.Step:
|
Next, you will need to setup the configuration file and grant it Write permissions. You will need to change to the directory /drupal-6.13/sites/default.
cd drupal-6.13/sites/default
|
|
12.Step:
|
Once you have done this you will need to make a copy of the default.settings.php file and rename it to settings.php. You can do so by typing in the following and then press Enter:
cp default.settings.php settings.php
|
|
13.Step:
|
Now you need to edit the permissions of the newly created settings.php file so that it can be written to by the Drupal 6 installation. You can do so by typing in the following and then press Enter:
chmod 666 settings.php
Drupal will set the file permissions back to read-only once the installation is complete in order to prevent a possible security issue. Next, you will need to create a database for the Drupal installation. You can do so by following these steps:
|
|
14.Step:
|
For the sake of simplicity you will want to edit the destination of the domain to piont at the directory drupal is in. The article How do I set up or change a destination for the domain?. So in this example we point to domain to the drupal-6.13 folder.
|
|
15.Step:
|
Now it is time to begin the actual installation process. To run the install script you will need to point your browser to the URL of your website. If you did not edit the destination of your domain to the folder drupal is in you will need to add /foldername where foldername is the name of the folder. At this point you should see the Drupal installation page:

Figure 1:Lauch page
Click on 'Install Drupal in English'. Installing Drupal in other languages is outside the scope of this article.
The Drupal installation will then verify that you have done the above steps correctly before allowing you to proceed. If everything is fine the installation will proceed to the Database Configuration portion of the installation.
|
|
16.Step:
|
You will need the access information for the database that you have created or chosen for your Drupal installation. You will need the Database Name, Username and Password.
Before putting in the required information on this page to continue the installation you MUST make a change to the settings.php file on your webspace to ensure that Drupal will be able to connect to the database. At this point you may or may not be connected to your server via SSH. If you ended the session or got disconnected you will need to reestablish the
connection to your server.
You will now make a small modification to the settings.php file. If your SSH connection remained connected, type the following and then press Enter:
vi settings.php
If you had to reconnect to your server via SSH, type the following and then press Enter:
vi /drupal-6.13/sites/default/settings.php
|
|
17.Step:
|
Now you will need to look for the following line:
$db_url = 'mysql://
Once you have found this line you will need to press the Insert key and replace the contents of that line with the following:
$db_url = 'mysql://USERNAME:PASSWORD@localhost%3A3306%3A%2Ftmp%2Fmysql5.sock/DATABASE-NAME';
Please be aware that you will need to replace the USERNAME, PASSWORD and DATABASE-NAME pieces with the access information for the database that you
have setup for the Drupal installation. Once you are finished press the Esc key to stop the ability to enter text. Now you will need to save the
changes that you have made and exit the Vi editing tool. To do so type the following and then press Enter:
:wq
Now that the changes have been made to the settings.php file, you can go back to your web browser and put in the access data for database to continue the Drupal installation.
|
|
18.Step:
|
On the Database configuration page enter the database information and click on 'Save and continue'.

Figure 2:Database configuration
|
|
19.Step:
|
on the configure page fill out the information accordinally.

Figure 3:Site Information

Figure 4:Administrator account

Figure 5:Server Settings
Then click on 'Save and continue'
|
|
20.Step:
|
Now you have completed installation and you can go to the site, log in, and start configuring your site.

Figure 6:Finished
|