1.先將舊的資料夾刪除
rm -Rf /var/www/lifetype
2.備齊相關資料mysql 的帳號 密碼 所要安裝的資料庫名稱
3.請至http://lifetype.net/下載lifetype-1.2.8.tar.gz
tar zxvf lifetype-1.2.8.tar.gz
mv lifetype-1.2.8 /var/www/lifetype
4.chmod 777 /var/www/lifetype/config/config.properties.php
以下這兩項理論上已經是777
chmod 777 /var/www/lifetype/tmp
chmod 777 /var/www/lifetype/gallery
5.打開瀏覽器網址:http://你的網址/lifetype/wizard.php
把相關設定打進去
6.chmod 644 /var/www/lifetype/config/config.properties.php
將此檔案權限改回來
7.rm -Rf /var/www/lifetype/wizard.php
要先做完6 、7兩項才能完成安裝
8.更改/var/www/lifetype/.htaccess如下
RewriteBase /lifetype/
ErrorDocument 401 /lifetype/error.php
ErrorDocument 403 /lifetype/error.php
ErrorDocument 404 /lifetype/error.php
DirectoryIndex summary.php
9.編輯 /et/apache2/apache2.conf
加上
<Directory "/var/www/lifetype">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
重新開啟apache2
10.將templates擁有者改為www-data以便使用模組編輯器
台中市某國中資訊組長.....
1.何謂eclass?
架設班級網站的php and mysql 套件
2.安裝方法下載
請到這邊下載
http://1001.idv.tw/
3.安裝前修改方式
a. 修改php.ini
欲執行《MyeClass架站機》程式,請務必更改php.ini的兩項參數設定,請更改為以下:
=============================================
1.short_open_tag = On
2.register_globals = On
=============================================
注意
b2d預設register_globals = Off
因此要放在個人家目錄中要設定
/home/user/.htaccess
======================================
加入
php_value register_globals on
======================================
跟 修改
/etc/apache2/mods-available/userdir.conf
======================================
加入
AllowOverride All
註解掉
AllowOverride FileInfo AuthConfig Limit
變成
#AllowOverride FileInfo AuthConfig Limit