Blog server to install: Simple PHP Blog (sphpblog)
Information source: http://sourceforge.net/projects/sphpblog/
This installation has been tested on the following platform:
.- Asus WL-500g
.- Firmware: Oleg 126.96.36.199-7b
Blog server release: 0.4.9
i.- thttpd web server (php v5.0.4)
ii.- root file system on the external USB drive
iii.- telnet/ssh deamon installed and active
iv.- the thttpd web server folder is empty (this HowTo will not get into details about how to get to work two or more different sites under the same web server engine)
v.- the user knows how to make ftp transfers between a PC and the WL-500g
vi.- The user knows how to access a web page on the WL-500g via the web browser
Download Blog Server
Go to the following link and download the blog server file to your computer.
At the moment of writing this HowTo, the file to download was named sphpblog-beta (sphpblog049.zip)
Unzip the file on your computer and transfer all the unziped files to the WL-500g web server folder.
Prepare the php session folder
Open a telnet/ssh session on you WL-500g.
Go to the WL-500g web server folder and execute the following:
Open your web browser and get access to the web page "info.php" on your WL-500g
echo "<?phpinfo()?>" > info.php
Search for string session.save_path. Take note about the given value.
Go back to the telnet/ssh session on your WL-500g and execute:
where [session.save_path] is the value found on the web page.
chmod 777 [session.save_path]
Configuring and running the blog
Open the web browser and write the url of your web server on the WL-500g. You should automatically get the configuration page of the blog. Follow all the instructions.
If you get page not found, try accessing "index.php"
1) thttpd dramatically loads the CPU of the WL-500g while serving pages
2) thttpd retains circa 40% of the WL-500g RAM when using this blog server
3) No less than 12MB swap memory is needed
4) The response time of served pages I get varies between 6 and 16 seconds
A1) IMHO I think of there is enough information on this site about how to get two or more sites running under the same web server (thttpd) engine. But if you consider that a new tutorial can help do not hesitate to contact me via a private message. Depending on the amount of requests I get I will proceed to write a HowTo about it.