<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wvdlee</id>
	<title>Amahi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wvdlee"/>
	<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php/Special:Contributions/Wvdlee"/>
	<updated>2026-04-04T06:36:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89781</id>
		<title>PhpSysInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89781"/>
		<updated>2014-12-07T11:37:11Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: /* Configure SMART information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
{{NeedsUpdate}}&lt;br /&gt;
== Getting More Info ==&lt;br /&gt;
After the one click install of phpsysinfo in Amahi 6 or 7, you need to do some modifications to get all system information displayed.&lt;br /&gt;
==Install lm-sensors ==&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
open a terminal session and login as root or if you have sudo configured use sudo in front of all commands. &lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
 su -&lt;br /&gt;
at the prompt enter your root password&lt;br /&gt;
&lt;br /&gt;
then type&lt;br /&gt;
 yum install lm_sensors&lt;br /&gt;
 sensors-detect&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lm-sensors&lt;br /&gt;
 sudo sensors-detect&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Answer the questions. At the end of sensors-detect, Type &amp;quot;yes&amp;quot; to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself  service module-init-tools start&lt;br /&gt;
&lt;br /&gt;
See [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors Install and configure lm-sensors] for additional help.&lt;br /&gt;
&lt;br /&gt;
== Configure Settings ==&lt;br /&gt;
first make a backup of your original configuration file&lt;br /&gt;
&lt;br /&gt;
 cd /var/hda/web-apps/phpsysinfo/html&lt;br /&gt;
 cp phpsysinfo.ini phpsysinfo.inibak&lt;br /&gt;
&lt;br /&gt;
if neccessary&lt;br /&gt;
&lt;br /&gt;
 yum install nano&lt;br /&gt;
&lt;br /&gt;
modify the configuration file&lt;br /&gt;
 nano phpsysinfo.ini&lt;br /&gt;
&lt;br /&gt;
optional changes&lt;br /&gt;
&lt;br /&gt;
 DEFAULT_LANG=&amp;quot;nl&amp;quot;&lt;br /&gt;
 LOAD_BAR=true&lt;br /&gt;
 USE_VHOST=true&lt;br /&gt;
 SENSOR_PROGRAM=&amp;quot;LMSensors&amp;quot;&lt;br /&gt;
 HDD_TEMP=&amp;quot;command&amp;quot;&lt;br /&gt;
 HIDE_FS_TYPES=&amp;quot;tmpfs,devtmpfs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ubuntu run also &lt;br /&gt;
 sudo dpkg-reconfigure hddtemp&lt;br /&gt;
and set suid to YES &lt;br /&gt;
&lt;br /&gt;
after saving phpsysinfo.ini phpsysinfo will provide voltage, fan, temperature data and more&lt;br /&gt;
&lt;br /&gt;
=== Configure SMART information ===&lt;br /&gt;
&lt;br /&gt;
 yum install smartmontools&lt;br /&gt;
&lt;br /&gt;
in phpsysinfo.ini&lt;br /&gt;
 PLUGINS=&amp;quot;SMART&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 DEVICES=&amp;quot;/dev/sda,/dev/sdb&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You also need to change the plugin script and give apache permission to use smartctl with the sudo command:&lt;br /&gt;
&lt;br /&gt;
(source http://mewbies.com/how_to_install_phpsysinfo_nix_tutorial.html)&lt;br /&gt;
&lt;br /&gt;
Because the cmd 'smartctl' is only available to root; it will not work for your web server, we need to set some permissions on it and change the command it uses:&lt;br /&gt;
First we make a copy of the original&lt;br /&gt;
 cp /var/hda/web-apps/phpsysinfo/html/plugins/smart/class.smart.inc.php /var/hda/web-apps/phpsysinfo/html/plugins/smart/class.smart.inc.php.bak&lt;br /&gt;
 nano /var/hda/web-apps/phpsysinfo/html/plugins/smart/class.smart.inc.php&lt;br /&gt;
Search for (Ctrl+w) (line 60): --all&lt;br /&gt;
It has this:&lt;br /&gt;
&lt;br /&gt;
if ( trim($diskname != &amp;quot;&amp;quot;) &amp;amp;&amp;amp; (CommonFunctions::executeProgram('smartctl', '--all'.' '.$diskdev.' '.$diskname, $buffer, PSI_DEBUG))) {&lt;br /&gt;
&lt;br /&gt;
Change it to:&lt;br /&gt;
&lt;br /&gt;
if ( trim($diskname != &amp;quot;&amp;quot;) &amp;amp;&amp;amp; (CommonFunctions::executeProgram('sudo', '/usr/sbin/smartctl --all '.' '.$diskdev.' '.$diskname, $buffer, PSI_DEBUG))) {&lt;br /&gt;
&lt;br /&gt;
Just a note that all we changed was:&lt;br /&gt;
 'smartctl', '--all'&lt;br /&gt;
To:&lt;br /&gt;
 'sudo', '/usr/sbin/smartctl --all '&lt;br /&gt;
Change yours to be the same, including the space: all '&lt;br /&gt;
Be sure that line isn't broken into multiple lines. If it is you'll see on your xml.php?plugin=SMART page errors containing: \n&lt;br /&gt;
And be sure that /usr/sbin/smartctl is the correct path for your installation of smartctl.&lt;br /&gt;
&lt;br /&gt;
Next we need to add your web server group to sudo to be able to run smartctl cmds:&lt;br /&gt;
 sudo visudo&lt;br /&gt;
Paste in this line under '# User privilege specification', changing your&lt;br /&gt;
web server group (apache) to your own. For example I have pasted in:&lt;br /&gt;
 apache ALL=NOPASSWD: /usr/sbin/smartctl &lt;br /&gt;
'''(WARNING you are using the vi-editor, first google &amp;quot;vi commands&amp;quot; for some guidance!)'''&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89776</id>
		<title>PhpSysInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89776"/>
		<updated>2014-12-07T11:32:14Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: /* Configure SMART information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
{{NeedsUpdate}}&lt;br /&gt;
== Getting More Info ==&lt;br /&gt;
After the one click install of phpsysinfo in Amahi 6 or 7, you need to do some modifications to get all system information displayed.&lt;br /&gt;
==Install lm-sensors ==&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
open a terminal session and login as root or if you have sudo configured use sudo in front of all commands. &lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
 su -&lt;br /&gt;
at the prompt enter your root password&lt;br /&gt;
&lt;br /&gt;
then type&lt;br /&gt;
 yum install lm_sensors&lt;br /&gt;
 sensors-detect&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lm-sensors&lt;br /&gt;
 sudo sensors-detect&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Answer the questions. At the end of sensors-detect, Type &amp;quot;yes&amp;quot; to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself  service module-init-tools start&lt;br /&gt;
&lt;br /&gt;
See [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors Install and configure lm-sensors] for additional help.&lt;br /&gt;
&lt;br /&gt;
== Configure Settings ==&lt;br /&gt;
first make a backup of your original configuration file&lt;br /&gt;
&lt;br /&gt;
 cd /var/hda/web-apps/phpsysinfo/html&lt;br /&gt;
 cp phpsysinfo.ini phpsysinfo.inibak&lt;br /&gt;
&lt;br /&gt;
if neccessary&lt;br /&gt;
&lt;br /&gt;
 yum install nano&lt;br /&gt;
&lt;br /&gt;
modify the configuration file&lt;br /&gt;
 nano phpsysinfo.ini&lt;br /&gt;
&lt;br /&gt;
optional changes&lt;br /&gt;
&lt;br /&gt;
 DEFAULT_LANG=&amp;quot;nl&amp;quot;&lt;br /&gt;
 LOAD_BAR=true&lt;br /&gt;
 USE_VHOST=true&lt;br /&gt;
 SENSOR_PROGRAM=&amp;quot;LMSensors&amp;quot;&lt;br /&gt;
 HDD_TEMP=&amp;quot;command&amp;quot;&lt;br /&gt;
 HIDE_FS_TYPES=&amp;quot;tmpfs,devtmpfs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ubuntu run also &lt;br /&gt;
 sudo dpkg-reconfigure hddtemp&lt;br /&gt;
and set suid to YES &lt;br /&gt;
&lt;br /&gt;
after saving phpsysinfo.ini phpsysinfo will provide voltage, fan, temperature data and more&lt;br /&gt;
&lt;br /&gt;
=== Configure SMART information ===&lt;br /&gt;
&lt;br /&gt;
 yum install smartmontools&lt;br /&gt;
&lt;br /&gt;
in phpsysinfo.ini&lt;br /&gt;
 PLUGINS=&amp;quot;SMART&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 DEVICES=&amp;quot;/dev/sda,/dev/sdb&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You also need to change the plugin script and give apache permission to use smartctl with the sudo command:&lt;br /&gt;
&lt;br /&gt;
(source http://mewbies.com/how_to_install_phpsysinfo_nix_tutorial.html)&lt;br /&gt;
&lt;br /&gt;
Because the cmd 'smartctl' is only available to root; it will not work for your web server, we need to set some permissions on it and change the command it uses:&lt;br /&gt;
First we make a copy of the original&lt;br /&gt;
 cp /var/hda/web-apps/phpsysinfo/html/plugins/smart/class.smart.inc.php /var/hda/web-apps/phpsysinfo/html/plugins/smart/class.smart.inc.php.bak&lt;br /&gt;
 nano /var/hda/web-apps/phpsysinfo/html/plugins/smart/class.smart.inc.php&lt;br /&gt;
Search for (Ctrl+w) (line 60): --all&lt;br /&gt;
It has this:&lt;br /&gt;
if (CommonFunctions::executeProgram('smartctl', '--all'.((PSI_PLUGIN_SMART_DEVICE) ? ' --device '.PSI_PLUGIN_SMART_DEVICE : '').' '.$disk, $buffer, PSI_DEBUG)) {&lt;br /&gt;
Change it to:&lt;br /&gt;
if (CommonFunctions::executeProgram('sudo', '/usr/sbin/smartctl --all '.((PSI_PLUGIN_SMART_DEVICE) ? ' --device '.PSI_PLUGIN_SMART_DEVICE : '').' '.$disk, $buffer, PSI_DEBUG)) {&lt;br /&gt;
&lt;br /&gt;
Just a note that all we changed was:&lt;br /&gt;
 'smartctl', '--all'&lt;br /&gt;
To:&lt;br /&gt;
 'sudo', '/usr/sbin/smartctl --all '&lt;br /&gt;
Change yours to be the same, including the space: all '&lt;br /&gt;
Be sure that line isn't broken into multiple lines. If it is you'll see on your xml.php?plugin=SMART page errors containing: \n&lt;br /&gt;
And be sure that /usr/sbin/smartctl is the correct path for your installation of smartctl.&lt;br /&gt;
&lt;br /&gt;
Next we need to add your web server group to sudo to be able to run smartctl cmds:&lt;br /&gt;
 sudo visudo&lt;br /&gt;
Paste in this line under '# User privilege specification', changing your&lt;br /&gt;
web server group (apache) to your own. For example I have pasted in:&lt;br /&gt;
 apache ALL=NOPASSWD: /usr/sbin/smartctl &lt;br /&gt;
'''(WARNING you are using the vi-editor, first google &amp;quot;vi commands&amp;quot; for some guidance!)'''&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89771</id>
		<title>PhpSysInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89771"/>
		<updated>2014-12-07T11:26:11Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: /* Configure SMART information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
{{NeedsUpdate}}&lt;br /&gt;
== Getting More Info ==&lt;br /&gt;
After the one click install of phpsysinfo in Amahi 6 or 7, you need to do some modifications to get all system information displayed.&lt;br /&gt;
==Install lm-sensors ==&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
open a terminal session and login as root or if you have sudo configured use sudo in front of all commands. &lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
 su -&lt;br /&gt;
at the prompt enter your root password&lt;br /&gt;
&lt;br /&gt;
then type&lt;br /&gt;
 yum install lm_sensors&lt;br /&gt;
 sensors-detect&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lm-sensors&lt;br /&gt;
 sudo sensors-detect&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Answer the questions. At the end of sensors-detect, Type &amp;quot;yes&amp;quot; to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself  service module-init-tools start&lt;br /&gt;
&lt;br /&gt;
See [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors Install and configure lm-sensors] for additional help.&lt;br /&gt;
&lt;br /&gt;
== Configure Settings ==&lt;br /&gt;
first make a backup of your original configuration file&lt;br /&gt;
&lt;br /&gt;
 cd /var/hda/web-apps/phpsysinfo/html&lt;br /&gt;
 cp phpsysinfo.ini phpsysinfo.inibak&lt;br /&gt;
&lt;br /&gt;
if neccessary&lt;br /&gt;
&lt;br /&gt;
 yum install nano&lt;br /&gt;
&lt;br /&gt;
modify the configuration file&lt;br /&gt;
 nano phpsysinfo.ini&lt;br /&gt;
&lt;br /&gt;
optional changes&lt;br /&gt;
&lt;br /&gt;
 DEFAULT_LANG=&amp;quot;nl&amp;quot;&lt;br /&gt;
 LOAD_BAR=true&lt;br /&gt;
 USE_VHOST=true&lt;br /&gt;
 SENSOR_PROGRAM=&amp;quot;LMSensors&amp;quot;&lt;br /&gt;
 HDD_TEMP=&amp;quot;command&amp;quot;&lt;br /&gt;
 HIDE_FS_TYPES=&amp;quot;tmpfs,devtmpfs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ubuntu run also &lt;br /&gt;
 sudo dpkg-reconfigure hddtemp&lt;br /&gt;
and set suid to YES &lt;br /&gt;
&lt;br /&gt;
after saving phpsysinfo.ini phpsysinfo will provide voltage, fan, temperature data and more&lt;br /&gt;
&lt;br /&gt;
=== Configure SMART information ===&lt;br /&gt;
&lt;br /&gt;
 yum install smartmontools&lt;br /&gt;
&lt;br /&gt;
in phpsysinfo.ini&lt;br /&gt;
 PLUGINS=&amp;quot;SMART&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 DEVICES=&amp;quot;/dev/sda,/dev/sdb&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You also need to change the plugin script and give apache permission to use smartctl with the sudo command:&lt;br /&gt;
&lt;br /&gt;
(source http://mewbies.com/how_to_install_phpsysinfo_nix_tutorial.html)&lt;br /&gt;
&lt;br /&gt;
Because the cmd 'smartctl' is only available to root; it will not work for your web server, we need to set some permissions on it and change the command it uses:&lt;br /&gt;
 nano /var/hda/web-apps/phpsysinfo/html/plugins/SMART/class.SMART.inc.php&lt;br /&gt;
Search for (Ctrl+w) (line 60): --all&lt;br /&gt;
It has this:&lt;br /&gt;
if (CommonFunctions::executeProgram('smartctl', '--all'.((PSI_PLUGIN_SMART_DEVICE) ? ' --device '.PSI_PLUGIN_SMART_DEVICE : '').' '.$disk, $buffer, PSI_DEBUG)) {&lt;br /&gt;
Change it to:&lt;br /&gt;
if (CommonFunctions::executeProgram('sudo', '/usr/sbin/smartctl --all '.((PSI_PLUGIN_SMART_DEVICE) ? ' --device '.PSI_PLUGIN_SMART_DEVICE : '').' '.$disk, $buffer, PSI_DEBUG)) {&lt;br /&gt;
&lt;br /&gt;
Just a note that all we changed was:&lt;br /&gt;
 'smartctl', '--all'&lt;br /&gt;
To:&lt;br /&gt;
 'sudo', '/usr/sbin/smartctl --all '&lt;br /&gt;
Change yours to be the same, including the space: all '&lt;br /&gt;
Be sure that line isn't broken into multiple lines. If it is you'll see on your xml.php?plugin=SMART page errors containing: \n&lt;br /&gt;
And be sure that /usr/sbin/smartctl is the correct path for your installation of smartctl.&lt;br /&gt;
&lt;br /&gt;
Next we need to add your web server group to sudo to be able to run smartctl cmds:&lt;br /&gt;
 sudo visudo&lt;br /&gt;
Paste in this line under '# User privilege specification', changing your&lt;br /&gt;
web server group (apache) to your own. For example I have pasted in:&lt;br /&gt;
 apache ALL=NOPASSWD: /usr/sbin/smartctl &lt;br /&gt;
'''(WARNING you are using the vi-editor, first google &amp;quot;vi commands&amp;quot; for some guidance!)'''&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89766</id>
		<title>PhpSysInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89766"/>
		<updated>2014-12-07T11:20:08Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: /* Configure Settings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
{{NeedsUpdate}}&lt;br /&gt;
== Getting More Info ==&lt;br /&gt;
After the one click install of phpsysinfo in Amahi 6 or 7, you need to do some modifications to get all system information displayed.&lt;br /&gt;
==Install lm-sensors ==&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
open a terminal session and login as root or if you have sudo configured use sudo in front of all commands. &lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
 su -&lt;br /&gt;
at the prompt enter your root password&lt;br /&gt;
&lt;br /&gt;
then type&lt;br /&gt;
 yum install lm_sensors&lt;br /&gt;
 sensors-detect&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lm-sensors&lt;br /&gt;
 sudo sensors-detect&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Answer the questions. At the end of sensors-detect, Type &amp;quot;yes&amp;quot; to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself  service module-init-tools start&lt;br /&gt;
&lt;br /&gt;
See [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors Install and configure lm-sensors] for additional help.&lt;br /&gt;
&lt;br /&gt;
== Configure Settings ==&lt;br /&gt;
first make a backup of your original configuration file&lt;br /&gt;
&lt;br /&gt;
 cd /var/hda/web-apps/phpsysinfo/html&lt;br /&gt;
 cp phpsysinfo.ini phpsysinfo.inibak&lt;br /&gt;
&lt;br /&gt;
if neccessary&lt;br /&gt;
&lt;br /&gt;
 yum install nano&lt;br /&gt;
&lt;br /&gt;
modify the configuration file&lt;br /&gt;
 nano phpsysinfo.ini&lt;br /&gt;
&lt;br /&gt;
optional changes&lt;br /&gt;
&lt;br /&gt;
 DEFAULT_LANG=&amp;quot;nl&amp;quot;&lt;br /&gt;
 LOAD_BAR=true&lt;br /&gt;
 USE_VHOST=true&lt;br /&gt;
 SENSOR_PROGRAM=&amp;quot;LMSensors&amp;quot;&lt;br /&gt;
 HDD_TEMP=&amp;quot;command&amp;quot;&lt;br /&gt;
 HIDE_FS_TYPES=&amp;quot;tmpfs,devtmpfs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ubuntu run also &lt;br /&gt;
 sudo dpkg-reconfigure hddtemp&lt;br /&gt;
and set suid to YES &lt;br /&gt;
&lt;br /&gt;
after saving phpsysinfo.ini phpsysinfo will provide voltage, fan, temperature data and more&lt;br /&gt;
&lt;br /&gt;
=== Configure SMART information ===&lt;br /&gt;
&lt;br /&gt;
 yum install smartmontools&lt;br /&gt;
&lt;br /&gt;
in phpsysinfo.ini&lt;br /&gt;
 PLUGINS=&amp;quot;SMART&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 DEVICES=&amp;quot;/dev/sda,/dev/sdb&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You also need to give apache permission to use smartctl with the sudo command:&lt;br /&gt;
&lt;br /&gt;
(source http://mewbies.com/how_to_install_phpsysinfo_nix_tutorial.html)&lt;br /&gt;
&lt;br /&gt;
Because the cmd 'smartctl' is only available to root; it will not work for your web server, we need to set some permissions on it and change the command it uses:&lt;br /&gt;
 nano /var/hda/web-apps/phpsysinfo/html/plugins/SMART/class.SMART.inc.php&lt;br /&gt;
Search for (Ctrl+w) (line 60): --all&lt;br /&gt;
It has this:&lt;br /&gt;
if (CommonFunctions::executeProgram('smartctl', '--all'.((PSI_PLUGIN_SMART_DEVICE) ? ' --device '.PSI_PLUGIN_SMART_DEVICE : '').' '.$disk, $buffer, PSI_DEBUG)) {&lt;br /&gt;
Change it to:&lt;br /&gt;
if (CommonFunctions::executeProgram('sudo', '/usr/sbin/smartctl --all '.((PSI_PLUGIN_SMART_DEVICE) ? ' --device '.PSI_PLUGIN_SMART_DEVICE : '').' '.$disk, $buffer, PSI_DEBUG)) {&lt;br /&gt;
&lt;br /&gt;
Just a note that all we changed was:&lt;br /&gt;
 'smartctl', '--all'&lt;br /&gt;
To:&lt;br /&gt;
 'sudo', '/usr/sbin/smartctl --all '&lt;br /&gt;
Change yours to be the same, including the space: all '&lt;br /&gt;
Be sure that line isn't broken into multiple lines. If it is you'll see on your xml.php?plugin=SMART page errors containing: \n&lt;br /&gt;
And be sure that /usr/sbin/smartctl is the correct path for your installation of smartctl.&lt;br /&gt;
&lt;br /&gt;
Next we need to add your web server group to sudo to be able to run smartctl cmds:&lt;br /&gt;
 sudo visudo&lt;br /&gt;
Paste in this line under '# User privilege specification', changing your&lt;br /&gt;
web server group (apache) to your own. For example I have pasted in:&lt;br /&gt;
 apache ALL=NOPASSWD: /usr/sbin/smartctl &lt;br /&gt;
'''(WARNING you are using the vi-editor, first google &amp;quot;vi commands&amp;quot; for some guidance!)'''&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Crashplan&amp;diff=89671</id>
		<title>Crashplan</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Crashplan&amp;diff=89671"/>
		<updated>2014-11-30T01:22:17Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: /* On the HDA */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
