Using Drush to Install Drupal 7

You can follow these simple directions and use Drush to easily install your new Drupal 7 website. These commands work well on a Linux operating system. If you are using Quickstart, there are some built in commands to make this process even simpler. See Using Quickstart and Drush to Install Drupal 7.
 
Let’s download the latest version of Drupal 7
 
drush dl
# downloads the latest version of Drupal from www.drupal.org
 
ls
# is for listing. To view directory listing. Similar to the DOS command, dir
 
mv drupal-7.9/ test.dev
# renames the Drupal folder to test.dev
 
cd test.dev
# change directory to test.dev
 
ls
# to see directory listing
 
cd sites/all
# change directory to sites/all
 
mkdir modules themes
# make directory modules and directory themes
 
drush dl devel adaptivetheme
# drush downloads specified modules and themes. Also puts modules in modules folder and themes into theme folder
 
cd ../default
 
cp default.settings.php settings.php
 
cd ..

chmod 777 default -R
# this will give Drupal read and write permissions for default folder and settings.php
 
Go into phpmyadmin and create new database for the new website
 
Set up your vhosts and apache config for the new domain.
 
Open your browser and type in:
 
http://test.dev
 
You will see the Drupal install screen. Enter your database information and proceed with setting up your new Drupal website.

Now you can change the file permissions to be more secure.

cd default
chmod 644 settings.php

cd ..
chmod 755 default

Comments

Buy yourself a great looking

Buy yourself a great looking Replica Watches can give you extra charm and sense of profession. You will enjoy the wonderful feeling the Replica Rolex Watches brings to you ever day and get success eventually.I like and use watchsuk.co.uk for all of my purchases because I find them very reliable when it comes to the quality of the Longines Watches UK. They have great customer service and it has a homely feel of Breitling Replica as well.

Thanks for the great post.

Thanks for the great post. Happy New Years!