2010年5月8日 星期六

水滴安裝環境

作業系統環境:Microsoft® Windows Server™ 2003

說明:已經安裝上去,不想重新安裝,所以沒有圖做輔助說明。

安裝環境資源如下:

官方資源:
必須安裝的軟體如下:

HTTP Server:Apache 2.5.9 (可以找自己習慣的版本)
  • Apache 2.2.4
  • PHP 5.2.3
  • MySQL 5.0.45
  • phpMyAdmin-2.10.2
Drupal 6.16主程式:主程式(6.x版本模組較其他版本穩定成熟)

Drupal繁體中文化程式 : 主程式
說明 :
將此Drupal 6 翻譯包格式的檔案,解壓縮後丟到你的 Drupal 根目錄裡,就可以在安裝時切換到 中文的安裝介面,或是在安裝後匯入各模組的中文翻譯。


安裝步驟 :

1.安裝Apache 2.5.9
  • 主機網址: localhost
  • root密碼 : 先簡單設一組,到時再進去apache更改密碼或是新增一筆使用者再刪掉root帳號
  • 其他皆為內設選項,打勾的部分,就給它全部勾。
安裝後,在瀏覽器輸入 http://localhost
選擇 phpMyAdmin輸入帳號密碼登入資料庫。
(印象中,第一次只需要在帳號那輸入root,無需輸入密碼。)

建立新的資料庫給水滴系統平台使用,EX:drupal。

記住,一定要更新root密碼
建議是新增使用者,再把root給刪除




2.
將Drupal-6.16.tar.gz 解壓縮到 C:\AppServ\www,
並更新資料夾名稱為drupal
這個名子將會影響到以後的網址名稱。
Ex: http://localhost/drupal

3.將Drupal繁體中文化程式解壓縮到C:\AppServ\www\drupal

4.開啟瀏覽器,輸入 http://localhost/drupal
開始執行平台安裝。

Drupal 首頁畫面

Drupal錯誤訊息安裝(引用 GE極易資訊)

訊息:
The Drupal installer requires that you create a settings file as part of the installation process.
Copy the ./sites/default/default.settings.php file to ./sites/default/settings.php.
Change file permissions so that it is writable by the web server. If you are unsure how to grant file permissions, please consult the on-line handbook.
More details about installing Drupal are available in INSTALL.txt.

解決:將預設設定檔複製出來。copy ./sites/default/default.settings.php 到 ./sites/default/settings.php

訊息:
Failed to select your database on your MySQL database server, which means the connection username and password are valid, but there is a problem accessing your data. MySQL reports the following message: Unknown database 'drupal'.
Are you sure you have the correct database name?
Are you sure the database exists?
Are you sure the username has permission to access the database?
For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.

解決:可由phpMyAdmin先在MySQL中建立資料庫。

訊息:
Consider increasing your PHP memory limit to 16M to help prevent errors in the installation process. Increase the memory limit by editing the memory_limit parameter in the file C:\WINDOWS\php.ini and then restart your web server (or contact your system administrator or hosting provider for assistance). See the Drupal requirements for more information. (Currently using PHP memory limit 8M)
解決:修改\WINDOWS\php.ini中的memory_limit = 8M改成memory_limit = 16M。

訊息:warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\AppServ\www\cms\drupal-test\includes\mail.inc on line 193.
Unable to send e-mail. Please contact the site admin, if the problem persists.
使用windows架appserv,所有沒有mail server可發信件,會員也將收不到啟動mail。

解決:在Drupal中,安裝模組:
SMTP Authentication Support 6.x-1.0-beta3 Allows the sending of site e-mail through an SMTP server of your choice.

沒有留言:

張貼留言