Drush: Install the latest drupal version on the site root

Popular open source CMS
Post Reply
KBleivik
Site Admin
Posts: 184
Joined: Tue Sep 29, 2009 6:25 pm
Location: Moss Norway
Contact:

Drush: Install the latest drupal version on the site root

Post by KBleivik »

1. Background.

I am on a shared server and want to install the latest recommended stable version of drupal on an addon domain. First you should read this thread:

Drupal, drush and putty, fast and secure.

2. start PuTTY, Drush and navigate to the correct folder of the main domain.

Note: You may have another (folder) structure etc. on your site.

Code: Select all

cd /home/user/public_html/
source  .bashrc
3. Upload the lastest version of drupal to your site.

Code: Select all

pwd
drush pm-download --drupal-project-rename=youraddondomain.com drupal
4. Create a MySQL database and install drupal.

Code: Select all

cd /home/user/public_html/youraddondomain.com
drush site-install \
--db-url=mysql://database_user:databasepassword@localhost/databasename\
--site-name=YourAddOnDomain.com  \
standard
5. If you get problems, read more on the drush site.

More specifically, you may find more information on the site-install command.

6. Litterature

http://www.packtpub.com/drush-drupal-co ... guide/book

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests