Installing Drupal Using Drush

  • 10 October 2012
  • mohit.aghera

Hi All,

Welcome to my blog, and to the world of Drupal and Opensource.

Let me share you my experience of installing Drupal using Drush.

Drush is preety awesome command line tool for Drupal developers.


 If you haven't already installed Drush check

One of the great features of Drush for Drupal 7 is you can do a brand new site install with two simple commands. First setup a MySQL user and database, and note the username and password.

Then run the following, making sure to replace the user and passwords names for your local setup:

drush dl drupal-7.x
drush site-install standard --account-name=admin --account-pass=admin --db-url=mysql://YourMySQLUser:RandomPassword@localhost/YourMySQLDatabase

And boooooom, the script runs and you're done.

If you want some specific version then you can try out  like:

drush dl drupal-7.2 which will give specific version while as drush dl drupal-7.x will give you the latest stable version of Drupal 7

*Note: The Drupal username and password seemed to always end up as admin/admin no matter what I set them to. So, I suggest just using those and then changing them after you login to your new site.



Saurav's picture


It helped me a lot,,

Keep writing

I know this if off topic but I'm looking into starting my own blog and was curious what all is required to get setup? I'm assuming having a blog like yours would cost a pretty penny? I'm not very web smart so I'm not 100% positive. Any recommendations or advice would be greatly appreciated. Appreciate it

I'm not sure why but this website is loading incredibly slow for me. Is anyone else having this problem or is it a issue on my end? I'll сheck back
later on and see if the ρroblem stіll eхists.

mohit.aghera's picture

Hi, Thanks for the reply..

Possible reason could be the update of DrupalGardens platfom. You might be knowing my blog is hosted on Drupal Gardens, so they might be updating or some time it runs slow for me too..


I know this if off topic but I'm loking into starting my own blog and was wondering what all is required to get setup?

I'm assuming having a blog like yours would cost a pretty penny?
I'm not very internett smart so I'm not 100% sure.
Any tips or advice would be greatly appreciated.


dureri de cap's picture

Hi there would you mind stating which blog platform you're working with? I'm going to start my own blog in the near future but I'm having a tough time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I'm looking for something unique.

P.S My apologies for getting off-topic but I had to ask!

mohit.aghera's picture

Hi  dureri de cap,

I am using Drupal gardens platform which uses Drupal CMS as backend.

You can create your blog on

Just register and create your own blog

coupon shit's picture

Hello there! Do you use Twitter? I'd like to follow you if that would be okay. I'm
absolutely enjoying your blog and look forward to new updates.

mohit.aghera's picture

Thanks for the such feedback..

Here is my twitter profile

micheljhon's picture

u if that would be okay. I'm
absolutely enjoying your blog and look forward to new updates...

Gabinete Grafológico


Lilian's picture

You really make it appear really easy with your presentation however I
to find this topic to be really one thing which I believe I'd never understand. It seems too complex and extremely vast for me. I am taking a look ahead for your subsequent submit, I'll try to get the hold of it!

What's up, I read your blogs daily. Your writing style is witty, keep it up!

Have you ever thought about adding a little bit more than just your
articles? I mean, what you say is important and everything.

Nevertheless think of if you added some great visuals or videos to give your posts more,
"pop"! Your content is excellent but with pics and video clips, this blog
could certainly be one of the best in its field.

Good blog!

mohit.aghera's picture

Thanks a lot..I will try to add videos and image from now onwards..

It will help to undertand topic more clearly..

minecraft net's picture

Do you mind if I quote a few of your articles as long as I provide credit
and sources back to your weblog? My blog site is in the exact same area of interest as yours and
my visitors would genuinely benefit from a lot of the information you provide here.
Please let me know if this ok with you. Thanks a lot!

mohit.aghera's picture

You can re-share my articles. I am okay with this..

agen Pulsa's picture

This quality of service that we're talking about, this quality of service profile, we want to reduce the amount to take a firmer stance against the slowing economic conditions. And from there, to America, so they really didn't have a good idea six telecommunications giants months and a year later how well they had done in their project.

Gayle Vadnais's picture

Hi friends, how is the whole thing, and what
you would like to say regarding this piece of writing, in my view its genuinely remarkable in support of me.

One of the ways to eliminate E-coli bacteria is to drink a glass of
water to dilute your urine and urinating after intercourse to prevent
bacteria and fungal contamination. This suggests that he is unable to
produce sufficient blood cells including the white wine
varieties, had very little control over my e coli treatment uti |
bladder. Her pains may in themselves make her worried producing a vicious circle
of worsening symptoms.

What's up, just wanted to mention, I loved this blog post. It was helpful. Keep on posting!

I think the admin of this web page is genuinely working hard in support
of his site, as here every stuff is quality based material.

Free Date's picture

I couldn't resist commenting. Well written!

Because the admin of this site is working, no hesitation very soon it will be renowned, due to its quality contents.

Craig's picture

Aside from Drush, what are the other options for installing Drupal? free annual credit reports from all 3 bureaus

This is the perfect blog for anyone who wants to know about this topic. You know so much its almost hard to argue with you.

Thanks for sharing tese very helpful information! More power to your blog

Grants for Single Mothers azr1623a

Good post. I learn something totally new and challenging on sites I stumbleupon everyday.
It will always be exciting to read through content from other writers and use something from other sites.

Hi there, the whole thing is going fine here and ofcourse every
one is sharing facts, that's really good, keep up writing.

Is drush the best option? Is it a large file?  g0alp12 best night cream brand

I have learn several just right stuff here. Certainly price bookmarking for revisiting.
I wonder how so much attempt you place to create one of these magnificent
informative web site.

Brucewayne's picture

I was looking for a suitable tool for installing new sites. I was looking for a good command line tool. Looks like drush can help me here. If it works I will definitely come back here to thank you. Thanks for sharing this valuable info.

window operating system

rodzinny's picture

I read this article fully about the resemblance of most recent and earlier technologies, it's awesome article.

Heya this is kind of of off topic but I was wanting to know if blogs use WYSIWYG editors
or if you have to manually code with HTML. I'm starting a blog soon but have no coding experience so
I wanted to get advice from someone with experience.

Any help would be enormously appreciated!

nobelboy's picture

A very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. Great work

buy adult traffic

Add new comment