在線rss閱讀聚合器lilina-0.7安裝筆記
從http://prdownloads.sourceforge.net/lilina/lilina-0.7.tar.gz?download下載lilina最新版lilina-0.7.tar.gz,從http://cn2.php.net/get/php-4.3.9.tar.gz/from/a/mirror和http://apache.justdn.org/httpd/下載php-4.3.9.tar.gz和apache_1.3.33.tar.gz,用ftp將三個(gè)文件放到服務(wù)器上(/funpower)
1、 安裝apache和php
#tar zxvf apache_1.3.33.tar.gz
#tar zxvf php-4.3.9.tar.gz
#cd apache_1.3.33
#./configure --prefix=/usr/local/apache
#cd php-4.3.9
#./configure --with-apache=../apache_1.3.33 --with-mysql --disable-debug --enable-track-vars
#cp php.ini-dist /usr/local/lib
#cd /usr/local/lib
#mv php.ini-dist php.ini
#cd apache_1.3.33
#./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a
#make
#make install
配置/usr/local/apache/conf/httpd.conf
加入:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
并修改以下幾項(xiàng):
Servername funpower_info.3322.org
DirectoryIndex index.php
將apache加入到啟動(dòng)項(xiàng):
#ee /etc/rc.local
加入如下一行:
/usr/local/apache/bin/apachectl start
重啟服務(wù)器,在/usr/local/apache/htdocs下新建一個(gè)test.php,內(nèi)容為,然后輸入http://yourdomain.com/test.php,如果能看到php-4.3.9的信息,則apache和php安裝成功。
2、安裝lilina-0.7
刪除/usr/local/apache/htdocs下的全面內(nèi)容,將lilina0.7文件夾下的所以內(nèi)容復(fù)制過(guò)去,并作如下修改:
#chmod 777 cache
#chmod 777 .myfeeds.data
#chown -R nobody:nobody htdocs
配置conf.php文件,內(nèi)容如下:
$BASEURL = 'http://lilina.sourceforge.net' ; // no trailling slash!
$USERNAME = 'funpower' ; //改自己的
$PASSWORD = '123456789' ; //改自己的
$SITETITLE = "funpower blog" ; //改自己的
$OWNERNAME = "guanjianfeng" ; //改自己的
$OWNEREMAIL = "guanjianfeng@jscpu.com" ; //改自己的
$DATAFILE = './.myfeeds.data' ; //不修改
$TIMEFILE = './.time.data' ; //不修改
$GOOGLE_KEY = '' ; // Use your Google WEB APIs key here. For info visit http://www.google.com/apis/
/*
IMPORTANT NOTE! Setting ENABLE_DELICIOUS to 1 will make lilina poll del.icio.us for tags.
THIS MAY RESULT TO DEL.ICIO.US BANNING YOUR IP!!!
Until del.icio.us officially allows such use, it is better to leave this to 0.
*/
$ENABLE_DELICIOUS = 0 ;
/*
Default cache expiration is set to 1 hour.
This can be overriden by loading index.php?force_update=1
*/
define('MAGPIE_CACHE_AGE',60 * 60);
?>
保存退出。重啟服務(wù)器,打開(kāi)首頁(yè),就能看到lilina-0.7的頁(yè)面了,進(jìn)入管理界面就能訂閱你自己喜歡的rss了 :)
參考文章
http://www.douzhe.com/article/data/2/649.html
相關(guān)文章
FreeBSD6.0Release+Squid+Socks5服務(wù)器架設(shè)筆記
FreeBSD6.0Release+Squid+Socks5服務(wù)器架設(shè)筆記...2007-05-05ubuntu 14.04 oracle 11g 64位數(shù)據(jù)庫(kù)安裝圖文教程
這篇文章主要介紹了ubuntu 14.04 oracle 11g 64位數(shù)據(jù)庫(kù)安裝圖文教程,需要的朋友可以參考下2017-05-05Linux操作系統(tǒng)12則經(jīng)典應(yīng)用技巧
Linux操作系統(tǒng)12則經(jīng)典應(yīng)用技巧...2006-10-10