Installs LifeType for Students架設LifeType(Resolve Big5 Code)

Why would choose LifeType? Because it is the multiple blog and is matching our demand. However I detect that use the Big5 will produce disorderly yard after install version lifetype-1.1.2 disorderly code. Use the Libiconv for Linux and Convertz for Windows all can't resolve my problem. Hence I used the most stupid method to install LifeType:

If you have the big5 code problem. Skip the first five steps and Start from the sixth step.

Step 1:

Download the version lifetype-1.06 . Because this version can support Big5 code.

http://prdownloads.sourceforge.net/lifetype/lifetype-1.0.6.tar.gz?download

#tar zxvf lifetype-1.0.6.tar.gz

#mv lifetype-1.0.6 blog

//Rename : lifetype-1.0.6 become blog

#chmod 777 blog/config/config.properties.php

//Let config.properties.php be rewritable.

Step 2:

Create a database user for this lifetype

Step 3:

Open your browser and connect

http://your.domainname.com/blog/wizard.php

Step 4:

Next by next...

Step5:

#rm -rf blog/wizard.php

Now, LifeType-1.0.6 is done. But I want to upgrade to version lifetype-1.1.2

Step6:

Backup the file blog/config/config.properties.php and move it to other directory.

Delete all of the blog directory.

#rm -rf blog/*

//Delete all files(config.properties.php excepted)

Step7:

Download LifeType-1.1.2 from

http://prdownloads.sourceforge.net/lifetype/lifetype-1.1.2.tar.gz

and command

#tar zxvf lifetype-1.1.2.tar.gz

#mv lifetype-devel-20061112/* blog/

And then cover blog/config/config.properties.php with the bcakup file

config.properties.php

#mv config.properties.php blog/cinfig/config.properties.php

mv: Cover blog/cinfig/config.properties.php or not? y

Step 8:

Connect http://your.domainname.com/blog/wizard.php again

and next by next. It will upgrade automaticly.

Step 9:

#rm -rf blog/wizard.php

Well done. ^^


為什麼會選擇LifeType呢?因為他是多人使用的blog,正合需要。不過在安裝lifetype-1.1.2版的之後卻發現,使用Big5會產生亂 碼,使用Linux上的Libiconv及Windows上的Convertz均解決不了我的問題。於是用了最笨的方法來安裝LifeType:

首先先安裝有支援Big5的版本,現在我知道的就是lifttype-1.0.6版的,再升級到最新版的(目前是lifetype-1.1.2版)

步驟1:

下載支援Big5的lifetype-1.06 .http://prdownloads.sourceforge.net/lifetype/lifetype-1.0.6.tar.gz?download

然後解壓縮

#tar zxvf lifetype-1.0.6.tar.gz

#mv lifetype-1.0.6 blog

//重新命名為blog(資料夾名稱隨便自己設置)

#chmod 777 blog/config/config.properties.php

//把 config.properties.php設為可讀寫,安裝時資料會寫入此一檔案。

步驟 2:

新增一個給LifeType的資料庫使用者

步驟 3:

打開瀏覽器在網址列填上您的LifeType的網址,後面加上/wizard.php,像這樣

http://your.domainname.com/blogsite/wizard.php

步驟 4:

依序填完資料然後Next by next...

步驟 5:

#rm -rf blog/wizard.php

//移除安裝精靈wizard.php

現在1.0.6版的已經裝好了. 但是現再要一次升級到 lifetype-1.1.2

步驟 6:

備份檔案 blog/config/config.properties.php然後移到別的資料夾去。

接著,刪除所有檔案,只留下config.properties.php

#rm -rf blog/*

//刪除所有檔案(config.properties.php除外)

步驟 7:

下載 LifeType-1.1.2

http://prdownloads.sourceforge.net/lifetype/lifetype-1.1.2.tar.gz

接著

#tar zxvf lifetype-1.1.2.tar.gz

#mv lifetype-devel-20061112/* blog/

//把解壓縮後, lifetype-1.1.2裡的所有檔案移到blog底下

用備份起來的config.properties.php 去覆蓋現在的config.properties.php

#mv config.properties.php blog/cinfig/config.properties.php

mv: 是否覆蓋 blog/cinfig/config.properties.php or not? y

步驟 8:

再次連上 http://your.domainname.com/blog/wizard.php

這時候安裝精靈就會依不依不當您升級了。

步驟 9:

移除wizard.php

#rm -rf blog/wizard.php

結束 ^^

0 Responses