Monitoring System Resources on Ubuntu Server with PhpSysInfo

in Monitoring

PhpSysInfo is a fabulous PHP script that easily to displays system and other monitoring information for Linux-based computer system. It will displays informations on the Linux system like kernel version, uptime, network, disk and memory usage, informations on CPU and model, attached IDE and SCSI devices and PCI cards and lm-sensors output on architectures supporting it. It also has support for multiple languages and themes.

How to Installing PhpSysInfo On Ubuntu Server 12.04 LTS

PhpSysInfo running on web server (apache2) with modul php4 or later support. See how to install Apache web server with PHP.

By default phpsysinfo is available on ubuntu software repository,Install phpsysinfo with following command:

sudo apt-get install phpsysinfo

Now,creating a proper config file,on this case I’will allows localhost access only:

Login as root

sudo -i

then Copy and paste this script in terminal

cat > /etc/apache2/conf.d/phpsysinfo.conf <<-EOF
Alias /phpsysinfo /usr/share/phpsysinfo
<Location /phpsysinfo>
 Options None
 Order deny,allow
 Deny from all
 Allow from localhost
 Allow from 192.168.56.2
# Allow from all
</Location>
EOF

Restart Apache webserver

sudo service apache2 restart

Access it via browser , on address bar type http://host/phpsysinfo

PhpSysInfo System information preciseserver 192.168.56.2 Monitoring System Resources on Ubuntu Server with PhpSysInfo

If you need to install the latest version of phpsysinfo you can download at here, Extract on Directory /var/www

sudo -i
cd /var/www
wget -O phpsysinfo.tar.gz http://goo.gl/bQGzY
cp phpsysinfo/config.php.new /phpsysconfig/config.php
Advertisement:

Previous post:

Next post: