PhpSysInfo: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
 
(5 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>
= Installation =
phpSysinfo would have to be one of the most easies applictions to install.




== CentOS ==
= Debian Prerequisite =
<pre>
<pre>
cd /var/www/html
apt-get -y install git apache2 php5
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
</pre>
</pre>




== Arch Linux ==
= Installation =
Repository http://aur.archlinux.org/packages/phpsysinfo/
<pre>
<pre>
cd /srv/http
git clone https://github.com/phpsysinfo/phpsysinfo.git /var/www/html/sysinfo
wget http://aur.archlinux.org/packages/ph/phpsysinfo/phpsysinfo.tar.gz
mv /var/www/html/sysinfo/phpsysinfo.ini.new /var/www/html/sysinfo/phpsysinfo.ini
tar xvzf phpsysinfo.tar.gz
rm -f phpsysinfo.tar.gz
mv phpsysinfo sysinfo
cd sysinfo
mv phpsysinfo.ini.new phpsysinfo.ini
cd
</pre>
</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 44: 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