Changes

From Amahi Wiki
Jump to: navigation, search
54 bytes added ,  19:46, 24 July 2015
yum install smartmontools
in phpsysinfo.ini (located in ''/var/hda/web-apps/phpsysinfo/html'')<br />:<code>PLUGINS="SMART"ADD_PATHS="/usr/sbin,/sbin"</code>:<code>PLUGINS="SMART"</code>:<code>DEVICES="/dev/sda,/dev/sdb"</code>
You also need to change the plugin script and give apache permission to use smartctl with the sudo command:
sudo visudo
Paste in this line under '# User privilege specification', changing your
web server group (apache) to your own. For example I have pasted in:<br /> :<code>apache ALL=NOPASSWD: /usr/sbin/smartctl</code>
12,424

edits