Click here to Skip to main content
Click here to Skip to main content

Installation of Drupal in Step by Step Manner

By , 26 May 2009
 

Introduction

Drupal is based on PHP.

Install WampServer2.0h from here.

Note down the installation default path, i.e. c:\wamp.

Wampserver setup 1.JPG

www folder is present in c:\wamp folder. Here in www folder, one has to place the respective web applications.

There is no need of any other tools like “mysql-gui-tools-5.0-r17-win32 “ and EasyPHP for Drupal installation. WampServer has inbuilt server and database.

In Start -> Run: Type inetmgr.

Internet Information Services screen pops up.

Select Default Web Site under Web Sites and click on Stop item button at the top.

IIS.JPG

This is because by default, WampServer also uses 80 port.

Observe WampServer icon at the right side bottom corner of the desktop.

WAMPServer Icon.JPG

Left click on the icon and click on “Start All Services” (Right click contains options for exiting the WampServer).

Left click on the same WampServer  and now click “phpMyAdmin”.

phpmyadmin.JPG

phpMyAdmin home page screen appears.

phpmyadmin home page.JPG

Give “drupal” as “Create new database” and click on create button.

Click on Privileges to see the default database credentials are:

  • User: root
  • Password: blank
phpmyadmin privileges.JPG

One can add new user also. Here default database credentials are enough for the Drupal installation.

Download Drupal 6.x from here.

Extract drupal-6.10.tar file to “drupal” folder.

Copy “drupal” folder in WampServer installation location, i.e. c:\wamp\www\.

Keep another copy of default.settings.php file (present in C:\wamp\www\drupal\sites\default folder) and rename it as settings.php file.

Then in browser, type http://localhost/drupal/install.php.

Install drupal 1.JPG

Click on “Install Drupal in English” link.

Then Setup database screen appears.

Choose language and Verify requirements are automatically checked.

Here I gave “admin” as the user name for the database which is not present in drupal database that was created earlier using phpMyAdmin. So it throws an error.

errors.JPG

This is very important. Lots of problems come up at this point.

So before coming to this screen, create the database “drupal” with the default credentials “root” and blank(nothing) for password.

So under Database configuration:

  • Database name: drupal (which you have created using mysql gui tools)
  • Database username: root
  • Database password : empty
database configuration.JPG

Leave the default values in “Advanced options”. Click Save and continue.

“Set up database” and “Install site” are automatically checked.

In Configure site screen, under Site Information section, give

Configure site 1.JPG

In the same Configure site screen, under Administrator account section, give:

  • User name: admin
  • Email address: email@hotmail.com
  • Password: password
  • Confirm password: password

There is no need to change Server settings.

Remember the user name and password which are used for logging into drupal site with administrator credentials.

Configure site 2.JPG

Click Save and continue button.

This completes Drupal installation.

Finished.JPG

Don’t worry about the error message that mail was not configured.

On the left side, all are checked.

Click on “Your new site” link. Admin screen appears.

admin screen.JPG

Click on “My Account” link on the left side

Login with admin as username and password as password.

Then this screen appears:

Admin All modules.JPG

Left click on right side bottom corner WampServer icon and click on phpMyAdmin.

Notice that after the installation, 46 tables are created automatically.

tables.JPG

References

History

  • 26th May, 2009: Initial version

Links to Other CMS Installations

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

ambatisreedhar
Web Developer
India India
Member
I am Sreedhar Ambati working as a developer. I am having 6+ yrs of experience in Microsoft technologies like ASP,VB,ASP.Net, Vb.Net, C#.Net, Microsoft Dynamics CRM and Sharepoint Server 2007.
I used to blog at: http://ambatisreedharworks.wordpress.com and http://ambatisreedhar.spaces.live.com

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralMy vote of 5membermanoj kumar choubey5 Apr '12 - 1:47 
Nice
QuestionDrupal development is becoming hot!memberMember 811340726 Jul '11 - 3:00 
Thanks for this great share man! Drupal development topic is gaining its popularity day by day and I myself expect it to overcome Wordpress in the near time!
Generalhelp with drupal installationmembercyan7620 Jan '10 - 21:01 
Hi all, I follow all the directions, but I'm getting this message. webpage cannot be found. any clue?
 
this is where I'm stuck : Then in browser, type http://localhost/drupal/install.php.
 
thanks.
 
cyan76
GeneralAwesome I rated it a 5memberjasonp125 Jan '10 - 9:55 
I was wondering how to get drupal set up on some of my servers this was quite helpful
 

GeneralGoodmemberTomas Brennan1 Nov '09 - 9:03 
The article is good, :yes: my 2cents would be to show how to make this wamp server be more permanent...since inetmgr would start iis on boot up...what about modifying apache's config file to use a port other than 80 which is iis default...also...why wamp, why not xampp??? Also you did not explain in greater detail about how to set up a basic page under drupal..It would complement this article a bit more. Smile | :)
 

Best regards,
Tom.
 
#define STOOPID
#if STOOPID
Console.WriteLine("I'm stoopid!");
#endif

Generalit is a good article for beginnermemberguchangyuan14 Jun '09 - 15:05 
it is a good article for beginner
QuestionGreat article, but what is Drupal and why should i install it?memberKarijn8 Jun '09 - 3:21 
WTF | :WTF: Confused | :confused: Unsure | :~ Dead | X| Thumbs Down | :thumbsdown:
AnswerRe: Great article, but what is Drupal and why should i install it?memberRajanCodeGurus9 Jun '09 - 2:42 
[What is Drupal]
 
Developer

AnswerRe: Great article, but what is Drupal and why should i install it?memberDmiNi6 Oct '10 - 19:48 
Drupal is both a content management system (СMS), and environment for creating web-applications (CMF). It is very easy to create a personal blog or site, news portal, an online community with the help of Drupal . Sites on the CMS Drupal are already a full range of different tools to solve any problems in the development of the site. That is why Drupal development is so popular now

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 26 May 2009
Article Copyright 2009 by ambatisreedhar
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid