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
annie
Hi I am so glad I found your