PhpSysInfo

From KlavoWiki
Revision as of 02:16, 2 January 2014 by David (talk | contribs) (→‎CentOS)
Jump to navigationJump to search

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.


CentOS

cd /var/www/html
wget https://github.com/rk4an/phpsysinfo/tarball/master -O phpsysinfo.tar.gz
tar xvzf phpsysinfo.tar.gz
rm -f phpsysinfo.tar.gz
mv  rk4an-phpsysinfo-17e8e8b sysinfo
mv sysinfo/phpsysinfo.ini.new sysinfo/phpsysinfo.ini
cd

Arch Linux

Repository http://aur.archlinux.org/packages/phpsysinfo/

cd /srv/http
wget http://aur.archlinux.org/packages/ph/phpsysinfo/phpsysinfo.tar.gz
tar xvzf phpsysinfo.tar.gz
rm -f phpsysinfo.tar.gz
mv  phpsysinfo sysinfo
cd sysinfo
makepkg --asroot

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