PhpSysInfo
This material is work-in-progress ... Do not follow instructions here until this notice is removed. |
phpSysInfo is a simple apllication that displays information about the host it's running on.
The following stuff is shown
- Uptime
- CPU
- Memory
- SCSI, IDE, PCI
- Ethernet
- Floppy
- Video Information
Webserver configuration
Set up Lighttpd with PHP support...
Installation of pypSysInfo
Now get the current release of phpSysInfo.
wget http://downloads.sourceforge.net/project/phpsysinfo/phpsysinfo/3.0.11/phpsysinfo-3.0.11.tar.gz
Unpack the archive in the current location
tar -xzf phpsysinfo-3.0.11.tar.gz
Copy all files to the webserver data directory or make a symlink (here all files are copied to the webserver directory)
cp -r phpsysinfo /var/www/localhost/htdocs/phpsysinfo
A config.php is needed to run phpSysInfo. The fastest way is to make a copy of the template file.
cp /var/www/localhost/htdocs/phpsysinfo/config.php.new /var/www/localhost/htdocs/phpsysinfo/config.php
Restart lighttpd
/etc/init.d/lighttpd restart
Now the page is up and running