PhpSysInfo: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
Line 12: Line 12:
<pre>
<pre>
cd /var/www/html
cd /var/www/html
wget http://waix.dl.sourceforge.net/project/phpsysinfo/phpsysinfo/3.0.19/phpsysinfo-3.0.19.tar.gz
wget http://waix.dl.sourceforge.net/project/phpsysinfo/phpsysinfo/3.1.1/phpsysinfo-3.1.1.tar.gz
tar xvzf phpsysinfo-3.0.19.tar.gz
tar xvzf phpsysinfo-3.1.1.tar.gz
rm -f phpsysinfo-3.0.19.tar.gz
rm -f phpsysinfo-3.1.1.tar.gz
mv  phpsysinfo sysinfo
mv  phpsysinfo sysinfo
cd sysinfo
cd sysinfo

Revision as of 01:22, 27 March 2013

phpSysInfo is a PHP script that displays information about the host being accessed. It will displays things like Uptime, CPU, Memory, SCSI, IDE, PCI, Ethernet, Floppy, and Video Information.

Prerequisite

Assuming that httpd is already installed.

yum -y install php php-xml php-mbstring

Installation

phpSysinfo would have to be one of the most easies applictions to install.

cd /var/www/html
wget http://waix.dl.sourceforge.net/project/phpsysinfo/phpsysinfo/3.1.1/phpsysinfo-3.1.1.tar.gz
tar xvzf phpsysinfo-3.1.1.tar.gz
rm -f phpsysinfo-3.1.1.tar.gz
mv  phpsysinfo sysinfo
cd sysinfo
mv config.php.new config.php
cd

Now all you need to do is from a WEB browser type in your servers IP address or FQDN followed by /sysinfo and see all the wonderful information. You will need to make sure that the WEB services are installed and running for this to work.
Example

http://192.168.1.11/sysinfo