1.
下載 Discuz! 6.0.0
wget 'http://download.discuz.net/6.0.0/Discuz!_6.0.0_TC_UTF8.zip'
2.
解壓縮
unzip 'Discuz!_6.0.0_TC_UTF8.zip'
3.
將 upload 內資料夾內的所有檔案搬到 論壇資料夾下
cp * ~/WWW/forum
4.
將論壇資料夾下,以下的資料夾與檔案 變更權限為 777
* ./templates
* ./attachments
* ./customavatar
* ./forumdata
* ./forumdata/cache
* ./forumdata/templates
* ./forumdata/threadcaches
* ./forumdata/logs
chmod -R 777 templates
chmod 777 attachments customavatar forumdata forumdata/cache forumdata/templates forumdata/threadcaches /forumdata/logs
5.
編輯設定檔 config.inc.php
設定以下資訊
$dbhost = 'localhost'; // database server
$dbuser = 'dbuser'; // database username
$dbpw = 'dbpw'; // database password
$dbname = 'discuz'; // database name
$adminemail = 'admin@your.com'; // admin email
$dbreport = 0; // send db error report? 1=yes, 0=no
以下安裝說明沒說,但小弟建議先行設定
$cookiepre = 'cdb_'; // prefix of cookie
$tablepre = 'cdb_'; // prefix of table in database
6.
執行安裝
http://domain_name/forum/install.php
沒問題的話就安裝成功了
- Sep 23 Sun 2007 15:13
ubuntu 7.04 安裝 Discuz! 6.0.0 UTF-8 繁中版
全站熱搜
留言列表
發表留言