Difference between revisions of "PhpSysInfo"
From Amahi Wiki
Line 13: | Line 13: | ||
type | type | ||
− | yum install lm_sensors | + | yum install lm_sensors |
− | sensors-detect | + | sensors-detect |
keep pressing enter for default answers. | keep pressing enter for default answers. | ||
− | cd /var/hda/web-apps/phpsysinfo/html | + | cd /var/hda/web-apps/phpsysinfo/html |
− | cp config.php config.php_bak | + | cp config.php config.php_bak |
to make a backup of your original config file | to make a backup of your original config file | ||
− | nano config.php | + | nano config.php |
I changed the following lines, but of course this is optional. | I changed the following lines, but of course this is optional. |
Revision as of 18:12, 9 April 2010
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
yum install lm_sensors
sensors-detect
keep pressing enter for default answers.
cd /var/hda/web-apps/phpsysinfo/html
cp config.php config.php_bak
to make a backup of your original config file
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.