Cài đặt Drupal site sử dụng Putty (SSH client)

Phải có quyền root

[login root via PuTTY]
# cd /home/youraccountname
# wge t http://ftp.osuosl.org/pub/drupal/files/projects/drupal-x.x.tar.gz

[Note: the "x.x" should be replaced with the version of drupal you're installing, e.g. "5.1"]

# tar -zxvf drupal-5.1.tar.gz
# mv drupal-x.x/* drupal-x.x/.htaccess /home/youraccountname/public_html

[Note: See the note above regarding "x.x"]

# rm drupal-x.x.tar.gz
# cd public_html
# mkdir files
# chmod 777 files
# cd sites/all
# mkdir modules
# mkdir themes
# cd modules
# mkdir custom
# mkdir drupal-contrib
# cd ../
# cd themes
# mkdir custom
# mkdir drupal-contrib
# cd ../
# cd ../
# cd default
# chmod 777 settings.php
# mysql
mysql> CREATE DATABASE youraccountname_drupal;
mysql> GRANT ALL PRIVILEGES ON youraccountname_drupal.* TO 'your accountname_yourusername'@'localhost' IDENTIFIED BY 'yourpassword';
mysql> \q
[open your browser. enter your site's URL, and enter database information]
[go back to PuTTY to chmod on "settings.php"]
# chmod 755 settings.php
# logout
[back to browser, refresh browser, and then "visit new site" (or whatever the link says to new website), create first "superuser" account, etc.]