PhpSysInfo: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 4: Line 4:
phpSysinfo would have to be one of the most easiest applications to install.
phpSysinfo would have to be one of the most easiest applications to install.


= CentOS =
= CentOS Prerequisite =
<pre>
<pre>
yum -y install httpd php php-xml php-mbstring
yum -y install git httpd php php-xml php-mbstring
</pre>


cd /var/www/html
 
wget https://github.com/rk4an/phpsysinfo/tarball/master -O phpsysinfo.tar.gz
= Debian Prerequisite =
tar xvzf phpsysinfo.tar.gz
<pre>
rm -f phpsysinfo.tar.gz
apt-get -y install git apache2 php5
mv  phpsysinfo-phpsysinfo-d06b02a sysinfo
mv sysinfo/phpsysinfo.ini.new sysinfo/phpsysinfo.ini
cd
</pre>
</pre>


= Debian =
 
= Installation =
<pre>
<pre>
apt-get -y install apache2 php5
git clone https://github.com/phpsysinfo/phpsysinfo.git /var/www/html/sysinfo
 
mv /var/www/html/sysinfo/phpsysinfo.ini.new /var/www/html/sysinfo/phpsysinfo.ini
cd /var/www
wget https://github.com/rk4an/phpsysinfo/tarball/master -O phpsysinfo.tar.gz
tar xvzf phpsysinfo.tar.gz
rm -f phpsysinfo.tar.gz
mv  phpsysinfo-phpsysinfo-d06b02a sysinfo
mv sysinfo/phpsysinfo.ini.new sysinfo/phpsysinfo.ini
cd
</pre>
</pre>



Latest revision as of 00:10, 20 June 2016

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.

phpSysinfo would have to be one of the most easiest applications to install.

CentOS Prerequisite

yum -y install git httpd php php-xml php-mbstring


Debian Prerequisite

apt-get -y install git apache2 php5


Installation

git clone https://github.com/phpsysinfo/phpsysinfo.git /var/www/html/sysinfo
mv /var/www/html/sysinfo/phpsysinfo.ini.new /var/www/html/sysinfo/phpsysinfo.ini


Access

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