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.]
Unsigned version
18 hours 50 min ago
18 hours 50 min ago
1 day 21 hours ago
2 days 8 hours ago
2 days 21 hours ago
5 days 21 hours ago
6 days 1 hour ago
1 week 1 day ago
1 week 1 day ago
2 weeks 9 hours ago