Difference between revisions of "PhpSysInfo"

From Amahi Wiki
Jump to: navigation, search
Line 15: Line 15:
 
  sensors-detect
 
  sensors-detect
  
=== Ubuntu Install lm-sensors [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors (Additional help)] ===
+
=== Ubuntu ===
  
 
  sudo apt-get install lm-sensors
 
  sudo apt-get install lm-sensors
Line 22: Line 22:
  
 
Answer the questions. At the end of sensors-detect, Type "yes" to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself  service module-init-tools start
 
Answer the questions. At the end of sensors-detect, Type "yes" to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself  service module-init-tools start
 +
 +
See [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors Install and configure lm-sensors] for additional help.
  
 
=== Configure phpsysinfo ===
 
=== Configure phpsysinfo ===

Revision as of 01:56, 30 November 2014


Msgbox.update.png Update Needed
The contents of this page have become outdated or irrelevant. Please consider updating it.

Getting More Info

After the one click install of phpsysinfo in Amahi 6 or 7, you need to do some modifications to get all system information displayed.

Install lm-sensors

Fedora

open a terminal session and login as root or if you have sudo configured use sudo in front of all commands.

type

su -

at the prompt enter your root password

then type

yum install lm_sensors
sensors-detect

Ubuntu

sudo apt-get install lm-sensors
sudo sensors-detect


Answer the questions. At the end of sensors-detect, Type "yes" to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself service module-init-tools start

See Install and configure lm-sensors for additional help.

Configure phpsysinfo

first make a backup of your original configuration file

cd /var/hda/web-apps/phpsysinfo/html
cp phpsysinfo.ini phpsysinfo.inibak

if neccessary

yum install nano

modify the configuration file

nano phpsysinfo.ini

optional changes

DEFAULT_LANG="nl"
LOAD_BAR=true
USE_VHOST=true
SENSOR_PROGRAM="LMSensors"
HDD_TEMP="command"
HIDE_FS_TYPES="tmpfs,devtmpfs"


For Ubuntu run also

sudo dpkg-reconfigure hddtemp

and set suid to YES

after saving phpsysinfo.ini phpsysinfo will provide voltage, fan, temperature data and more

It should also be possible to display SMART information from your disks, but I did not manage to get it working yet. Please update this page if you succeed

I started with

yum install smartmontools

in phpsysinfo.ini

PLUGINS="SMART"
DEVICES="/dev/sda, /dev/sdb"