Difference between revisions of "PhpSysInfo"
From Amahi Wiki
| Line 13: | Line 13: | ||
type | type | ||
| − | + | {{Code|yum install lm_sensors | |
| − | + | sensors-detect}} | |
| − | |||
keep pressing enter for default answers. | keep pressing enter for default answers. | ||
| − | + | {{Code|cd /var/hda/web-apps/phpsysinfo/html | |
| − | + | cp config.php config.php_bak}} | |
| − | |||
to make a backup of your original config file | to make a backup of your original config file | ||
| − | + | {{Code|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 00:58, 26 January 2011
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.
