PhpSysInfo: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
[http://phpsysinfo.sourceforge.net/ phpSysInfo] is a PHP script that displays information about the host being accessed.
[http://phpsysinfo.sourceforge.net/ 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.
It will displays things like Uptime, CPU, Memory, SCSI, IDE, PCI, Ethernet, Floppy, and Video Information.
<br><br>
phpSysinfo would have to be one of the most easiest applications to install.


= Prerequisite =
= CentOS Prerequisite =
Assuming that httpd is already installed.
<pre>
<pre>
yum -y install php php-xml php-mbstring
yum -y install git httpd php php-xml php-mbstring
</pre>
</pre>
= Debian Prerequisite =
<pre>
apt-get -y install git apache2 php5
</pre>


= Installation =
= Installation =
phpSysinfo would have to be one of the most easies applictions to install.
<pre>
<pre>
cd /var/www/html
git clone https://github.com/phpsysinfo/phpsysinfo.git /var/www/html/sysinfo
wget http://waix.dl.sourceforge.net/project/phpsysinfo/phpsysinfo/3.1.1/phpsysinfo-3.1.1.tar.gz
mv /var/www/html/sysinfo/phpsysinfo.ini.new /var/www/html/sysinfo/phpsysinfo.ini
tar xvzf phpsysinfo-3.1.1.tar.gz
</pre>
rm -f phpsysinfo-3.1.1.tar.gz
mv  phpsysinfo sysinfo
cd sysinfo
mv config.php.new config.php
cd


</pre>


= 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.<br>
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.<br>
'''Example'''
'''Example'''
Line 28: Line 30:
</pre>
</pre>


[[Category : Linux]]
[[Category : Linux]] [[Category : Raspbian]]

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