Highslide for Wordpress Plugin

cd /home/u940105/www
wget http://ftp.drupal.org/files/projects/drupal-6.10.tar.gz
wget http://ftp.drupal.org/files/projects/zh-hant-6.x-1.1.tar.gz
wget http://ftp.drupal.org/files/projects/zh-hans-6.x-1.0.tar.gz
wget http://ftp.drupal.org/files/projects/genesis-6.x-1.2.tar.gz
wget http://ftp.drupal.org/files/projects/genesis_zine-6.x-1.2.tar.gz
wget http://ftp.drupal.org/files/projects/rootcandy-6.x-1.0.tar.gz
tar zxvf drupal-6.10.tar.gz
tar zxvf zh-hant-6.x-1.1.tar.gz -C drupal-6.10/
tar zxvf zh-hans-6.x-1.0.tar.gz -C drupal-6.10/
mkdir drupal-6.10/sites/all/themes
tar zxvf genesis-6.x-1.2.tar.gz -C drupal-6.10/sites/all/themes/
tar zxvf genesis_zine-6.x-1.2.tar.gz -C drupal-6.10/sites/all/themes/
tar zxvf rootcandy-6.x-1.0.tar.gz -C drupal-6.10/sites/all/themes/
rm -rf drupal-6.10.tar.gz zh-hant-6.x-1.1.tar.gz zh-hans-6.x-1.0.tar.gz genesis-6.x-1.2.tar.gz genesis_zine-6.x-1.2.tar.gz rootcandy-6.x-1.0.tar.gz
mv drupal-6.10 drupal
chmod a+w drupal/sites/default
mv drupal/sites/default/default.settings.php drupal/sites/default/settings.php

vi drupal/sites/default/settings.php
#92行 $db_url = ‘mysql://username:password@localhost/databasename';
#改成自己的資料

#執行 http://u940105.dyndns.biz/drupal/install.php 進行安裝

#如果發現500錯誤,則
vi /etc/httpd/conf/httpd.conf
#在裡面新增
<directory “/home/u940105/www/drupal>
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</directory>
service httpd restart

#安裝完之後會提示要取消設定資料夾的權限
chmod go-w drupal/sites/default

圖文完整版(對外連結)

Related Posts with Thumbnails
留下迴響