Difference between revisions of "Phpsysinfo"

From SME Server
Jump to navigationJump to search
m (new category)
 
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{Languages|Phpsysinfo}}
 
{{Languages|Phpsysinfo}}
== An smeserver contribution to view system informations ==
+
=== Maintainer ===
 +
[http://myezserver.com/ Darrel May] (Contrib)<br />
 +
[mailto:stephdl@de-labrusse.fr Stéphane de Labrusse] AKA [[User:Stephdl|Stephdl]]
 +
 
 +
=== Version ===
  
=== Maintainer ===
+
{{#smeversion: smeserver-phpsysinfo }}
[http://myezserver.com/ Darrel May] (Contrib)
 
  
 
=== Description ===
 
=== Description ===
This contrib installs phpSysInfo (http://phpsysinfo.sourceforge.net/) on smeserver 7.x.
+
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]]<br />
  
phpSysInfo is a PHP script that displays information about the host being accessed.
+
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.
  
It will displays things like Uptime, CPU, Memory, SCSI, IDE, PCI, Ethernet, Floppy, and Video Information.
+
====Installation====
 +
*For sme8
 +
you have to enable the [[stephdl]] repository
 +
yum install --enablerepo=stephdl,smecontribs smeserver-phpsysinfo
 +
signal-event console-save
  
=== Installation ===
+
*For sme9
The contrib source files for SME Server 7.x can be found at
+
do:
[http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/ ibiblio.org]
+
yum install --enablerepo=smecontribs smeserver-phpsysinfo
 +
signal-event console-save
  
 +
*For sme10
 +
do:
 +
yum install --enablerepo=smecontribs,epel smeserver-phpsysinfo
 +
signal-event console-save
  
+
==== Use ====
To install this contrib, first download the package from the site into an empty directory:
+
Once installed, you can access phpSysInfo at https://yourdomain.com/phpsysinfo or use it in the server-manager
wget http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/smeserver-phpsysinfo-2.5.3-1dmay.noarch.rpm
+
Default behavior is to restrict access to secure http access, requiring SME Servers admin credentials.
  
Install with:
+
However this can be modified to open access over regular http by issuing
  yum localinstall *.rpm
+
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
  
You can ignore the yum-comments ''signal event post-upgrade'' and ''signal-event reboot''.
+
One should never allow admin authentication over regular http as the password would travel in clear text.
  
=== Use ===
+
====phpsysinfo.ini====
Once installed, you can access phpSysInfo at https://yourdomain.com/phpsysinfo
+
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.
  
Login with your SME admin creditentials.
+
nano /opt/phpsysinfo/phpsysinfo.ini
  
=== Check installed version ===
+
==== Check installed version ====
 
  yum info installed smeserver-phpsysinfo
 
  yum info installed smeserver-phpsysinfo
  
 +
=== Bugs ===
 +
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 +
and select the smeserver-phpsysinfo component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-phpsysinfo|title=this link}}
 +
 +
Below is an overview of the current issues for this contrib:{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component=smeserver-phpsysinfo|noresultsmessage=No open bugs found.}}
 +
===Changelog===
 +
Only released version in smecontrib are listed here.
 +
 +
{{#smechangelog: smeserver-phpsysinfo}}
 
----
 
----
 
[[Category: Contrib]]
 
[[Category: Contrib]]
 
[[Category: Webapps]]
 
[[Category: Webapps]]
[[Category: Administration]]
+
[[Category: Administration:Monitoring]]

Latest revision as of 07:53, 4 June 2021


Maintainer

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

Version

Contrib 10:
Contrib 9:
smeserver-phpsysinfo
The latest version of smeserver-phpsysinfo is available in the SME repository, click on the version number(s) for more information.


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

do:

yum install --enablerepo=smecontribs smeserver-phpsysinfo
signal-event console-save
  • For sme10

do:

yum install --enablerepo=smecontribs,epel 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 /opt/phpsysinfo/phpsysinfo.ini

Check installed version

yum info installed smeserver-phpsysinfo

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-phpsysinfo component or use this link


Below is an overview of the current issues for this contrib:

IDProductVersionStatusSummary (3 tasks)
10331SME Contribs9.2CONFIRMEDwrong psstatus configuration
10330SME Contribs9.2CONFIRMEDallow access from manager without asking again to auth
4350SME Contribs9.2CONFIRMEDSecurity issue with phpsysinfo

Changelog

Only released version in smecontrib are listed here.

smeserver-phpsysinfo Changelog: SME 10 (smecontribs)

2022/07/31 Jean-Philippe Pialasse 3.2.3-6.sme
- update to httpd 2.4 access syntax [SME: 12057]

removed compatibnility, added Requires e-smith-apache >= 2.6.0-19
2022/07/24 Jean-Philippe Pialasse 3.2.3-5.sme
- update to httpd 2.4 access syntax [SME: 12057]
2021/04/07 Brian Read 3.2.3-4.sme
- Add Update event to createlinks [SME: 11054]

2021/04/07 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,

 by assuming the date is correct and changing the weekday.
Thu May 30 2001 --> Thu May 24 2001 or Wed May 30 2001 or Thu May 31 2001 or ....
Wed Sep 22 2015 --> Wed Sep 16 2015 or Tue Sep 22 2015 or Wed Sep 23 2015 or ....
2019/01/20 Jean-Philipe Pialasse 3.2.3-3.sme
- Add Update event to createlinks process formating [SME: 10329]