==[http://www.amahi.org/apps/crashplan CrashPlan] on Amahi==&lt;br /&gt;
&lt;br /&gt;
Using CrashPlan on your Amahi HDA will allow you to back up, for free&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;, all your computers into your Amahi HDA&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;. It will also allow you to become the backup server of friends and family, if you'd like.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; While CrashPlan is free to personal use, an advanced version, CrashPlan+, is available for a fee, if you'd like to get the [http://b1.crashplan.com/consumer/features.html#CrashPlan+ features it adds to the free CrashPlan version].&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Technically, it's also possible to backup your HDA into your other computers if you need that.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Installing CrashPlan==&lt;br /&gt;
&lt;br /&gt;
To be able to use CrashPlan, you'll need to install the [http://www.amahi.org/apps/crashplan CrashPlan] application on your Amahi HDA, configure it as needed, and install the CrashPlan application on all the computers you'd like to backup to your HDA.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Please Note&amp;lt;/h4&amp;gt; Crashplan makes very regular writes/reads to the directory it's configured to store backups in. As such, it's best not to point the target directory with in a Greyhole pool, as the number of operations builds beyond a functional level. The backup folder is best placed on a non-pooled disk, or of another type of managed volume or filesystem, such as BTRFS, ZFS, an LVM volume, RAID array, etc.&lt;br /&gt;
&lt;br /&gt;
==More about CrashPlan==&lt;br /&gt;
&lt;br /&gt;
To learn more about CrashPlan, you can visit the [http://www.crashplan.com/consumer/features.html CrashPlan website], where features are explained, and where you can watch CrashPlan in action in their [http://b1.crashplan.com/consumer/features-tour.html video tour].&lt;br /&gt;
&lt;br /&gt;
==CrashPlan Accounts==&lt;br /&gt;
&lt;br /&gt;
Using CrashPlan requires a (free) CrashPlan account. You'll be able to create a new account from the configuration app itself.&lt;br /&gt;
&lt;br /&gt;
You'll probably want to use the same account for all computers in your home. That means you'll create the account on the first computer you configure CrashPlan on (it can be your HDA, or any other computer on your home network), and then simply use that same account on all other computers, instead of creating new accounts.&lt;br /&gt;
&lt;br /&gt;
If you'd like to use different accounts, so that each computer (user) is the sole owner of his backed up files, this is also possible. Trying to restore such files from another computer (this is called a guest restore in CrashPlan) will require the user to enter the owner's password.&lt;br /&gt;
&lt;br /&gt;
==Configure CrashPlan (Fedora 19)==&lt;br /&gt;
===On the HDA===&lt;br /&gt;
[[Open_Terminal_as_root|Open a terminal window as root]] and edit the following XML configuration file in your favorite text editor.&lt;br /&gt;
 nano -w /usr/local/crashplan/conf/my.service.xml&lt;br /&gt;
* Search for the “serviceHost” parameter and change it from:&lt;br /&gt;
 &amp;lt;serviceHost&amp;gt;127.0.0.1&amp;lt;/serviceHost&amp;gt;&lt;br /&gt;
to this instead:&lt;br /&gt;
 &amp;lt;serviceHost&amp;gt;0.0.0.0&amp;lt;/serviceHost&amp;gt;&lt;br /&gt;
or you can execute the following:&lt;br /&gt;
 sed -i 's|127.0.0.1|0.0.0.0|' /usr/local/crashplan/conf/my.service.xml&lt;br /&gt;
* Save the file and then restart the CrashPlan daemon:&lt;br /&gt;
 systemctl restart crashplan.service&lt;br /&gt;
&lt;br /&gt;
'''ATTENTION the above changes are sometimes undone during crashplan updates, you have to repeat above steps to repair connectivity !!!!!'''&lt;br /&gt;
&lt;br /&gt;
===Desktop Client===&lt;br /&gt;
This example will show how to reconfigure the CrashPlan Desktop installation on a Windows PC to talk to the CrashPlan Engine instance running on your HDA.&lt;br /&gt;
&lt;br /&gt;
* Open the folder where you installed CrashPlan on your Windows PC. By default, this is in C:\Program Files\CrashPlan. Inside, you’ll find a folder called “conf” and inside there, a file called “ui.properties”. Open this file using a decent text editor like Notepad++ and look for the following line:&lt;br /&gt;
&lt;br /&gt;
 #serviceHost=127.0.0.1&lt;br /&gt;
&lt;br /&gt;
* Change the line to remove the comment character ‘#’ and include the IP address of your HDA.  For example:&lt;br /&gt;
&lt;br /&gt;
 serviceHost=192.168.1.100&lt;br /&gt;
&lt;br /&gt;
You now should be able to administer CrashPlan using your HDA as the local storage location.&lt;br /&gt;
&lt;br /&gt;
===CrashPlan Desktop Java RTE Errors===&lt;br /&gt;
If you use the CrashPlan desktop on version 3.5.3 you may experience a Java error - when starting the Crashplan desktop the splash image shows for a few seconds, and then vanishes, but the application doesn't open.&lt;br /&gt;
&lt;br /&gt;
It appears that CrashPlan 3.5.3 bundles a buggy version of the &amp;quot;Eclipse Standard Widget Toolkit&amp;quot;.  To fix, you just need to replace that toolkit with the latest one from the developer.&lt;br /&gt;
&lt;br /&gt;
* Download swt-4.3-gtk-linux-x86.zip and swt-4.3-gtk-linux-x86_64.zip from [http://download.eclipse.org/eclipse/downloads/drops4/R-4.3-201306052000/#SWT  Eclipse]. &lt;br /&gt;
&lt;br /&gt;
* Extract swt.jar from the x86_64 file and rename it as swt-64.jar, and extract swt.jar from the second file.  I saved them both to the home directory.  (You can do this from terminal from the directory in which you saved the .zip files):&lt;br /&gt;
 unzip -e swt-4.3-gtk-linux-x86_64.zip swt.jar -d ~&lt;br /&gt;
 mv ~/swt.jar ~/swt-64.jar&lt;br /&gt;
 unzip -e swt-4.3-gtk-linux-x86.zip swt.jar -d ~&lt;br /&gt;
&lt;br /&gt;
Then you need to copy these to the CrashPlan library.  On my HDA CrashPlan was installed to /var/hda/web-apps/crashplan/html.  If your installation is different you will need to replace the commands below this your directory.&lt;br /&gt;
&lt;br /&gt;
* Stop the crashplan server &lt;br /&gt;
 sudo systemctl stop crashplan.service&lt;br /&gt;
&lt;br /&gt;
* Back up the old files and copy in the new ones (change the directory path to your own if it is different and remember to put the /lib at the end):&lt;br /&gt;
 cd /var/hda/web-apps/crashplan/html/lib&lt;br /&gt;
 mv swt.jar swt.jar.old&lt;br /&gt;
 mv swt-64.jar swt-64.jar.old&lt;br /&gt;
 mv ~/swt.jar swt.jar&lt;br /&gt;
 mv ~/swt-64.jar swt-64.jar&lt;br /&gt;
&lt;br /&gt;
* Restart the crashplan &lt;br /&gt;
 systemctl start crashplan.service&lt;br /&gt;
&lt;br /&gt;
Should be working now.&lt;br /&gt;
&lt;br /&gt;
[Source: [https://forums.amahi.org/viewtopic.php?f=26&amp;amp;t=4951 this forum post]]&lt;br /&gt;
&lt;br /&gt;
==Configure CrashPlan (Ubuntu)==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p style=&amp;quot;color:red&amp;quot;&amp;gt;'''NOTE''' The CrashPlan UI sometimes has issues registering button clicks. If you click a button and it seems to do nothing, hit the ENTER key. That seems to help in such cases.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===On the HDA===&lt;br /&gt;
The easiest way to configure CrashPlan is to access it from the HDA desktop directly.&lt;br /&gt;
&lt;br /&gt;
Launch a Terminal (Applications &amp;gt; System &amp;gt; Terminal).&lt;br /&gt;
&lt;br /&gt;
In the terminal window (must run as root user) enter:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Fedora&amp;lt;/u&amp;gt;:  &lt;br /&gt;
 su -&lt;br /&gt;
 CrashPlanDesktop&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Ubuntu&amp;lt;/u&amp;gt;:  &lt;br /&gt;
 sudo CrashPlanDesktop&lt;br /&gt;
&lt;br /&gt;
If you don't have physical access to your HDA, or if you run it headless, try the methods below.&lt;br /&gt;
&lt;br /&gt;
===Using VNC===&lt;br /&gt;
If you have [[VNC]] or [[WebVNC]] setup, you can use that to configure CrashPlan remotely, instead of using the OS-dependent methods described below.&lt;br /&gt;
&lt;br /&gt;
Simply connect to your HDA using VNC (or WebVNC), and launch a Terminal (Applications &amp;gt; System &amp;gt; Terminal).&lt;br /&gt;
&lt;br /&gt;
In the terminal window enter the same commands as noted above depending on the OS you are running on your HDA.&lt;br /&gt;
&lt;br /&gt;
The CrashPlan configuration application will start.&lt;br /&gt;
&lt;br /&gt;
===Using X-Forwarding===&lt;br /&gt;
To use X-Forwarding, you don't need X running, or even installed on your HDA.&amp;lt;br/&amp;gt;&lt;br /&gt;
All you need is an X server on your client computer, and to SSH into your HDA with X-Forwarding enabled.&lt;br /&gt;
&lt;br /&gt;
====Windows====&lt;br /&gt;
=====PuTTY and Xming=====&lt;br /&gt;
You'll need two things to be able to configure CrashPlan from Windows: PuTTY and Xming.&lt;br /&gt;
&lt;br /&gt;
For PuTTY, just download putty.exe from [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html here]. You can leave it on your desktop and use it from there.&amp;lt;br/&amp;gt;&lt;br /&gt;
For Xming, you'll need to download and install two files: the [https://sourceforge.net/projects/xming/files/Xming/ Xming installer], and the [https://sourceforge.net/projects/xming/files/Xming-fonts/ fonts installer].&amp;lt;br/&amp;gt;&lt;br /&gt;
You can accept all the default values for both installs.&lt;br /&gt;
&lt;br /&gt;
Now, you should have a start menu item for Xming. Start it from there. You should now have a black X icon in your system tray.&lt;br /&gt;
&lt;br /&gt;
Next, start PuTTY, and enter your HDA IP address under ''Host Name (or IP address)'', enter 22 under ''Port'' and select SSH under ''Connection Type''.&lt;br /&gt;
&lt;br /&gt;
[[Image:Red-S01.png]]&lt;br /&gt;
&lt;br /&gt;
Open the ''Connection &amp;gt; SSH'' item in the ''Category'' tree on the left, and select ''X11''.&amp;lt;br/&amp;gt;&lt;br /&gt;
Select the checkbox that says ''Enable X11 forwarding''.&lt;br /&gt;
&lt;br /&gt;
Now go back into ''Session'' in the ''Category'' tree, and give a name for this profile, so you won't have to repeat those steps next time.&amp;lt;br/&amp;gt;&lt;br /&gt;
Enter a name in the ''Saved Sessions'' text box, and hit the ''Save'' button on the right.&amp;lt;br/&amp;gt;&lt;br /&gt;
Next time your start PuTTY, you'll be able to just double-click your profile in the ''Saved Sessions'' section to connect to your HDA with X11 forwarding enabled.&lt;br /&gt;
&lt;br /&gt;
Now, connect to your HDA by clicking ''Open'', or double-clicking your profile name in the Saved Sessions select box (on the left of the Load, Save and Delete buttons).&lt;br /&gt;
&lt;br /&gt;
Enter your Fedora username and password when prompted.&lt;br /&gt;
&lt;br /&gt;
=====FreeXer=====&lt;br /&gt;
FreeXer is an open source attempt to make X11 forwarding easy. It consists of PuTTY and Cygwin with a wrapper that configures both to enable X11 forwarding.&lt;br /&gt;
&lt;br /&gt;
First, download FreeXer [http://downloads.sourceforge.net/project/freexer/FreeXer/0.2/freeXer-installer.exe here].&lt;br /&gt;
&lt;br /&gt;
Once installed, open the &amp;quot;freeXer Session Editor&amp;quot; and enter a name for the session you're about to start under ''Session'', enter your HDA IP address under ''Host'', select SSH under ''Protocol'', enter your Fedora username under ''User'' and password under ''Password''. &lt;br /&gt;
&lt;br /&gt;
[[Image:Sess_editor_new.png]]&lt;br /&gt;
&lt;br /&gt;
Click on the ''Save'' button to save the session information. Once you saved the session information, the next time you need it you only need to open the session information file (or load it into the session editor) and you're done.&lt;br /&gt;
&lt;br /&gt;
When ready, click on the ''Launch Session'' button.&lt;br /&gt;
&lt;br /&gt;
=====Once logged in=====&lt;br /&gt;
Enter the following command to start the CrashPlan configuration UI:&lt;br /&gt;
&lt;br /&gt;
Enter the same commands as noted above for the OS you are running on your HDA.&lt;br /&gt;
&lt;br /&gt;
=====Guides=====&lt;br /&gt;
There are many guides available online that explain the steps of X11 forwarding. Here's some, if you need further help:&lt;br /&gt;
*[http://www.youtube.com/v/EsHuZJ5gORE?hl=en_US&amp;amp;fs=1 X Windows Forwarding video on YouTube]&lt;br /&gt;
*[http://www.cs.caltech.edu/courses/cs11/misc/xwindows.html Using X Forwarding on Windows at Caltech]&lt;br /&gt;
* [http://www.math.umn.edu/systems_guide/putty_xwin32.html X Forwarding with Putty on Windows at University of Minnesota]&lt;br /&gt;
&lt;br /&gt;
====Mac OS X====&lt;br /&gt;
Open a Terminal (Applications &amp;gt; Utilities &amp;gt; Terminal.app)&amp;lt;br/&amp;gt;&lt;br /&gt;
and enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 ssh -X hda&lt;br /&gt;
&lt;br /&gt;
Then enter the same commands as outlined above for the OS you are running on the HDA.&lt;br /&gt;
&lt;br /&gt;
Once you're done with the CrashPlan configuration, you can close the CrashPlan app, the X11.app that appeared in your Dock, and Terminal.app&lt;br /&gt;
&lt;br /&gt;
====Linux====&lt;br /&gt;
&lt;br /&gt;
Starting on your X desktop (Gnome, KDE, ...), open a Terminal (Applications &amp;gt;System &amp;gt; Terminal in Fedora)&amp;lt;br/&amp;gt;&lt;br /&gt;
and enter the following commands:&lt;br /&gt;
 ssh -X hda&lt;br /&gt;
&lt;br /&gt;
Follow the commands above for the specific OS you are running on your HDA.&lt;br /&gt;
&lt;br /&gt;
Once you're done with the CrashPlan configuration, you can close the CrashPlan app, and the Terminal.&lt;br /&gt;
&lt;br /&gt;
===Using a local CrashPlan client===&lt;br /&gt;
&lt;br /&gt;
You can follow the instructions on the CrashPlan wiki on [http://support.crashplan.com/doku.php/how_to/configure_a_headless_client how to connect to a headless CrashPlan install].&lt;br /&gt;
&lt;br /&gt;
It requires you to install CrashPlan on your client computer, manually editing a config file, and using SSH port forwarding.&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Crashplan&amp;diff=89666</id>
		<title>Crashplan</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Crashplan&amp;diff=89666"/>
		<updated>2014-11-30T01:19:20Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: /* On the HDA */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
==[http://www.amahi.org/apps/crashplan CrashPlan] on Amahi==&lt;br /&gt;
&lt;br /&gt;
Using CrashPlan on your Amahi HDA will allow you to back up, for free&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;, all your computers into your Amahi HDA&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;. It will also allow you to become the backup server of friends and family, if you'd like.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; While CrashPlan is free to personal use, an advanced version, CrashPlan+, is available for a fee, if you'd like to get the [http://b1.crashplan.com/consumer/features.html#CrashPlan+ features it adds to the free CrashPlan version].&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Technically, it's also possible to backup your HDA into your other computers if you need that.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Installing CrashPlan==&lt;br /&gt;
&lt;br /&gt;
To be able to use CrashPlan, you'll need to install the [http://www.amahi.org/apps/crashplan CrashPlan] application on your Amahi HDA, configure it as needed, and install the CrashPlan application on all the computers you'd like to backup to your HDA.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Please Note&amp;lt;/h4&amp;gt; Crashplan makes very regular writes/reads to the directory it's configured to store backups in. As such, it's best not to point the target directory with in a Greyhole pool, as the number of operations builds beyond a functional level. The backup folder is best placed on a non-pooled disk, or of another type of managed volume or filesystem, such as BTRFS, ZFS, an LVM volume, RAID array, etc.&lt;br /&gt;
&lt;br /&gt;
==More about CrashPlan==&lt;br /&gt;
&lt;br /&gt;
To learn more about CrashPlan, you can visit the [http://www.crashplan.com/consumer/features.html CrashPlan website], where features are explained, and where you can watch CrashPlan in action in their [http://b1.crashplan.com/consumer/features-tour.html video tour].&lt;br /&gt;
&lt;br /&gt;
==CrashPlan Accounts==&lt;br /&gt;
&lt;br /&gt;
Using CrashPlan requires a (free) CrashPlan account. You'll be able to create a new account from the configuration app itself.&lt;br /&gt;
&lt;br /&gt;
You'll probably want to use the same account for all computers in your home. That means you'll create the account on the first computer you configure CrashPlan on (it can be your HDA, or any other computer on your home network), and then simply use that same account on all other computers, instead of creating new accounts.&lt;br /&gt;
&lt;br /&gt;
If you'd like to use different accounts, so that each computer (user) is the sole owner of his backed up files, this is also possible. Trying to restore such files from another computer (this is called a guest restore in CrashPlan) will require the user to enter the owner's password.&lt;br /&gt;
&lt;br /&gt;
==Configure CrashPlan (Fedora 19)==&lt;br /&gt;
===On the HDA===&lt;br /&gt;
[[Open_Terminal_as_root|Open a terminal window as root]] and edit the following XML configuration file in your favorite text editor.&lt;br /&gt;
 nano -w /usr/local/crashplan/conf/my.service.xml&lt;br /&gt;
* Search for the “serviceHost” parameter and change it from:&lt;br /&gt;
 &amp;lt;serviceHost&amp;gt;127.0.0.1&amp;lt;/serviceHost&amp;gt;&lt;br /&gt;
to this instead:&lt;br /&gt;
 &amp;lt;serviceHost&amp;gt;0.0.0.0&amp;lt;/serviceHost&amp;gt;&lt;br /&gt;
or you can execute the following:&lt;br /&gt;
 sed -i 's|127.0.0.1|0.0.0.0|' /usr/local/crashplan/conf/my.service.xml&lt;br /&gt;
* Save the file and then restart the CrashPlan daemon:&lt;br /&gt;
 systemctl restart crashplan.service&lt;br /&gt;
&lt;br /&gt;
ATTENTION the above changes are sometimes undone during crashplan updates, you have to repeat above steps to repair connectivity !!!!!&lt;br /&gt;
&lt;br /&gt;
===Desktop Client===&lt;br /&gt;
This example will show how to reconfigure the CrashPlan Desktop installation on a Windows PC to talk to the CrashPlan Engine instance running on your HDA.&lt;br /&gt;
&lt;br /&gt;
* Open the folder where you installed CrashPlan on your Windows PC. By default, this is in C:\Program Files\CrashPlan. Inside, you’ll find a folder called “conf” and inside there, a file called “ui.properties”. Open this file using a decent text editor like Notepad++ and look for the following line:&lt;br /&gt;
&lt;br /&gt;
 #serviceHost=127.0.0.1&lt;br /&gt;
&lt;br /&gt;
* Change the line to remove the comment character ‘#’ and include the IP address of your HDA.  For example:&lt;br /&gt;
&lt;br /&gt;
 serviceHost=192.168.1.100&lt;br /&gt;
&lt;br /&gt;
You now should be able to administer CrashPlan using your HDA as the local storage location.&lt;br /&gt;
&lt;br /&gt;
===CrashPlan Desktop Java RTE Errors===&lt;br /&gt;
If you use the CrashPlan desktop on version 3.5.3 you may experience a Java error - when starting the Crashplan desktop the splash image shows for a few seconds, and then vanishes, but the application doesn't open.&lt;br /&gt;
&lt;br /&gt;
It appears that CrashPlan 3.5.3 bundles a buggy version of the &amp;quot;Eclipse Standard Widget Toolkit&amp;quot;.  To fix, you just need to replace that toolkit with the latest one from the developer.&lt;br /&gt;
&lt;br /&gt;
* Download swt-4.3-gtk-linux-x86.zip and swt-4.3-gtk-linux-x86_64.zip from [http://download.eclipse.org/eclipse/downloads/drops4/R-4.3-201306052000/#SWT  Eclipse]. &lt;br /&gt;
&lt;br /&gt;
* Extract swt.jar from the x86_64 file and rename it as swt-64.jar, and extract swt.jar from the second file.  I saved them both to the home directory.  (You can do this from terminal from the directory in which you saved the .zip files):&lt;br /&gt;
 unzip -e swt-4.3-gtk-linux-x86_64.zip swt.jar -d ~&lt;br /&gt;
 mv ~/swt.jar ~/swt-64.jar&lt;br /&gt;
 unzip -e swt-4.3-gtk-linux-x86.zip swt.jar -d ~&lt;br /&gt;
&lt;br /&gt;
Then you need to copy these to the CrashPlan library.  On my HDA CrashPlan was installed to /var/hda/web-apps/crashplan/html.  If your installation is different you will need to replace the commands below this your directory.&lt;br /&gt;
&lt;br /&gt;
* Stop the crashplan server &lt;br /&gt;
 sudo systemctl stop crashplan.service&lt;br /&gt;
&lt;br /&gt;
* Back up the old files and copy in the new ones (change the directory path to your own if it is different and remember to put the /lib at the end):&lt;br /&gt;
 cd /var/hda/web-apps/crashplan/html/lib&lt;br /&gt;
 mv swt.jar swt.jar.old&lt;br /&gt;
 mv swt-64.jar swt-64.jar.old&lt;br /&gt;
 mv ~/swt.jar swt.jar&lt;br /&gt;
 mv ~/swt-64.jar swt-64.jar&lt;br /&gt;
&lt;br /&gt;
* Restart the crashplan &lt;br /&gt;
 systemctl start crashplan.service&lt;br /&gt;
&lt;br /&gt;
Should be working now.&lt;br /&gt;
&lt;br /&gt;
[Source: [https://forums.amahi.org/viewtopic.php?f=26&amp;amp;t=4951 this forum post]]&lt;br /&gt;
&lt;br /&gt;
==Configure CrashPlan (Ubuntu)==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p style=&amp;quot;color:red&amp;quot;&amp;gt;'''NOTE''' The CrashPlan UI sometimes has issues registering button clicks. If you click a button and it seems to do nothing, hit the ENTER key. That seems to help in such cases.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===On the HDA===&lt;br /&gt;
The easiest way to configure CrashPlan is to access it from the HDA desktop directly.&lt;br /&gt;
&lt;br /&gt;
Launch a Terminal (Applications &amp;gt; System &amp;gt; Terminal).&lt;br /&gt;
&lt;br /&gt;
In the terminal window (must run as root user) enter:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Fedora&amp;lt;/u&amp;gt;:  &lt;br /&gt;
 su -&lt;br /&gt;
 CrashPlanDesktop&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Ubuntu&amp;lt;/u&amp;gt;:  &lt;br /&gt;
 sudo CrashPlanDesktop&lt;br /&gt;
&lt;br /&gt;
If you don't have physical access to your HDA, or if you run it headless, try the methods below.&lt;br /&gt;
&lt;br /&gt;
===Using VNC===&lt;br /&gt;
If you have [[VNC]] or [[WebVNC]] setup, you can use that to configure CrashPlan remotely, instead of using the OS-dependent methods described below.&lt;br /&gt;
&lt;br /&gt;
Simply connect to your HDA using VNC (or WebVNC), and launch a Terminal (Applications &amp;gt; System &amp;gt; Terminal).&lt;br /&gt;
&lt;br /&gt;
In the terminal window enter the same commands as noted above depending on the OS you are running on your HDA.&lt;br /&gt;
&lt;br /&gt;
The CrashPlan configuration application will start.&lt;br /&gt;
&lt;br /&gt;
===Using X-Forwarding===&lt;br /&gt;
To use X-Forwarding, you don't need X running, or even installed on your HDA.&amp;lt;br/&amp;gt;&lt;br /&gt;
All you need is an X server on your client computer, and to SSH into your HDA with X-Forwarding enabled.&lt;br /&gt;
&lt;br /&gt;
====Windows====&lt;br /&gt;
=====PuTTY and Xming=====&lt;br /&gt;
You'll need two things to be able to configure CrashPlan from Windows: PuTTY and Xming.&lt;br /&gt;
&lt;br /&gt;
For PuTTY, just download putty.exe from [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html here]. You can leave it on your desktop and use it from there.&amp;lt;br/&amp;gt;&lt;br /&gt;
For Xming, you'll need to download and install two files: the [https://sourceforge.net/projects/xming/files/Xming/ Xming installer], and the [https://sourceforge.net/projects/xming/files/Xming-fonts/ fonts installer].&amp;lt;br/&amp;gt;&lt;br /&gt;
You can accept all the default values for both installs.&lt;br /&gt;
&lt;br /&gt;
Now, you should have a start menu item for Xming. Start it from there. You should now have a black X icon in your system tray.&lt;br /&gt;
&lt;br /&gt;
Next, start PuTTY, and enter your HDA IP address under ''Host Name (or IP address)'', enter 22 under ''Port'' and select SSH under ''Connection Type''.&lt;br /&gt;
&lt;br /&gt;
[[Image:Red-S01.png]]&lt;br /&gt;
&lt;br /&gt;
Open the ''Connection &amp;gt; SSH'' item in the ''Category'' tree on the left, and select ''X11''.&amp;lt;br/&amp;gt;&lt;br /&gt;
Select the checkbox that says ''Enable X11 forwarding''.&lt;br /&gt;
&lt;br /&gt;
Now go back into ''Session'' in the ''Category'' tree, and give a name for this profile, so you won't have to repeat those steps next time.&amp;lt;br/&amp;gt;&lt;br /&gt;
Enter a name in the ''Saved Sessions'' text box, and hit the ''Save'' button on the right.&amp;lt;br/&amp;gt;&lt;br /&gt;
Next time your start PuTTY, you'll be able to just double-click your profile in the ''Saved Sessions'' section to connect to your HDA with X11 forwarding enabled.&lt;br /&gt;
&lt;br /&gt;
Now, connect to your HDA by clicking ''Open'', or double-clicking your profile name in the Saved Sessions select box (on the left of the Load, Save and Delete buttons).&lt;br /&gt;
&lt;br /&gt;
Enter your Fedora username and password when prompted.&lt;br /&gt;
&lt;br /&gt;
=====FreeXer=====&lt;br /&gt;
FreeXer is an open source attempt to make X11 forwarding easy. It consists of PuTTY and Cygwin with a wrapper that configures both to enable X11 forwarding.&lt;br /&gt;
&lt;br /&gt;
First, download FreeXer [http://downloads.sourceforge.net/project/freexer/FreeXer/0.2/freeXer-installer.exe here].&lt;br /&gt;
&lt;br /&gt;
Once installed, open the &amp;quot;freeXer Session Editor&amp;quot; and enter a name for the session you're about to start under ''Session'', enter your HDA IP address under ''Host'', select SSH under ''Protocol'', enter your Fedora username under ''User'' and password under ''Password''. &lt;br /&gt;
&lt;br /&gt;
[[Image:Sess_editor_new.png]]&lt;br /&gt;
&lt;br /&gt;
Click on the ''Save'' button to save the session information. Once you saved the session information, the next time you need it you only need to open the session information file (or load it into the session editor) and you're done.&lt;br /&gt;
&lt;br /&gt;
When ready, click on the ''Launch Session'' button.&lt;br /&gt;
&lt;br /&gt;
=====Once logged in=====&lt;br /&gt;
Enter the following command to start the CrashPlan configuration UI:&lt;br /&gt;
&lt;br /&gt;
Enter the same commands as noted above for the OS you are running on your HDA.&lt;br /&gt;
&lt;br /&gt;
=====Guides=====&lt;br /&gt;
There are many guides available online that explain the steps of X11 forwarding. Here's some, if you need further help:&lt;br /&gt;
*[http://www.youtube.com/v/EsHuZJ5gORE?hl=en_US&amp;amp;fs=1 X Windows Forwarding video on YouTube]&lt;br /&gt;
*[http://www.cs.caltech.edu/courses/cs11/misc/xwindows.html Using X Forwarding on Windows at Caltech]&lt;br /&gt;
* [http://www.math.umn.edu/systems_guide/putty_xwin32.html X Forwarding with Putty on Windows at University of Minnesota]&lt;br /&gt;
&lt;br /&gt;
====Mac OS X====&lt;br /&gt;
Open a Terminal (Applications &amp;gt; Utilities &amp;gt; Terminal.app)&amp;lt;br/&amp;gt;&lt;br /&gt;
and enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 ssh -X hda&lt;br /&gt;
&lt;br /&gt;
Then enter the same commands as outlined above for the OS you are running on the HDA.&lt;br /&gt;
&lt;br /&gt;
Once you're done with the CrashPlan configuration, you can close the CrashPlan app, the X11.app that appeared in your Dock, and Terminal.app&lt;br /&gt;
&lt;br /&gt;
====Linux====&lt;br /&gt;
&lt;br /&gt;
Starting on your X desktop (Gnome, KDE, ...), open a Terminal (Applications &amp;gt;System &amp;gt; Terminal in Fedora)&amp;lt;br/&amp;gt;&lt;br /&gt;
and enter the following commands:&lt;br /&gt;
 ssh -X hda&lt;br /&gt;
&lt;br /&gt;
Follow the commands above for the specific OS you are running on your HDA.&lt;br /&gt;
&lt;br /&gt;
Once you're done with the CrashPlan configuration, you can close the CrashPlan app, and the Terminal.&lt;br /&gt;
&lt;br /&gt;
===Using a local CrashPlan client===&lt;br /&gt;
&lt;br /&gt;
You can follow the instructions on the CrashPlan wiki on [http://support.crashplan.com/doku.php/how_to/configure_a_headless_client how to connect to a headless CrashPlan install].&lt;br /&gt;
&lt;br /&gt;
It requires you to install CrashPlan on your client computer, manually editing a config file, and using SSH port forwarding.&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89661</id>
		<title>PhpSysInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89661"/>
		<updated>2014-11-28T17:33:53Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: /* Configure phpsysinfo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
{{NeedsUpdate}}&lt;br /&gt;
== Getting More Info ==&lt;br /&gt;
After the one click install of phpsysinfo in Amahi 6 or 7, you need to do some modifications to get all system information displayed.&lt;br /&gt;
=== Fedora Install lm-sensors ===&lt;br /&gt;
open a terminal session and login as root or if you have sudo configured use sudo in front of all commands. &lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
 su -&lt;br /&gt;
at the prompt enter your root password&lt;br /&gt;
&lt;br /&gt;
then type&lt;br /&gt;
 yum install lm_sensors&lt;br /&gt;
 sensors-detect&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu Install lm-sensors [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors (Additional help)] ===&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lm-sensors&lt;br /&gt;
 sudo sensors-detect&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Answer the questions. At the end of sensors-detect, Type &amp;quot;yes&amp;quot; to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself  service module-init-tools start&lt;br /&gt;
&lt;br /&gt;
=== Configure phpsysinfo ===&lt;br /&gt;
first make a backup of your original configuration file&lt;br /&gt;
&lt;br /&gt;
 cd /var/hda/web-apps/phpsysinfo/html&lt;br /&gt;
 cp phpsysinfo.ini phpsysinfo.inibak&lt;br /&gt;
&lt;br /&gt;
if neccessary&lt;br /&gt;
&lt;br /&gt;
 yum install nano&lt;br /&gt;
&lt;br /&gt;
modify the configuration file&lt;br /&gt;
 nano phpsysinfo.ini&lt;br /&gt;
&lt;br /&gt;
optional changes&lt;br /&gt;
&lt;br /&gt;
 DEFAULT_LANG=&amp;quot;nl&amp;quot;&lt;br /&gt;
 LOAD_BAR=true&lt;br /&gt;
 USE_VHOST=true&lt;br /&gt;
 SENSOR_PROGRAM=&amp;quot;LMSensors&amp;quot;&lt;br /&gt;
 HDD_TEMP=&amp;quot;command&amp;quot;&lt;br /&gt;
 HIDE_FS_TYPES=&amp;quot;tmpfs,devtmpfs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ubuntu run also &lt;br /&gt;
 sudo dpkg-reconfigure hddtemp&lt;br /&gt;
and set suid to YES &lt;br /&gt;
&lt;br /&gt;
after saving phpsysinfo.ini phpsysinfo will provide voltage, fan, temperature data and more&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
I started with&lt;br /&gt;
 yum install smartmontools&lt;br /&gt;
&lt;br /&gt;
in phpsysinfo.ini&lt;br /&gt;
 PLUGINS=&amp;quot;SMART&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 DEVICES=&amp;quot;/dev/sda, /dev/sdb&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89656</id>
		<title>PhpSysInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89656"/>
		<updated>2014-11-28T17:33:04Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: /* Configure phpsysinfo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
{{NeedsUpdate}}&lt;br /&gt;
== Getting More Info ==&lt;br /&gt;
After the one click install of phpsysinfo in Amahi 6 or 7, you need to do some modifications to get all system information displayed.&lt;br /&gt;
=== Fedora Install lm-sensors ===&lt;br /&gt;
open a terminal session and login as root or if you have sudo configured use sudo in front of all commands. &lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
 su -&lt;br /&gt;
at the prompt enter your root password&lt;br /&gt;
&lt;br /&gt;
then type&lt;br /&gt;
 yum install lm_sensors&lt;br /&gt;
 sensors-detect&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu Install lm-sensors [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors (Additional help)] ===&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lm-sensors&lt;br /&gt;
 sudo sensors-detect&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Answer the questions. At the end of sensors-detect, Type &amp;quot;yes&amp;quot; to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself  service module-init-tools start&lt;br /&gt;
&lt;br /&gt;
=== Configure phpsysinfo ===&lt;br /&gt;
first make a backup of your original configuration file&lt;br /&gt;
&lt;br /&gt;
 cd /var/hda/web-apps/phpsysinfo/html&lt;br /&gt;
 cp phpsysinfo.ini phpsysinfo.inibak&lt;br /&gt;
&lt;br /&gt;
if neccessary&lt;br /&gt;
&lt;br /&gt;
 yum install nano&lt;br /&gt;
&lt;br /&gt;
modify the configuration file&lt;br /&gt;
 nano phpsysinfo.ini&lt;br /&gt;
&lt;br /&gt;
optional changes&lt;br /&gt;
&lt;br /&gt;
 DEFAULT_LANG=&amp;quot;nl&amp;quot;&lt;br /&gt;
 LOAD_BAR=true&lt;br /&gt;
 USE_VHOST=true&lt;br /&gt;
 SENSOR_PROGRAM=&amp;quot;LMSensors&amp;quot;&lt;br /&gt;
 HDD_TEMP=&amp;quot;command&amp;quot;&lt;br /&gt;
 HIDE_FS_TYPES=&amp;quot;tmpfs,devtmpfs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ubuntu run also &lt;br /&gt;
 sudo dpkg-reconfigure hddtemp&lt;br /&gt;
and set suid to YES &lt;br /&gt;
&lt;br /&gt;
after saving phpsysinfo.ini phpsysinfo will provide voltage, fan, temperature data and more&lt;br /&gt;
&lt;br /&gt;
It should also be possible to display SMART information from your disks, but I did not manage to get it working.&lt;br /&gt;
&lt;br /&gt;
I started with&lt;br /&gt;
 yum install smartmontools&lt;br /&gt;
&lt;br /&gt;
in phpsysinfo.ini&lt;br /&gt;
 PLUGINS=&amp;quot;SMART&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 DEVICES=&amp;quot;/dev/sda, /dev/sdb&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89651</id>
		<title>PhpSysInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89651"/>
		<updated>2014-11-28T17:27:55Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: /* Getting More Info */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
{{NeedsUpdate}}&lt;br /&gt;
== Getting More Info ==&lt;br /&gt;
After the one click install of phpsysinfo in Amahi 6 or 7, you need to do some modifications to get all system information displayed.&lt;br /&gt;
=== Fedora Install lm-sensors ===&lt;br /&gt;
open a terminal session and login as root or if you have sudo configured use sudo in front of all commands. &lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
 su -&lt;br /&gt;
at the prompt enter your root password&lt;br /&gt;
&lt;br /&gt;
then type&lt;br /&gt;
 yum install lm_sensors&lt;br /&gt;
 sensors-detect&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu Install lm-sensors [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors (Additional help)] ===&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lm-sensors&lt;br /&gt;
 sudo sensors-detect&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Answer the questions. At the end of sensors-detect, Type &amp;quot;yes&amp;quot; to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself  service module-init-tools start&lt;br /&gt;
&lt;br /&gt;
=== Configure phpsysinfo ===&lt;br /&gt;
first make a backup of your original configuration file&lt;br /&gt;
&lt;br /&gt;
 cd /var/hda/web-apps/phpsysinfo/html&lt;br /&gt;
 cp phpsysinfo.ini phpsysinfo.inibak&lt;br /&gt;
&lt;br /&gt;
if neccessary&lt;br /&gt;
&lt;br /&gt;
 yum install nano&lt;br /&gt;
&lt;br /&gt;
modify the configuration file&lt;br /&gt;
 nano phpsysinfo.ini&lt;br /&gt;
&lt;br /&gt;
optional changes&lt;br /&gt;
&lt;br /&gt;
 DEFAULT_LANG=&amp;quot;nl&amp;quot;&lt;br /&gt;
 LOAD_BAR=true&lt;br /&gt;
 USE_VHOST=true&lt;br /&gt;
 SENSOR_PROGRAM=&amp;quot;LMSensors&amp;quot;&lt;br /&gt;
 HDD_TEMP=&amp;quot;command&amp;quot;&lt;br /&gt;
 HIDE_FS_TYPES=&amp;quot;tmpfs,devtmpfs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ubuntu run also &lt;br /&gt;
 sudo dpkg-reconfigure hddtemp&lt;br /&gt;
and set suid to YES &lt;br /&gt;
&lt;br /&gt;
after saving phpsysinfo.ini phpsysinfo will provide voltage, fan, temperature data and more&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89646</id>
		<title>PhpSysInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89646"/>
		<updated>2014-11-28T17:26:50Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: /* Configure phpsysinfo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
{{NeedsUpdate}}&lt;br /&gt;
== Getting More Info ==&lt;br /&gt;
After the one click install of phpsysinfo in Amahi 6.0, you need to do some modifications to get all system information displayed.&lt;br /&gt;
=== Fedora Install lm-sensors ===&lt;br /&gt;
open a terminal session and login as root or if you have sudo configured use sudo in front of all commands. &lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
 su -&lt;br /&gt;
at the prompt enter your root password&lt;br /&gt;
&lt;br /&gt;
then type&lt;br /&gt;
 yum install lm_sensors&lt;br /&gt;
 sensors-detect&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu Install lm-sensors [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors (Additional help)] ===&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lm-sensors&lt;br /&gt;
 sudo sensors-detect&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Answer the questions. At the end of sensors-detect, Type &amp;quot;yes&amp;quot; to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself  service module-init-tools start&lt;br /&gt;
&lt;br /&gt;
=== Configure phpsysinfo ===&lt;br /&gt;
first make a backup of your original configuration file&lt;br /&gt;
&lt;br /&gt;
 cd /var/hda/web-apps/phpsysinfo/html&lt;br /&gt;
 cp phpsysinfo.ini phpsysinfo.inibak&lt;br /&gt;
&lt;br /&gt;
if neccessary&lt;br /&gt;
&lt;br /&gt;
 yum install nano&lt;br /&gt;
&lt;br /&gt;
modify the configuration file&lt;br /&gt;
 nano phpsysinfo.ini&lt;br /&gt;
&lt;br /&gt;
optional changes&lt;br /&gt;
&lt;br /&gt;
 DEFAULT_LANG=&amp;quot;nl&amp;quot;&lt;br /&gt;
 LOAD_BAR=true&lt;br /&gt;
 USE_VHOST=true&lt;br /&gt;
 SENSOR_PROGRAM=&amp;quot;LMSensors&amp;quot;&lt;br /&gt;
 HDD_TEMP=&amp;quot;command&amp;quot;&lt;br /&gt;
 HIDE_FS_TYPES=&amp;quot;tmpfs,devtmpfs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ubuntu run also &lt;br /&gt;
 sudo dpkg-reconfigure hddtemp&lt;br /&gt;
and set suid to YES &lt;br /&gt;
&lt;br /&gt;
after saving phpsysinfo.ini phpsysinfo will provide voltage, fan, temperature data and more&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89641</id>
		<title>PhpSysInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89641"/>
		<updated>2014-11-28T17:25:03Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: /* Configure phpsysinfo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
{{NeedsUpdate}}&lt;br /&gt;
== Getting More Info ==&lt;br /&gt;
After the one click install of phpsysinfo in Amahi 6.0, you need to do some modifications to get all system information displayed.&lt;br /&gt;
=== Fedora Install lm-sensors ===&lt;br /&gt;
open a terminal session and login as root or if you have sudo configured use sudo in front of all commands. &lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
 su -&lt;br /&gt;
at the prompt enter your root password&lt;br /&gt;
&lt;br /&gt;
then type&lt;br /&gt;
 yum install lm_sensors&lt;br /&gt;
 sensors-detect&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu Install lm-sensors [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors (Additional help)] ===&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lm-sensors&lt;br /&gt;
 sudo sensors-detect&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Answer the questions. At the end of sensors-detect, Type &amp;quot;yes&amp;quot; to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself  service module-init-tools start&lt;br /&gt;
&lt;br /&gt;
=== Configure phpsysinfo ===&lt;br /&gt;
first make a backup of your original configuration file&lt;br /&gt;
&lt;br /&gt;
 cd /var/hda/web-apps/phpsysinfo/html&lt;br /&gt;
 cp phpsysinfo.ini phpsysinfo.inibak&lt;br /&gt;
&lt;br /&gt;
if neccessary&lt;br /&gt;
&lt;br /&gt;
 yum install nano&lt;br /&gt;
&lt;br /&gt;
modify the configuration file&lt;br /&gt;
 nano phpsysinfo.ini&lt;br /&gt;
&lt;br /&gt;
optional changes&lt;br /&gt;
&lt;br /&gt;
 DEFAULT_LANG=&amp;quot;nl&amp;quot;&lt;br /&gt;
 LOAD_BAR=true&lt;br /&gt;
 USE_VHOST=true&lt;br /&gt;
 SENSOR_PROGRAM=&amp;quot;LMSensors&amp;quot;&lt;br /&gt;
 HDD_TEMP=&amp;quot;command&amp;quot;&lt;br /&gt;
 HIDE_FS_TYPES=&amp;quot;tmpfs,devtmpfs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ubuntu run also &lt;br /&gt;
 sudo dpkg-reconfigure hddtemp&lt;br /&gt;
and set suid to YES &lt;br /&gt;
&lt;br /&gt;
after saving config.php phpsysinfo will provide voltage, fan and temperature data.&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89636</id>
		<title>PhpSysInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=89636"/>
		<updated>2014-11-28T17:24:00Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: /* Install lm-sensors and configure phpsysinfo (Additional help) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
{{NeedsUpdate}}&lt;br /&gt;
== Getting More Info ==&lt;br /&gt;
After the one click install of phpsysinfo in Amahi 6.0, you need to do some modifications to get all system information displayed.&lt;br /&gt;
=== Fedora Install lm-sensors ===&lt;br /&gt;
open a terminal session and login as root or if you have sudo configured use sudo in front of all commands. &lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
 su -&lt;br /&gt;
at the prompt enter your root password&lt;br /&gt;
&lt;br /&gt;
then type&lt;br /&gt;
 yum install lm_sensors&lt;br /&gt;
 sensors-detect&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu Install lm-sensors [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors (Additional help)] ===&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lm-sensors&lt;br /&gt;
 sudo sensors-detect&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Answer the questions. At the end of sensors-detect, Type &amp;quot;yes&amp;quot; to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself  service module-init-tools start&lt;br /&gt;
&lt;br /&gt;
=== Configure phpsysinfo ===&lt;br /&gt;
first make a backup of your original configuration file&lt;br /&gt;
&lt;br /&gt;
 cd /var/hda/web-apps/phpsysinfo/html&lt;br /&gt;
 cp phpsysinfo.ini phpsysinfo.inibak&lt;br /&gt;
&lt;br /&gt;
modify the configuration file&lt;br /&gt;
 nano phpsysinfo.ini&lt;br /&gt;
&lt;br /&gt;
optional changes&lt;br /&gt;
&lt;br /&gt;
 DEFAULT_LANG=&amp;quot;nl&amp;quot;&lt;br /&gt;
 LOAD_BAR=true&lt;br /&gt;
 USE_VHOST=true&lt;br /&gt;
 SENSOR_PROGRAM=&amp;quot;LMSensors&amp;quot;&lt;br /&gt;
 HDD_TEMP=&amp;quot;command&amp;quot;&lt;br /&gt;
 HIDE_FS_TYPES=&amp;quot;tmpfs,devtmpfs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ubuntu run also &lt;br /&gt;
 sudo dpkg-reconfigure hddtemp&lt;br /&gt;
and set suid to YES &lt;br /&gt;
&lt;br /&gt;
after saving config.php phpsysinfo will provide voltage, fan and temperature data.&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=58082</id>
		<title>PhpSysInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=58082"/>
		<updated>2012-07-18T20:02:47Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: make hddtemp work under ubuntu&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
== Getting More Info ==&lt;br /&gt;
After the one click install of phpsysinfo in Amahi 6.0, you need to do some modifications to get all system information displayed.&lt;br /&gt;
=== Fedora Install lm-sensors ===&lt;br /&gt;
open a terminal session and login as root or if you have sudo configured use sudo in front of all commands. &lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
{{Code| su -}}&lt;br /&gt;
at the prompt enter your root password&lt;br /&gt;
&lt;br /&gt;
then type&lt;br /&gt;
{{Code|yum install lm_sensors&lt;br /&gt;
sensors-detect}}&lt;br /&gt;
=== Ubuntu Install lm-sensors [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors (Additional help)] ===&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install lm-sensors&lt;br /&gt;
sudo sensors-detect}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Answer the questions. At the end of sensors-detect, Type &amp;quot;yes&amp;quot; to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself {{Code|service module-init-tools start}}&lt;br /&gt;
&lt;br /&gt;
{{Code|cd /var/hda/web-apps/phpsysinfo/html&lt;br /&gt;
cp config.php config.php_bak}}&lt;br /&gt;
 to make a backup of your original config file&lt;br /&gt;
&lt;br /&gt;
{{Code|nano config.php}}&lt;br /&gt;
&lt;br /&gt;
Change define('PSI_SENSOR_PROGRAM', ''); to define('PSI_SENSOR_PROGRAM', 'LMSensors'); This tells phpsysinfo to use lm_sensors to obtain and display sensor information.&lt;br /&gt;
&lt;br /&gt;
Other optional changes:&lt;br /&gt;
 define('PSI_HIDE_MOUNTS', '/boot,/dev/shm'); - hides /boot and /dev/shm in mounted filesystems&lt;br /&gt;
 define('PSI_HIDE_FS_TYPES', 'tmpfs'); -  hides tmpfs filesystems&lt;br /&gt;
 define('PSI_LOAD_BAR', true); &lt;br /&gt;
 define('PSI_UPS_PROGRAM', 'Apcupsd'); -  use apcupsd to show APC info from APC UPS's&lt;br /&gt;
 define('PSI_HDD_TEMP', 'command'); - tells PSI to obtain current hdd temp &lt;br /&gt;
 in Ubuntu run also {{Code|sudo dpkg-reconfigure hddtemp}} and set suid to YES &lt;br /&gt;
&lt;br /&gt;
after saving config.php phpsysinfo will provide voltage, fan and temperature data.&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=57080</id>
		<title>PhpSysInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=57080"/>
		<updated>2012-07-07T15:59:12Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
== Getting More Info ==&lt;br /&gt;
After the one click install of phpsysinfo in Amahi 6.0, you need to do some modifications to get all system information displayed.&lt;br /&gt;
&lt;br /&gt;
open a terminal session and login as root or if you have sudo configured use sudo in front of all commands. &lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
{{Code| su -}}&lt;br /&gt;
at the prompt enter your root password&lt;br /&gt;
&lt;br /&gt;
then type&lt;br /&gt;
{{Code|yum install lm_sensors&lt;br /&gt;
sensors-detect}}&lt;br /&gt;
&lt;br /&gt;
in Ubuntu: &lt;br /&gt;
more info at [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors ubuntu help on lm-sensors]&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install lm-sensors&lt;br /&gt;
sudo sensors-detect}}&lt;br /&gt;
&lt;br /&gt;
Answer the questions. At the end of sensors-detect, Type &amp;quot;yes&amp;quot; to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself {{Code|service module-init-tools start}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Code|cd /var/hda/web-apps/phpsysinfo/html&lt;br /&gt;
cp config.php config.php_bak}}&lt;br /&gt;
 to make a backup of your original config file&lt;br /&gt;
&lt;br /&gt;
{{Code|nano config.php}}&lt;br /&gt;
&lt;br /&gt;
Change define('PSI_SENSOR_PROGRAM', ''); to define('PSI_SENSOR_PROGRAM', 'LMSensors'); This tells phpsysinfo to use lm_sensors to obtain and display sensor information.&lt;br /&gt;
&lt;br /&gt;
Other optional changes:&lt;br /&gt;
 define('PSI_HIDE_MOUNTS', '/boot,/dev/shm'); - hides /boot and /dev/shm in mounted filesystems&lt;br /&gt;
 define('PSI_HIDE_FS_TYPES', 'tmpfs'); -  hides tmpfs filesystems&lt;br /&gt;
 define('PSI_HDD_TEMP', 'tcp'); - tells PSI to obtain current hdd temp &lt;br /&gt;
 define('PSI_LOAD_BAR', true); &lt;br /&gt;
 define('PSI_UPS_PROGRAM', 'Apcupsd'); -  use apcupsd to show APC info from APC UPS's&lt;br /&gt;
 &lt;br /&gt;
after saving config.php phpsysinfo will provide voltage, fan and temperature data.&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=57074</id>
		<title>PhpSysInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=57074"/>
		<updated>2012-07-07T15:51:46Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: ubuntu added&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
== Getting More Info ==&lt;br /&gt;
After the one click install of phpsysinfo in Amahi 6.0, you need to do some modifications to get all system information displayed.&lt;br /&gt;
&lt;br /&gt;
open a terminal session and login as root or if you have sudo configured use sudo in front of all commands. &lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
{{Code| su -}}&lt;br /&gt;
at the prompt enter your root password&lt;br /&gt;
&lt;br /&gt;
then type&lt;br /&gt;
{{Code|yum install lm_sensors&lt;br /&gt;
sensors-detect}}&lt;br /&gt;
&lt;br /&gt;
in Ubuntu: &lt;br /&gt;
more info at [https://help.ubuntu.com/community/SensorInstallHowto#Install_and_Configure_lm-sensors ubuntu help on lm-sensors]&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install lm-sensors&lt;br /&gt;
sudo sensors-detect}}&lt;br /&gt;
&lt;br /&gt;
Answer the questions. At the end of sensors-detect, Type &amp;quot;yes&amp;quot; to have sensors-detect insert modules into /etc/modules, or edit /etc/modules yourself.&lt;br /&gt;
&lt;br /&gt;
{{Code|cd /var/hda/web-apps/phpsysinfo/html&lt;br /&gt;
cp config.php config.php_bak}}&lt;br /&gt;
 to make a backup of your original config file&lt;br /&gt;
&lt;br /&gt;
{{Code|nano config.php}}&lt;br /&gt;
&lt;br /&gt;
Change define('PSI_SENSOR_PROGRAM', ''); to define('PSI_SENSOR_PROGRAM', 'LMSensors'); This tells phpsysinfo to use lm_sensors to obtain and display sensor information.&lt;br /&gt;
&lt;br /&gt;
Other optional changes:&lt;br /&gt;
 define('PSI_HIDE_MOUNTS', '/boot,/dev/shm'); - hides /boot and /dev/shm in mounted filesystems&lt;br /&gt;
 define('PSI_HIDE_FS_TYPES', 'tmpfs'); -  hides tmpfs filesystems&lt;br /&gt;
 define('PSI_HDD_TEMP', 'tcp'); - tells PSI to obtain current hdd temp &lt;br /&gt;
 define('PSI_LOAD_BAR', true); &lt;br /&gt;
 define('PSI_UPS_PROGRAM', 'Apcupsd'); -  use apcupsd to show APC info from APC UPS's&lt;br /&gt;
 &lt;br /&gt;
after saving config.php phpsysinfo will provide voltage, fan and temperature data.&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Backups&amp;diff=8827</id>
		<title>Backups</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Backups&amp;diff=8827"/>
		<updated>2010-02-18T19:38:31Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: adding link to Rsnapshot for backuing up HDA shares&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You have several ways to do backups in your HDA. We break them in two: full disk (bare metal) backups, and periodic backups.&lt;br /&gt;
&lt;br /&gt;
They are all initiated by the client computer on to the server.&lt;br /&gt;
&lt;br /&gt;
= Full Disk &amp;quot;Bare Metal&amp;quot; Backups =&lt;br /&gt;
&lt;br /&gt;
Each HDA now includes the Personal Backup Appliance, or PBA, with the collaboration of the PBA leader, Roland Hui.&lt;br /&gt;
&lt;br /&gt;
[[PBA | PBA]] is an application to do hard disk clones, backups and restores.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Using Symantec Backup Exec System Recovery 8.5 (Norton save &amp;amp; restore) =&lt;br /&gt;
&lt;br /&gt;
Symantec's [http://www.symantec.com/business/backup-exec-system-recovery-desktop-edition] (BESR) allows full system backup and restore (virtual and physical)from any hardware with restore to dissimilar hardware. Conversion from P2V or V2P can also be scheduled. Install BESR on all windows computers connected to HDA and route backup to a folder on the HDA. Remember to set permissions on destination folders. Activate VSS copy so any open files are captured, optional threatcon can be used to trigger a backup if a threat becomes widespread. &lt;br /&gt;
Alternatively BESR can be installed on a central windows machine with agents deployed on all other windows and Linux machines and using the new Linux media server agent (replaces RALUS) backup directly on the Linux HDA. This way you maintain a catalogue of all backups and can trigger them from a central console.&lt;br /&gt;
BESR is the enterprise windows standard for Backup and restore. Norton the consumer brand of Symantec have &amp;quot;Save &amp;amp; Restore&amp;quot; I'm not overly familiar with this product but it replaces Norton &amp;quot;Ghost&amp;quot; in most markets.[http://www.symantec.com/norton/save-restore] the GUI is exactly the same as BESR.&lt;br /&gt;
&lt;br /&gt;
BESR is only for windows machines connected to the HDA but is a great solution to protecting these machines and allows LIVE single pass backup and granular restore of files, saves doing an image and a file backup. Less space less time. An agent is available to backup Linux but another option is to boot the HDA on the recovery disk and create a cold image of the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Periodic File Backups =&lt;br /&gt;
&lt;br /&gt;
One of the ways to backup systems in your network is to use the operating-system provided backup service.&lt;br /&gt;
[[Image:VistaBackups3.png | 150px | Vista Backups | align:right]]&lt;br /&gt;
&lt;br /&gt;
We have documented ways to do periodic backups in various platforms. If you have good suggestions on how to do that, please add them to this section of the wiki! (Or email it to us if you're wiki-shy)&lt;br /&gt;
&lt;br /&gt;
Note: To new users only the &amp;quot;Bare Metal&amp;quot; Backups will show in the [http://wiki.amahi.org/index.php/PBABackups Amahi Personal Backup] webpage all others will not show on this page.&lt;br /&gt;
&lt;br /&gt;
== Vista Backups ==&lt;br /&gt;
Here is a quick how to on doing [[VistaBackups | periodic file backups in Windows Vista to your HDA]].&lt;br /&gt;
&lt;br /&gt;
== Windows XP Backups ==&lt;br /&gt;
&lt;br /&gt;
For XP Backups, visit the section for [[XPBackups | Windows XP]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu Backups ==&lt;br /&gt;
&lt;br /&gt;
How to backup Ubuntu clients using Ubuntu's [[Sbackup | Simple Backup]].&lt;br /&gt;
&lt;br /&gt;
== Fedora Backups ==&lt;br /&gt;
&lt;br /&gt;
To backup Fedora clients, the following are recommended:&lt;br /&gt;
&lt;br /&gt;
* [[fwbackups]], a desktop utility&lt;br /&gt;
* [http://rsnapshot.org/ rsnapshot], a solution using rsync, with command line interface&lt;br /&gt;
* for backing up your hda shares to usbdrive see [[Rsnapshot]] for an example setup.&lt;br /&gt;
&lt;br /&gt;
== Mac OS X ==&lt;br /&gt;
Mac OS X without Time Machine is not officially supported through automated HDA Backups at this time.&lt;br /&gt;
You can, however, manually copy files to an HDA shared folder.&lt;br /&gt;
&lt;br /&gt;
=== Backups with SuperDuper! ===&lt;br /&gt;
&lt;br /&gt;
Another backup solution is a program called [[SuperDuper!]], follow the link to see the steps and to find out about SuperDuper!.&lt;br /&gt;
&lt;br /&gt;
=== Backups with SystemRescueCD ===&lt;br /&gt;
&lt;br /&gt;
Backups with [[SystemRescueCD_with_Mac_OS_X | SystemRescueCD]] have been reported that they work, more info can be found by visiting the link.&lt;br /&gt;
&lt;br /&gt;
=== Backups with Time Machine ===&lt;br /&gt;
&lt;br /&gt;
==== SMB (Samba) ====&lt;br /&gt;
&lt;br /&gt;
'''WARNING - Hack ahead!'''  For Time Machine smb users only.&lt;br /&gt;
&lt;br /&gt;
There is an unsupported way to enable using Mac OS X Time Machine to backup to your HDA. The [http://vowe.net/archives/008940.html Time Machine hack] is a one liner command to be typed in a terminal in Mac OS X:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will offer you the choice to backup to your HDA shares.&lt;br /&gt;
&lt;br /&gt;
It should be noted that mounting a directory from your HDA via NFS let's you use time machine without this hack.&lt;br /&gt;
&lt;br /&gt;
Needless to say, we're not advocating you backup your data like this, since Apple does not support this functionality. There are rumors that data corruption can occur if the size of the backup exceeds 2TB or if a large number of files, on the order of a million, are backed up. Because the exact conditions leading to data corruption are not well quantified, we do not recommend you backup like this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== AFP  ====&lt;br /&gt;
&lt;br /&gt;
For full time machine support in fedora, avahi(bonjour) and netatalk(afp) need to be installed&lt;br /&gt;
&lt;br /&gt;
[[http://wiki.amahi.org/index.php/AFP]Install AFP and Avahi]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*in Applevolume.default add &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;~/ &amp;quot;$u&amp;quot; allow:UserName rwlist:UserName,@users cnidscheme:cdb&amp;lt;br&amp;gt;&lt;br /&gt;
/var/hda/files/timemachine allow:UserName rwlist:UserName,@users cnidscheme:cdb options:usedots,upriv&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Change UserName to your username and /var/hda/files/timemachine to your timemachine folder, the first line will also publish your homefolder to your mac but was necessary in my setup to work&lt;br /&gt;
&lt;br /&gt;
*then service avahi-daemon and atalk restart&lt;br /&gt;
&lt;br /&gt;
*the server will show up on your mac connect to the xserve afp server&lt;br /&gt;
*on your mac open disk utility&lt;br /&gt;
*make a new disk image with the max size on disk possible and name it Computername_ethernetmacadress.sparsebundle&lt;br /&gt;
ex.&lt;br /&gt;
MacBookProIcey_aa00bb11cc22.sparsebundle&lt;br /&gt;
&lt;br /&gt;
#use Journaled/case sensitive&lt;br /&gt;
#name has to be Backup of ComputerName&lt;br /&gt;
#and save it to the timemachine share&lt;br /&gt;
[[File:Tm-sparsebundle.png‎|caption]]&lt;br /&gt;
&lt;br /&gt;
*timemachine image will grow when you synchronize but never larger than the max size&lt;br /&gt;
*time machine will now find your amahi time capsule&lt;br /&gt;
&lt;br /&gt;
[[Category: Services]]&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Rsnapshot&amp;diff=8779</id>
		<title>Rsnapshot</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Rsnapshot&amp;diff=8779"/>
		<updated>2010-02-17T20:28:07Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: edited a typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Quick recipe to configure rsnapshot.&lt;br /&gt;
&lt;br /&gt;
These are the critical settings in /etc/rsnapshot.conf:&lt;br /&gt;
&lt;br /&gt;
     snapshot_root   /mnt/1tb-external/snapshots/&lt;br /&gt;
     interval        daily   14&lt;br /&gt;
     interval        weekly  4&lt;br /&gt;
     interval        monthly 4&lt;br /&gt;
&lt;br /&gt;
This will create a series of directories called daily.0 through daily.13&lt;br /&gt;
weekly.0 to weekly.3 ... etc.&lt;br /&gt;
&lt;br /&gt;
=Another example of rsnapshot configuration on amahi 5.1=&lt;br /&gt;
&lt;br /&gt;
In this example automated backups are made to an external usb drive.&lt;br /&gt;
Plug in the USB drive, it wil probably mount automatically under /media/yourdisklabel&lt;br /&gt;
&lt;br /&gt;
First login as root in a terminal (putty or ssh root@hda)&lt;br /&gt;
and type&lt;br /&gt;
&lt;br /&gt;
:mount&lt;br /&gt;
&lt;br /&gt;
in the output, find which device is your usbdrive, possibly /dev/sdb1&lt;br /&gt;
&lt;br /&gt;
=Format usb disk=&lt;br /&gt;
You need to format the disk for rsnapshot to be able to use hard links. FAT formatting does not support this unfortunately.&lt;br /&gt;
&lt;br /&gt;
:umount /media/yourdisklabel &lt;br /&gt;
&lt;br /&gt;
:mkfs -t ext3 -v -L usbdisk /dev/sdb1&lt;br /&gt;
&lt;br /&gt;
THIS WILL ERASE ALL DATA ON /dev/sdb1,  MAKE SURE THIS IS YOUR USB DRIVE AND NOT ANOTHER DRIVE&lt;br /&gt;
&lt;br /&gt;
=Install rsnapshot=&lt;br /&gt;
:yum install rsnapshot&lt;br /&gt;
&lt;br /&gt;
:mkdir -p /media/usbdisk/.private/.snapshots&lt;br /&gt;
&lt;br /&gt;
:chmod 0700 /media/usbdisk/.private/ &lt;br /&gt;
&lt;br /&gt;
:chmod 0755 /media/usbdisk/.private/.snapshots/ &lt;br /&gt;
&lt;br /&gt;
=Mount your usbdisk permanently=&lt;br /&gt;
To Mount your usbdisk permanently (so the backup will work after a reboot) do the following:&lt;br /&gt;
&lt;br /&gt;
:cp /etc/fstab /etc/fstab_bak&lt;br /&gt;
&lt;br /&gt;
:nano /etc/fstab&lt;br /&gt;
&lt;br /&gt;
Add to this file&lt;br /&gt;
&lt;br /&gt;
:LABEL=usbdisk        /media/usbdisk       ext3    defaults        0 0&lt;br /&gt;
&lt;br /&gt;
Save the file.&lt;br /&gt;
&lt;br /&gt;
=Modify rsnapshot configuration=&lt;br /&gt;
:nano /etc/rsnapshot.conf&lt;br /&gt;
&lt;br /&gt;
make the following modifications to the file rsnapshot.conf&lt;br /&gt;
for blank spaces use TABS!&lt;br /&gt;
&lt;br /&gt;
:snapshot_root   /media/usbdisk/.private/.snapshots/&lt;br /&gt;
&lt;br /&gt;
:no_create_root  1&lt;br /&gt;
&lt;br /&gt;
:interval        hourly  6&lt;br /&gt;
&lt;br /&gt;
:interval        daily   7&lt;br /&gt;
&lt;br /&gt;
:interval        weekly  4&lt;br /&gt;
&lt;br /&gt;
:interval        monthly 12&lt;br /&gt;
&lt;br /&gt;
:verbose         3&lt;br /&gt;
&lt;br /&gt;
:backup 	/var/hda/files/docs/    	localhost/&lt;br /&gt;
&lt;br /&gt;
:backup 	/var/hda/files/pictures/ 	localhost/&lt;br /&gt;
&lt;br /&gt;
:backup 	/var/hda/files/movies/  	localhost/&lt;br /&gt;
&lt;br /&gt;
:backup 	/var/hda/files/music/   	localhost/&lt;br /&gt;
&lt;br /&gt;
:backup 	/var/hda/files/othersharesyoumade	localhost/&lt;br /&gt;
&lt;br /&gt;
Save the file&lt;br /&gt;
&lt;br /&gt;
:rsnapshot configtest&lt;br /&gt;
&lt;br /&gt;
this should return: syntax OK&lt;br /&gt;
&lt;br /&gt;
=Email reporting=&lt;br /&gt;
&lt;br /&gt;
for email reporting on your backups:&lt;br /&gt;
&lt;br /&gt;
:cp /usr/share/doc/rsnapshot*/utils/rsnapreport.pl /root&lt;br /&gt;
&lt;br /&gt;
:chmod 744 rsnapreport.pl &lt;br /&gt;
&lt;br /&gt;
=Automate backup with cronjob=&lt;br /&gt;
&lt;br /&gt;
:crontab -l &amp;gt; cronjobs&lt;br /&gt;
&lt;br /&gt;
:nano cronjobs&lt;br /&gt;
&lt;br /&gt;
add to this file for running rsnapshot and a weekly email report on rsnapshot:&lt;br /&gt;
&lt;br /&gt;
:0 */4 * * *       /usr/bin/rsnapshot hourly 2&amp;gt;&amp;amp;1 | /root/rsnapreport.pl &amp;gt; /root/rsnapreport&lt;br /&gt;
&lt;br /&gt;
:30 23 * * *       /usr/bin/rsnapshot daily&lt;br /&gt;
&lt;br /&gt;
:00 23 * * 1       /usr/bin/rsnapshot weekly&lt;br /&gt;
&lt;br /&gt;
:30 22 1 * *       /usr/bin/rsnapshot monthly&lt;br /&gt;
&lt;br /&gt;
:00 22 * * 6       /usr/bin/rsnapshot du &amp;gt;&amp;gt; /root/rsnapreport | nail –r &amp;quot;somereturnadress@provider.com&amp;quot; -s&amp;quot;HDA backup report&amp;quot; -S smtp=smtp.yourprovider.com youremail@provider.com &amp;lt; /root/rsnapreport&lt;br /&gt;
&lt;br /&gt;
Save the file&lt;br /&gt;
&lt;br /&gt;
:crontab cronjobs&lt;br /&gt;
&lt;br /&gt;
Rsnapshot should now be operational.&lt;br /&gt;
&lt;br /&gt;
=Make your backups available on clients (READ ONLY)=&lt;br /&gt;
&lt;br /&gt;
If you want to make the backups accesible from your clients:&lt;br /&gt;
&lt;br /&gt;
Create a //hda/backup share in the HDA webinterface&lt;br /&gt;
&lt;br /&gt;
:chkconfig nfs --level 2345 on&lt;br /&gt;
&lt;br /&gt;
add a read only NFS export:&lt;br /&gt;
&lt;br /&gt;
:nano /etc/exports&lt;br /&gt;
&lt;br /&gt;
add &lt;br /&gt;
&lt;br /&gt;
:/media/usbdisk/.private/.snapshots/  127.0.0.1(ro,no_root_squash)&lt;br /&gt;
&lt;br /&gt;
Save file&lt;br /&gt;
&lt;br /&gt;
Unfortunately mounting an NFS share in fstab did not work on my machine after a reboot, so I chose an alternative configuration that mounts the share later in the booting process:&lt;br /&gt;
&lt;br /&gt;
:nano /etc/rc.local&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
&lt;br /&gt;
:mount -r -t nfs localhost:/media/usbdisk/.private/.snapshots/  /var/hda/files/backup/&lt;br /&gt;
&lt;br /&gt;
save file&lt;br /&gt;
&lt;br /&gt;
[[Category: Apps]]&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Backups&amp;diff=8773</id>
		<title>Backups</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Backups&amp;diff=8773"/>
		<updated>2010-02-17T20:16:01Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: link to Rsnapshot example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You have several ways to do backups in your HDA. We break them in two: full disk (bare metal) backups, and periodic backups.&lt;br /&gt;
&lt;br /&gt;
They are all initiated by the client computer on to the server.&lt;br /&gt;
&lt;br /&gt;
= Full Disk &amp;quot;Bare Metal&amp;quot; Backups =&lt;br /&gt;
&lt;br /&gt;
Each HDA now includes the Personal Backup Appliance, or PBA, with the collaboration of the PBA leader, Roland Hui.&lt;br /&gt;
&lt;br /&gt;
[[PBA | PBA]] is an application to do hard disk clones, backups and restores.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Using Symantec Backup Exec System Recovery 8.5 (Norton save &amp;amp; restore) =&lt;br /&gt;
&lt;br /&gt;
Symantec's [http://www.symantec.com/business/backup-exec-system-recovery-desktop-edition] (BESR) allows full system backup and restore (virtual and physical)from any hardware with restore to dissimilar hardware. Conversion from P2V or V2P can also be scheduled. Install BESR on all windows computers connected to HDA and route backup to a folder on the HDA. Remember to set permissions on destination folders. Activate VSS copy so any open files are captured, optional threatcon can be used to trigger a backup if a threat becomes widespread. &lt;br /&gt;
Alternatively BESR can be installed on a central windows machine with agents deployed on all other windows and Linux machines and using the new Linux media server agent (replaces RALUS) backup directly on the Linux HDA. This way you maintain a catalogue of all backups and can trigger them from a central console.&lt;br /&gt;
BESR is the enterprise windows standard for Backup and restore. Norton the consumer brand of Symantec have &amp;quot;Save &amp;amp; Restore&amp;quot; I'm not overly familiar with this product but it replaces Norton &amp;quot;Ghost&amp;quot; in most markets.[http://www.symantec.com/norton/save-restore] the GUI is exactly the same as BESR.&lt;br /&gt;
&lt;br /&gt;
BESR is only for windows machines connected to the HDA but is a great solution to protecting these machines and allows LIVE single pass backup and granular restore of files, saves doing an image and a file backup. Less space less time. An agent is available to backup Linux but another option is to boot the HDA on the recovery disk and create a cold image of the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Periodic File Backups =&lt;br /&gt;
&lt;br /&gt;
One of the ways to backup systems in your network is to use the operating-system provided backup service.&lt;br /&gt;
[[Image:VistaBackups3.png | 150px | Vista Backups | align:right]]&lt;br /&gt;
&lt;br /&gt;
We have documented ways to do periodic backups in various platforms. If you have good suggestions on how to do that, please add them to this section of the wiki! (Or email it to us if you're wiki-shy)&lt;br /&gt;
&lt;br /&gt;
Note: To new users only the &amp;quot;Bare Metal&amp;quot; Backups will show in the [http://wiki.amahi.org/index.php/PBABackups Amahi Personal Backup] webpage all others will not show on this page.&lt;br /&gt;
&lt;br /&gt;
== Vista Backups ==&lt;br /&gt;
Here is a quick how to on doing [[VistaBackups | periodic file backups in Windows Vista to your HDA]].&lt;br /&gt;
&lt;br /&gt;
== Windows XP Backups ==&lt;br /&gt;
&lt;br /&gt;
For XP Backups, visit the section for [[XPBackups | Windows XP]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu Backups ==&lt;br /&gt;
&lt;br /&gt;
How to backup Ubuntu clients using Ubuntu's [[Sbackup | Simple Backup]].&lt;br /&gt;
&lt;br /&gt;
== Fedora Backups ==&lt;br /&gt;
&lt;br /&gt;
To backup Fedora clients, the following are recommended:&lt;br /&gt;
&lt;br /&gt;
* [[fwbackups]], a desktop utility&lt;br /&gt;
* [http://rsnapshot.org/ rsnapshot], a solution using rsync, with command line interface, for an example setup see [[Rsnapshot]]&lt;br /&gt;
&lt;br /&gt;
== Mac OS X ==&lt;br /&gt;
Mac OS X without Time Machine is not officially supported through automated HDA Backups at this time.&lt;br /&gt;
You can, however, manually copy files to an HDA shared folder.&lt;br /&gt;
&lt;br /&gt;
=== Backups with SuperDuper! ===&lt;br /&gt;
&lt;br /&gt;
Another backup solution is a program called [[SuperDuper!]], follow the link to see the steps and to find out about SuperDuper!.&lt;br /&gt;
&lt;br /&gt;
=== Backups with SystemRescueCD ===&lt;br /&gt;
&lt;br /&gt;
Backups with [[SystemRescueCD_with_Mac_OS_X | SystemRescueCD]] have been reported that they work, more info can be found by visiting the link.&lt;br /&gt;
&lt;br /&gt;
=== Backups with Time Machine ===&lt;br /&gt;
&lt;br /&gt;
==== SMB (Samba) ====&lt;br /&gt;
&lt;br /&gt;
'''WARNING - Hack ahead!'''  For Time Machine smb users only.&lt;br /&gt;
&lt;br /&gt;
There is an unsupported way to enable using Mac OS X Time Machine to backup to your HDA. The [http://vowe.net/archives/008940.html Time Machine hack] is a one liner command to be typed in a terminal in Mac OS X:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will offer you the choice to backup to your HDA shares.&lt;br /&gt;
&lt;br /&gt;
It should be noted that mounting a directory from your HDA via NFS let's you use time machine without this hack.&lt;br /&gt;
&lt;br /&gt;
Needless to say, we're not advocating you backup your data like this, since Apple does not support this functionality. There are rumors that data corruption can occur if the size of the backup exceeds 2TB or if a large number of files, on the order of a million, are backed up. Because the exact conditions leading to data corruption are not well quantified, we do not recommend you backup like this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== AFP  ====&lt;br /&gt;
&lt;br /&gt;
For full time machine support in fedora, avahi(bonjour) and netatalk(afp) need to be installed&lt;br /&gt;
&lt;br /&gt;
[[http://wiki.amahi.org/index.php/AFP]Install AFP and Avahi]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*in Applevolume.default add &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;~/ &amp;quot;$u&amp;quot; allow:UserName rwlist:UserName,@users cnidscheme:cdb&amp;lt;br&amp;gt;&lt;br /&gt;
/var/hda/files/timemachine allow:UserName rwlist:UserName,@users cnidscheme:cdb options:usedots,upriv&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Change UserName to your username and /var/hda/files/timemachine to your timemachine folder, the first line will also publish your homefolder to your mac but was necessary in my setup to work&lt;br /&gt;
&lt;br /&gt;
*then service avahi-daemon and atalk restart&lt;br /&gt;
&lt;br /&gt;
*the server will show up on your mac connect to the xserve afp server&lt;br /&gt;
*on your mac open disk utility&lt;br /&gt;
*make a new disk image with the max size on disk possible and name it Computername_ethernetmacadress.sparsebundle&lt;br /&gt;
ex.&lt;br /&gt;
MacBookProIcey_aa00bb11cc22.sparsebundle&lt;br /&gt;
&lt;br /&gt;
#use Journaled/case sensitive&lt;br /&gt;
#name has to be Backup of ComputerName&lt;br /&gt;
#and save it to the timemachine share&lt;br /&gt;
[[File:Tm-sparsebundle.png‎|caption]]&lt;br /&gt;
&lt;br /&gt;
*timemachine image will grow when you synchronize but never larger than the max size&lt;br /&gt;
*time machine will now find your amahi time capsule&lt;br /&gt;
&lt;br /&gt;
[[Category: Services]]&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Rsnapshot&amp;diff=8767</id>
		<title>Rsnapshot</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Rsnapshot&amp;diff=8767"/>
		<updated>2010-02-17T20:03:38Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Quick recipe to configure rsnapshot.&lt;br /&gt;
&lt;br /&gt;
These are the critical settings in /etc/rsnapshot.conf:&lt;br /&gt;
&lt;br /&gt;
     snapshot_root   /mnt/1tb-external/snapshots/&lt;br /&gt;
     interval        daily   14&lt;br /&gt;
     interval        weekly  4&lt;br /&gt;
     interval        monthly 4&lt;br /&gt;
&lt;br /&gt;
This will create a series of directories called daily.0 through daily.13&lt;br /&gt;
weekly.0 to weekly.3 ... etc.&lt;br /&gt;
&lt;br /&gt;
=Another example of rsnapshot configuration on amahi 5.1=&lt;br /&gt;
&lt;br /&gt;
In this example automated backups are made to an external usb drive.&lt;br /&gt;
Plug in the USB drive, it wil probably mount automatically under /media/yourdisklabel&lt;br /&gt;
&lt;br /&gt;
First login as root in a terminal (putty or ssh root@hda)&lt;br /&gt;
and type&lt;br /&gt;
&lt;br /&gt;
:mount&lt;br /&gt;
&lt;br /&gt;
in the output, find which device is your usbdrive, possibly /dev/sdb1&lt;br /&gt;
&lt;br /&gt;
=Format usb disk=&lt;br /&gt;
You need to format the disk for rsnapshot to be able to use hard links. FAT formatting does not support this unfortunately.&lt;br /&gt;
&lt;br /&gt;
:Umount /media/yourdisklabel &lt;br /&gt;
&lt;br /&gt;
:mkfs -t ext3 -v -L usbdisk /dev/sdb1&lt;br /&gt;
&lt;br /&gt;
THIS WILL ERASE ALL DATA ON /dev/sdb1,  MAKE SURE THIS IS YOUR USB DRIVE AND NOT ANOTHER DRIVE&lt;br /&gt;
&lt;br /&gt;
=Install rsnapshot=&lt;br /&gt;
:yum install rsnapshot&lt;br /&gt;
&lt;br /&gt;
:mkdir -p /media/usbdisk/.private/.snapshots&lt;br /&gt;
&lt;br /&gt;
:chmod 0700 /media/usbdisk/.private/ &lt;br /&gt;
&lt;br /&gt;
:chmod 0755 /media/usbdisk/.private/.snapshots/ &lt;br /&gt;
&lt;br /&gt;
=Mount your usbdisk permanently=&lt;br /&gt;
To Mount your usbdisk permanently (so the backup will work after a reboot) do the following:&lt;br /&gt;
&lt;br /&gt;
:cp /etc/fstab /etc/fstab_bak&lt;br /&gt;
&lt;br /&gt;
:nano /etc/fstab&lt;br /&gt;
&lt;br /&gt;
Add to this file&lt;br /&gt;
&lt;br /&gt;
:LABEL=usbdisk        /media/usbdisk       ext3    defaults        0 0&lt;br /&gt;
&lt;br /&gt;
Save the file.&lt;br /&gt;
&lt;br /&gt;
=Modify rsnapshot configuration=&lt;br /&gt;
:nano /etc/rsnapshot.conf&lt;br /&gt;
&lt;br /&gt;
make the following modifications to the file rsnapshot.conf&lt;br /&gt;
for blank spaces use TABS!&lt;br /&gt;
&lt;br /&gt;
:snapshot_root   /media/usbdisk/.private/.snapshots/&lt;br /&gt;
&lt;br /&gt;
:no_create_root  1&lt;br /&gt;
&lt;br /&gt;
:interval        hourly  6&lt;br /&gt;
&lt;br /&gt;
:interval        daily   7&lt;br /&gt;
&lt;br /&gt;
:interval        weekly  4&lt;br /&gt;
&lt;br /&gt;
:interval        monthly 12&lt;br /&gt;
&lt;br /&gt;
:verbose         3&lt;br /&gt;
&lt;br /&gt;
:backup 	/var/hda/files/docs/    	localhost/&lt;br /&gt;
&lt;br /&gt;
:backup 	/var/hda/files/pictures/ 	localhost/&lt;br /&gt;
&lt;br /&gt;
:backup 	/var/hda/files/movies/  	localhost/&lt;br /&gt;
&lt;br /&gt;
:backup 	/var/hda/files/music/   	localhost/&lt;br /&gt;
&lt;br /&gt;
:backup 	/var/hda/files/othersharesyoumade	localhost/&lt;br /&gt;
&lt;br /&gt;
Save the file&lt;br /&gt;
&lt;br /&gt;
:rsnapshot configtest&lt;br /&gt;
&lt;br /&gt;
this should return: syntax OK&lt;br /&gt;
&lt;br /&gt;
=Email reporting=&lt;br /&gt;
&lt;br /&gt;
for email reporting on your backups:&lt;br /&gt;
&lt;br /&gt;
:cp /usr/share/doc/rsnapshot*/utils/rsnapreport.pl /root&lt;br /&gt;
&lt;br /&gt;
:chmod 744 rsnapreport.pl &lt;br /&gt;
&lt;br /&gt;
=Automate backup with cronjob=&lt;br /&gt;
&lt;br /&gt;
:crontab -l &amp;gt; cronjobs&lt;br /&gt;
&lt;br /&gt;
:nano cronjobs&lt;br /&gt;
&lt;br /&gt;
add to this file for running rsnapshot and a weekly email report on rsnapshot:&lt;br /&gt;
&lt;br /&gt;
:0 */4 * * *       /usr/bin/rsnapshot hourly 2&amp;gt;&amp;amp;1 | /root/rsnapreport.pl &amp;gt; /root/rsnapreport&lt;br /&gt;
&lt;br /&gt;
:30 23 * * *       /usr/bin/rsnapshot daily&lt;br /&gt;
&lt;br /&gt;
:00 23 * * 1       /usr/bin/rsnapshot weekly&lt;br /&gt;
&lt;br /&gt;
:30 22 1 * *       /usr/bin/rsnapshot monthly&lt;br /&gt;
&lt;br /&gt;
:00 22 * * 6       /usr/bin/rsnapshot du &amp;gt;&amp;gt; /root/rsnapreport | nail –r &amp;quot;somereturnadress@provider.com&amp;quot; -s&amp;quot;HDA backup report&amp;quot; -S smtp=smtp.yourprovider.com youremail@provider.com &amp;lt; /root/rsnapreport&lt;br /&gt;
&lt;br /&gt;
Save the file&lt;br /&gt;
&lt;br /&gt;
:crontab cronjobs&lt;br /&gt;
&lt;br /&gt;
Rsnapshot should now be operational.&lt;br /&gt;
&lt;br /&gt;
=Make your backups available on clients (READ ONLY)=&lt;br /&gt;
&lt;br /&gt;
If you want to make the backups accesible from your clients:&lt;br /&gt;
&lt;br /&gt;
Create a //hda/backup share in the HDA webinterface&lt;br /&gt;
&lt;br /&gt;
:chkconfig nfs --level 2345 on&lt;br /&gt;
&lt;br /&gt;
add a read only NFS export:&lt;br /&gt;
&lt;br /&gt;
:nano /etc/exports&lt;br /&gt;
&lt;br /&gt;
add &lt;br /&gt;
&lt;br /&gt;
:/media/usbdisk/.private/.snapshots/  127.0.0.1(ro,no_root_squash)&lt;br /&gt;
&lt;br /&gt;
Save file&lt;br /&gt;
&lt;br /&gt;
Unfortunately mounting an NFS share in fstab did not work on my machine after a reboot, so I chose an alternative configuration that mounts the share later in the booting process:&lt;br /&gt;
&lt;br /&gt;
:nano /etc/rc.local&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
&lt;br /&gt;
:mount -r -t nfs localhost:/media/usbdisk/.private/.snapshots/  /var/hda/files/backup/&lt;br /&gt;
&lt;br /&gt;
save file&lt;br /&gt;
&lt;br /&gt;
[[Category: Apps]]&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=8761</id>
		<title>PhpSysInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=PhpSysInfo&amp;diff=8761"/>
		<updated>2010-02-17T18:13:09Z</updated>

		<summary type="html">&lt;p&gt;Wvdlee: update of editing config.php so it works under amahi 5.1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Apps]]&lt;br /&gt;
&lt;br /&gt;
==PHP SysInfo==&lt;br /&gt;
&lt;br /&gt;
PHP SysInfo is a php script that displays information about the host being accessed. Things like uptime and CPU memory are displayed using phpsysinfo. To run it from your hda: &lt;br /&gt;
&lt;br /&gt;
1. Navigate to the /var/hda/web-apps directory on your hda.&lt;br /&gt;
&lt;br /&gt;
2. Search for a phpsysinfo tarball through a web browser. You can find one at &lt;br /&gt;
http://phpsysinfo.sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
3. Download the tarball into the web-apps directory using wget or another method. For example: &lt;br /&gt;
&lt;br /&gt;
'''wget http://downloads.sourceforge.net/phpsysinfo/phpSysInfo-3.0-RC6.tar.gz'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Unpack the phpsysinfo tarball with the tar command: &lt;br /&gt;
&lt;br /&gt;
'''tar -zxvf phpSysInfo-3.0-RC6.tar.gz'''   &lt;br /&gt;
&lt;br /&gt;
This will create a phpsysinfo directory and unpack all the files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Remove the tarball since it will no longer be needed &lt;br /&gt;
&lt;br /&gt;
'''rm -rf phpSysInfo-3.0-RC6.tar.gz'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Enter the new phpsysinfo directory: '''cd phpsysinfo'''&lt;br /&gt;
&lt;br /&gt;
7. Next, copy the php new configuration file to config.php using the cp command: &lt;br /&gt;
&lt;br /&gt;
'''cp config.php.new config.php'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Use nano or another editor to modify config.php as desired.  &lt;br /&gt;
&lt;br /&gt;
'''nano config.php'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9. Save and close the config.php file. Go to your hda Web Apps tab in a browser (http://setup then select Web Apps). Click on New Web App.&lt;br /&gt;
&lt;br /&gt;
10. Enter &amp;quot;phpsysinfo&amp;quot; in the Name field. The Root Path field will automatically append the directory name onto the /var/hda/web-apps directory.&lt;br /&gt;
&lt;br /&gt;
11. Click Create. A URL will be created and displayed.&lt;br /&gt;
&lt;br /&gt;
12. PHPSysInfo should now be succesfully installed and running. To verify, click on the URL. If you are presented with your system information, phpsysinfo has been successfully installed.&lt;br /&gt;
&lt;br /&gt;
== Getting More Info ==&lt;br /&gt;
&lt;br /&gt;
After the one click install of phpsysinfo in Amahi 5.1 I needed to do some modifications to get all system information displayed.&lt;br /&gt;
For other users, this is what I did.&lt;br /&gt;
&lt;br /&gt;
first open a terminal session and login as root&lt;br /&gt;
from another computer&lt;br /&gt;
in windows with putty&lt;br /&gt;
or in linux: ssh root@hda&lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
&lt;br /&gt;
yum install lm_sensors&lt;br /&gt;
&lt;br /&gt;
sensors-detect&lt;br /&gt;
&lt;br /&gt;
keep pressing enter for default answers.&lt;br /&gt;
&lt;br /&gt;
cd /var/hda/web-apps/phpsysinfo/html&lt;br /&gt;
&lt;br /&gt;
cp config.php config.php_bak&lt;br /&gt;
 &lt;br /&gt;
to make a backup of your original config file&lt;br /&gt;
&lt;br /&gt;
nano config.php&lt;br /&gt;
&lt;br /&gt;
I changed the following lines, but of course this is optional.&lt;br /&gt;
define('sensorProgram', 'LMSensors');&lt;br /&gt;
define('hideMounts', '/boot');&lt;br /&gt;
define('hideFstypes', 'tmpfs');&lt;br /&gt;
define('hddTemp', 'tcp');&lt;br /&gt;
define('loadBar', true);&lt;br /&gt;
&lt;br /&gt;
after saving the config.php phpsysinfo also provides voltage, fan and temperature data.&lt;/div&gt;</summary>
		<author><name>Wvdlee</name></author>
		
	</entry>
</feed>