Download Lilina latest version from Http://prdownloads.sourceforge.net/lilina/lilina-0.7.tar.gz?download lilina-0.7.tar.gz, from http:// Cn2.php.net/get/php-4.3.9.tar.gz/from/a/mirror and http://apache.justdn.org/httpd/download php-4.3.9.tar.gz and apache_ 1.3.33.tar.gz, use FTP to put three files on the server (/funpower)
1. Install Apache and 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
Configure/usr/local/apache/conf/httpd.conf
Join:
AddType application/x-httpd-php. php
AddType Application/x-httpd-php-source. Phps
and modify the following:
Servername funpower_info.3322.org
DirectoryIndex index.php
To add Apache to a startup item:
#ee/etc/rc.local
Add the following line:
/usr/local/apache/bin/apachectl start
Restart the server, create a new test.php under/usr/local/apache/htdocs, and then enter http://yourdomain.com/ test.php, if you can see the php-4.3.9 information, the Apache and PHP installations are successful.
2. Installation lilina-0.7
Delete the full content under/usr/local/apache/htdocs, copy the contents of the lilina0.7 folder to the past, and make the following modifications:
#chmod 777 Cache
#chmod 777. Myfeeds.data
#chown-R Nobody:nobody Htdocs
Configure the conf.php file as follows:
$BASEURL = ' http://lilina.sourceforge.net '; No trailling slash!
$USERNAME = ' funpower '; To change their
$PASSWORD = ' 123456789 '; To change their
$SITETITLE = "Funpower blog"; To change their
$OWNERNAME = "Guanjianfeng"; To change their
$OWNEREMAIL = "guanjianfeng@jscpu.com"; To change their
$DATAFILE = './.myfeeds.data '; Do not modify
$TIMEFILE = './.time.data '; Do not modify
$GOOGLE _key = '; Use your The Google WEB APIs key here. For info visit http://www.google.com/apis/
/*
IMPORTANT note! Setting enable_delicious to 1 'll make Lilina poll del.icio.us for tags.
This may be to DEL. Icio. US Banning YOUR IP!!!
Until del.icio.us officially allows such use, the It is better to leave-to-0.
*/
$ENABLE _delicious = 0;
/*
Default cache expiration is set to 1 hour.
This can is overriden by loading index.php?force_update=1
*/
Define (' Magpie_cache_age ', 60 * 60);
?>
Save exit. Restart the server, open the first page, you can see the lilina-0.7 pages, access to the management interface can subscribe to your favorite rss:)
Reference articles
Http://www.douzhe.com/article/data/2/649.html