web analytics
CMS

This category will discuss about all kinds of CMS that there are now, but maybe more prefer detail to Wordpress, Joomla and Drupal

Domain

This category will discuss about all kinds of Domain, domain expired and how to choose domain name

Misc

This category will discuss about all of which related to web hosting, domains, and is also localhost

Tutorial

This category contains a tutorials which is still relate with the topics we discussed here

Web Hosting

This category will discuss about web hosting and other stuff related to web hosting

Home » CMS, Tutorial

How To Install Drupal

Submitted by admin on Friday, 29 January 2010No Comment

Initial step before the installation of drupal 6 is to make sure your computer is equipped with a localhost. What is localhost, and how to make the localhost, you can see it on this blog under the title Making Localhost with XAMPP Installation. As in these blogs, XAMPP installation location is in the folder c:/xampp/. If the location of your XAMPP installation folder is different, you can adjust itself when placed drupal files.

Here are the steps in the installation of drupal 6.

* Download the file from drupal.org drupal core

Drupal 6 version which can be downloaded in drupal.org when this tutorial was made 6.14 drupal. When you download it on drupal.org, you’ll get the files to install drupal form:

drupal-6.14.tar.gz

These files are compressed files tar.gz. form You must open it first. You can use some software, for example you can use 7-zip. To download, please access http://www.7-zip.org/ URL address. Unpack/unzip/decompress the file, and put the folder drupal-6.14 to location c:/xampp/htdocs/

* Change the name of the folder drupal-6.14

Rename the folder drupal-6.14 a site name that you want, for example, converted into drupalku. Change the name of this folder will affect the site’s URL address in the localhost when you will access via a browser. URL address at localhost to http://localhost/drupalku/

* Create a database drupal

The next step before the installation Drupal 6 is, create a new database to accommodate data of drupal 6 installation. To make it, you can use phpmyadmin which is available when you create a localhost with XAMPP. Open your browser, then access http://localhost/phpmyadmin/. A little additional explanation, there are some inherent database when making the localhost. The names of the default database comes from XAMPP installation you can see on the left like phpmyadmin, mysql and others.

To create a new database, look at the window on the right. There was a small form with writing on it Create New Database. Please enter the name of your database, for example ari_drupalku. The dropdown menu next to his right, let remain as the default setting of Collation. Then click the Create button.

If successful, you will be taken to a new database pages that have been so. You can see on the left, ari_drupalku database name already exists, but the numbers in parentheses 0 indicate that there is no database or data tables in it. This database will automatically fill data when Drupal 6 installation process is run.

* The last step is to prepare the settings.php file to the database and drupal files in XAMPP can be connected. Go back to your windows explorer, then go to the c:\xampp\htdocs\drupalku\sites\default\.
In this folder you will find a folder named files and a file named default.settings.php. We will create a settings.php file by copying the files default.settings.php. Way, open default.settings.php file with notepad .  file right click Default.settings.php and select open with notepad. Once open, click the File menu, and select Save As. Change the name default.settings.php to settings.php, and then below it, change the form save as type to All Files. After that press the Save button. Settings.php file is created and automatically placed in the right place, which is located at the default.settings.php.

* Edit settings.php

Now we edit it to customize the database name and the name of the site URL address that we will create. As I mentioned in the first sentence, there are two parts that you need to change in this settings.php file.

1. Enter the user name, password and database name

This step aims to file the installation of drupal 6 can connect to the database that you created earlier. To make it easier, we will use the Find facility in this Notepad editor. Put your cursor at the beginning of this text file by clicking on the top left corner before the <? Php (This was done so that the search can be done from the beginning of text). Then press on your keyboard Ctrl + F or can be done by selecting the Edit menu in Notepad, Edit> Find.


Enter the word $db_url = ‘mysql://username:password@localhost/databasename’; and press the Find Next button. When you click the Find Next button, you will find the results of the first text. The first text was hoping to let it go, because this text was not to be changed. Text/first script serves as an example, comes from drupal. Click Find Next once again. Once found, close the box Find. This section we will edit. Text scrupt is located adjacent second (could also above if you use an editor other than Notepad) $db_prefix. Edit this text from

