Difference between revisions of "Phpsysinfo"

From SME Server
Jump to navigationJump to search
Line 6: Line 6:
 
This contrib installs phpSysInfo (http://phpsysinfo.sourceforge.net/) on SME Server 7.x.
 
This contrib installs phpSysInfo (http://phpsysinfo.sourceforge.net/) on SME Server 7.x.
  
phpSysInfo is a PHP script that displays information about the host being accessed.
+
PHPSysInfo is a customizable PHP Script that parses /proc, and formats information nicely. It will display information about system facts like Uptime, CPU, Memory, PCI devices, SCSI devices, IDE devices, Network adapters, Disk usage, and more.
 
 
It will displays things like Uptime, CPU, Memory, SCSI, IDE, PCI, Ethernet, Floppy, and Video Information.
 
  
 
=== Installation ===
 
=== Installation ===
The contrib source files for SME Server 7.x can be found at
+
This contrib can be found in the smecontribs repository.
[http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/ SME Server mirrors]
 
 
 
 
 
 
To install this contrib, first download the package from the site into an empty directory:
 
wget "http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/smeserver-phpsysinfo-2.5.4-0dmay.noarch.rpm"
 
  
Install with:
+
Yum is the preferred way to install contribs
  yum localinstall *.rpm
+
  yum install --enablerepo=smecontribs smeserver-phpsysinfo
  
 
You can ignore the yum-comments ''signal event post-upgrade'' and ''signal-event reboot''.
 
You can ignore the yum-comments ''signal event post-upgrade'' and ''signal-event reboot''.
Line 26: Line 18:
 
=== Use ===
 
=== Use ===
 
Once installed, you can access phpSysInfo at https://yourdomain.com/phpsysinfo
 
Once installed, you can access phpSysInfo at https://yourdomain.com/phpsysinfo
 +
Default behavior is to restrict access to secure http access, requiring SME Servers admin credentials.
 +
 +
However this can be modified to open access over regular http by issuing
 +
db configuration setprop phpsysinfo access public
 +
db configuration setprop phpsysinfo HTTPS off
 +
expand-template /etc/httpd/conf/httpd.conf
 +
sv t httpd-e-smith
  
Login with your SME Servers admin credentials.
+
One should never allow admin authentication over regular http as the password would travel in clear text.
  
 
=== Check installed version ===
 
=== Check installed version ===

Revision as of 22:48, 18 April 2009


Maintainer

Darrel May (Contrib)

Description

This contrib installs phpSysInfo (http://phpsysinfo.sourceforge.net/) on SME Server 7.x.

PHPSysInfo is a customizable PHP Script that parses /proc, and formats information nicely. It will display information about system facts like Uptime, CPU, Memory, PCI devices, SCSI devices, IDE devices, Network adapters, Disk usage, and more.

Installation

This contrib can be found in the smecontribs repository.

Yum is the preferred way to install contribs

yum install --enablerepo=smecontribs smeserver-phpsysinfo

You can ignore the yum-comments signal event post-upgrade and signal-event reboot.

Use

Once installed, you can access phpSysInfo at https://yourdomain.com/phpsysinfo Default behavior is to restrict access to secure http access, requiring SME Servers admin credentials.

However this can be modified to open access over regular http by issuing

db configuration setprop phpsysinfo access public
db configuration setprop phpsysinfo HTTPS off
expand-template /etc/httpd/conf/httpd.conf
sv t httpd-e-smith

One should never allow admin authentication over regular http as the password would travel in clear text.

Check installed version

yum info installed smeserver-phpsysinfo