PhpSysInfo

From Amahi Wiki
Jump to: navigation, search


Getting More Info

After the one click install of phpsysinfo in Amahi 5.1, I needed to do some modifications to get all system information displayed. For other users, this is what I did.

first open a terminal session and login as root from another computer in windows with putty or in linux: ssh root@hda

type

bash code
​yum install lm_sensors sensors-detect​


keep pressing enter for default answers.

bash code
​cd /var/hda/web-apps/phpsysinfo/html cp config.php config.php_bak​


to make a backup of your original config file

bash code
​nano config.php​


I changed the following lines, but of course this is optional.

define('sensorProgram', 'LMSensors');
define('hideMounts', '/boot');
define('hideFstypes', 'tmpfs');
define('hddTemp', 'tcp');
define('loadBar', true);

after saving the config.php phpsysinfo also provides voltage, fan and temperature data.