$db_url = ‘mysql://username:password@ localhost/databasename’; ———> $db_url = ‘mysql://root:@localhost/ari_drupalku;

Here’s a little explanation of what you change:

* Username -> root (user name for the default database of XAMPP installation is the root.)
* Password -> (the password for the default database of XAMPP installation is not using a password, emptied it, remember, vacated, no spaces).
* Databasename -> ari_drupalku (name of the database you created earlier included here.

When finished changed, press the button on your keyboard Ctrl + S to save the changes, or you can do through the menu with the click Notepad File menu> Save.
# Enter the URL address

The second part will be changed in settings.php file is a URL address. Way as the first step when the change / enter a user name, password and database above. Put your cursor at the beginning of this text file with the way in the upper left corner or before <? Php. Then press on your keyboard Ctrl + F or can also be done by selecting the menu in Notepad, Edit> Find.

Enter the word “# $ base_url = ‘http://www.example.com’; // NO trailing slash!”. Once found, close the search results box, and edit the http://www.example.com -> http://localhost/drupalku
Then press the button on your keyboard Ctrl + S to save the changes, or you can do through the menu with the click Notepad File menu> Save.
Done. Files are finished editing settings.php.

* Installing drupal 6 via a browser

Drupal file is ready, the database is ready, it’s time to install drupal via a browser. Open your browser and enter the URL address http://localhost/drupalku/install.php

Entering the drupal 6 installation process via a browser, the first time you will be faced with the display language options, select only Install Drupal in English.

Wait a minute, the database installation process is running.

The next display is the Configure Site

Here is an explanation of each section:

By default, the file permissions will be changed settings.php during the installation of drupal via the browser, it’s for security reasons. All necessary changes to. / Sites / default and. / Sites / default / settings.php have been made. They have been set to read-only for security.

The first part that you need to fill the Site Information.

* Site Name -> insert name of your site in this form, for example Drupalku. Site name will appear in the upper left corner side by side with drupal logo.
* Site e-mail address -> enter your email address here for site administration purposes.

The second part of the Administrator Account

Forms in this section aims to create a master account and the first as the site administrator. Fill closely enough.

* Username? enter a name for the administrator user name, you can fill in the Admin.
* E-mail address? email to an administrator account
* Password? password for the administrator account
* Confirm password? write the administrator’s password as a confirmation

The next section is the Server Settings

* Default time zone
This form serves to set the time to be used on the site. I suggest let alone keep the default, because this is automatically adapts to your computer.
* Clean URLs
This section is important enough for the Disabled (Enabled). Clean URLs will make your site URL into a neat and more familiar to humans and search engines. Default drupal when Clean URLs disabled or is not active, the URL will be used on the site will always use? Q =. This is clearly difficult for visitors to remember our URL address, it was for the search engines something undesirable. Select Enabled Clean URLs for this section. Additional information, using XAMPP, you support the use of localhost url is clean.
* Update notifications
Update notifications serve as a tool to check and notify if any changes/updates either the latest version of the core module or drupal. This will work when your site will have been installed outside, which automatically tries to contact the latest updates. Therefore your site is still offline, you can uncheck/remove the check mark in this option. Done all, please click the Save button and continue.

Complete Instalation drupal

In the next display will appear a message that the installation process is completed. (Drupal installation Compete). However, there is a red warning, the following display:

warning: mail () [function.mail]: Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set () in C:\xampp\htdocs\drupalku\includes\mail.inc on line 193.
Unable to send e-mail. Please contact the site administrator if the problem persists.

This warning is normal because you’ve installed drupal in localhost, localhost is not connected to the internet. This warning explains that the email function does not work and resulted in sending an email to an administrator account failed. This does not matter, when your site is online, email function will work well. You can ignore this warning. You can see the writing underneath that provide safe, that Drupal has been successfully installed. Please proceed to your site pages by clicking on the link your new site.

Welcome to your new drupal. You automatically are logged in as admin, in accordance with the administrator user name that you entered earlier. The next tutorial I will explain the parts of drupal so you better understand their respective functions.

Congratulations to learn drupal.

Popularity: 5% [?]

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.