PhpSysInfo: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
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 =
Assuming that httpd is already installed.
<pre>
<pre>
yum -y install php php-xml php-mbstring
yum -y install httpd php php-xml php-mbstring
</pre>


= Installation =
phpSysinfo would have to be one of the most easies applictions to install.
== CentOS & Raspbian ==
<pre>
cd /var/www/html
cd /var/www/html
wget https://github.com/rk4an/phpsysinfo/tarball/master -O phpsysinfo.tar.gz
wget https://github.com/rk4an/phpsysinfo/tarball/master -O phpsysinfo.tar.gz
tar xvzf phpsysinfo.tar.gz
tar xvzf phpsysinfo.tar.gz
rm -f phpsysinfo.tar.gz
rm -f phpsysinfo.tar.gz
mv  rk4an-phpsysinfo-17e8e8b sysinfo
mv  phpsysinfo-phpsysinfo-d06b02a sysinfo
mv sysinfo/phpsysinfo.ini.new sysinfo/phpsysinfo.ini
mv sysinfo/phpsysinfo.ini.new sysinfo/phpsysinfo.ini
cd
cd
</pre>
</pre>


== Arch Linux ==
= Debian =
Repository http://aur.archlinux.org/packages/phpsysinfo/
<pre>
<pre>
cd /srv/http
apt-get -y install apache2 php5
wget http://aur.archlinux.org/packages/ph/phpsysinfo/phpsysinfo.tar.gz
 
cd /var/www
wget https://github.com/rk4an/phpsysinfo/tarball/master -O phpsysinfo.tar.gz
tar xvzf phpsysinfo.tar.gz
tar xvzf phpsysinfo.tar.gz
rm -f phpsysinfo.tar.gz
rm -f phpsysinfo.tar.gz
mv  phpsysinfo sysinfo
mv  phpsysinfo-phpsysinfo-d06b02a sysinfo
cd sysinfo
mv sysinfo/phpsysinfo.ini.new sysinfo/phpsysinfo.ini
makepkg --asroot
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'''

Revision as of 00:23, 28 May 2015

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

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

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  phpsysinfo-phpsysinfo-d06b02a sysinfo
mv sysinfo/phpsysinfo.ini.new sysinfo/phpsysinfo.ini
cd

Debian

apt-get -y install apache2 php5

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


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