PhpSysInfo: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
Line 10: Line 10:
= Installation =
= Installation =
phpSysinfo would have to be one of the most easies applictions to install.
phpSysinfo would have to be one of the most easies applictions to install.
== CentOS ==
<pre>
<pre>
cd /var/www/html
cd /var/www/html
Line 19: Line 22:
mv phpsysinfo.ini.new phpsysinfo.ini
mv phpsysinfo.ini.new phpsysinfo.ini
cd
cd
</pre>


== Arch Linux ==
<pre>
cd /usr/srv
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
mv phpsysinfo.ini.new phpsysinfo.ini
cd
</pre>
</pre>



Revision as of 11:46, 11 July 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.


CentOS

cd /var/www/html
wget http://github.com/rk4an/phpsysinfo/archive/v3.1.5.tar.gz
tar xvzf phpsysinfo-3.1.5.tar.gz
rm -f phpsysinfo-3.1.5.tar.gz
mv  phpsysinfo-3.1.5 sysinfo
cd sysinfo
mv phpsysinfo.ini.new phpsysinfo.ini
cd


Arch Linux

cd /usr/srv
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
mv phpsysinfo.ini.new phpsysinfo.ini
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