Difference between revisions of "Phpsysinfo"

From SME Server
Jump to navigationJump to search
Line 8: Line 8:
  
 
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.
 
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 from smecontribs===
 
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
 
  
 
=== Installation from stephdl repository===
 
=== Installation from stephdl repository===

Revision as of 08:22, 22 September 2015


Maintainer

Darrel May (Contrib)
Stéphane de Labrusse AKA Stephdl

Description

This contrib installs phpSysInfo (http://phpsysinfo.sourceforge.net/) on SME Server 8.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 from stephdl repository

For now that rpm is more up-to-date than the one of contribs. The version is 3.1.13 : see bugzilla:8460 and bugzilla:8459

A menu is now in the server manager to use the contrib, see PhpSysInfo in the administration panel. the admin credentials is required to use that contribs.

Installation

  • For sme8

you have to enable the stephdl repository

yum install --enablerepo=stephdl,smecontribs smeserver-phpsysinfo
signal-event console-save
  • For sme9

you have to enable the stephdl repository

yum install --enablerepo=stephdl,smecontribs smeserver-phpsysinfo
signal-event console-save

Use

Once installed, you can access phpSysInfo at https://yourdomain.com/phpsysinfo or use it in the server-manager 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 If you want to allow outside of your Local network

db configuration setprop phpsysinfo access public

If you don't want ssl

db configuration setprop phpsysinfo HTTPS off

expand template an restart service

expand-template /etc/httpd/conf/httpd.conf
sv t httpd-e-smith

or

signal-event console-save

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

phpsysinfo.ini

Once installed you should go to the /opt/phpsysinfo/phpsysinfo.ini to enable more options. Every time you install or upgrade the contrib, the rpm process do a backup of your phpsysinfo.ini.

nano phpsysinfo.ini

Check installed version

yum info installed smeserver-phpsysinfo