Monday, September 23, 2013

PhpSysInfo

Download the latest release in  http://sourceforge.net/projects/phpsysinfo/files/latest/download 


Unpack that tar ball. I choose to install in /data/apache2.
  •  tar -zxvf phpsysinfo-"$version"-tar.gz -c /data/apache2
Set up sysinfo.
  •  cd /data/apache2/phpsysinfo-"$version" 
  •  cp -v phpsysinfo.ini.new phpsysinfo.ini 
Set permission.
  •  chown -Rv wwwrun:www /data/apache2/phpsysinfo-"$version" 

Add an entry to apache2 config
  •  vi /etc/apache2/conf.d/phpSysInfo.conf 

Add the entry below

  
  Alias /sysinfo /data/apache2/phpsysinfo-"$version"

  <Directory /data/apache2/phpsysinfo-"$version">
     Options Indexes MultiViews FollowSymLinks
     Order allow,deny
     Allow from all
  </Directory>

 

Again the only thing to adjust to your set up is /data/apache2.

Restart apache2
  •  systemctl restart apache2.service 


Type the url on your browser
  •  localhost/sysinfo 






















No comments:

Post a Comment