<?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=Matt+Clark</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=Matt+Clark"/>
	<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php/Special:Contributions/Matt_Clark"/>
	<updated>2026-04-10T07:08:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Plex_Media_Server&amp;diff=105521</id>
		<title>Plex Media Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Plex_Media_Server&amp;diff=105521"/>
		<updated>2016-10-12T02:29:55Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: /* Source Install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|backgroundcolor	= #FBB|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = Manually upgrading &amp;lt;b&amp;gt;may break the Amahi 7 or greater Plex Media Server app&amp;lt;/b&amp;gt; or your HDA.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Amahi or Plex Inc. cannot provide support to help or correct any issues resulting from this upgrade if you chose to do it.&amp;lt;/b&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
= Recent &amp;quot;White Page&amp;quot; Issue =&lt;br /&gt;
There is an issue in recent releases of the Plex Media Server app. If reaching the server yields a white page, please access it with this work-around link until (Plex fixes the issue): [http://hda:32400/web http://hda:32400/web].&lt;br /&gt;
&lt;br /&gt;
= Source Install =&lt;br /&gt;
&amp;lt;b&amp;gt;WARNING:&amp;lt;/b&amp;gt;  This is a user contributed tutorial.  Proceed with this guide at your own risk.  If it breaks your HDA or you need assistance, Amahi cannot provide support.&lt;br /&gt;
&lt;br /&gt;
This is a quick guide on how to install manually the PlexMediaServer (not the Amahi web app) on Amahi 7 or greater (Fedora).  Find out the latest version by checking '''&amp;lt;nowiki&amp;gt;https://plex.tv/downloads&amp;lt;/nowiki&amp;gt;''' and copy the link under the Fedora icon. Note that PlexPass users occassionally have access to preview versions of Plex that may contain additional functionality not yet released to other users.  Use the toggle to download the preview release if you have a PlexPass.&lt;br /&gt;
&lt;br /&gt;
* Install the current Plex server version from the link above, where x.x.x.x-xxxxxxx is the current version (1.2.2.2857-d34b464 at October 2017)&lt;br /&gt;
:&amp;lt;u&amp;gt;64-bit&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;wget &amp;lt;nowiki&amp;gt;https://downloads.plex.tv/plex-media-server/x.x.x.x-xxxxxxx/plexmediaserver-x.x.x.x-xxxxxxx.x86_64.rpm&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
sudo yum localinstall plexmediaserver-x.x.x.x-xxxxxxx.x86_64.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
:&amp;lt;u&amp;gt;32-bit&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;wget &amp;lt;nowiki&amp;gt;https://downloads.plex.tv/plex-media-server/x.x.x.x-xxxxxxx/plexmediaserver-x.x.x.x-xxxxxxx.i386.rpm&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
sudo yum localinstall plexmediaserver-x.x.x.x-xxxxxxx.i386.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Start the service:  Next up we actually have to start Plex, the following command will do just that as well as create a symlink to always start Plex at boot.&lt;br /&gt;
 sudo systemctl enable plexmediaserver.service &amp;amp;&amp;amp; systemctl start plexmediaserver&lt;br /&gt;
:&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt;  &amp;lt;i&amp;gt;If you get an error with the above command while connected to the server with SSH through a terminal, it seems you have to relogin as root.&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Run at least once the PlexMediaServer (and do nothing, just run once), from any browser in your network enter &amp;lt;br /&amp;gt;&lt;br /&gt;
 ''&amp;lt;nowiki&amp;gt;http://localhost:32400/web/index.html#!/dashboard&amp;lt;/nowiki&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
* Stop the PlexMediaServer (preferably log in with a terminal):&lt;br /&gt;
 sudo systemctl stop plexmediaserver&lt;br /&gt;
&lt;br /&gt;
* File permissions and access:  Our first big problem (although it’s not really) is to allow Plex to access any of our files. PMS runs as it’s own user (surprisingly a user called plex), not you by default. So we need to give that user access to your files. The easiest way to do this is to add the plex user to your users group. Type the following command in a terminal:&lt;br /&gt;
 sudo gpasswd -a plex users&lt;br /&gt;
&lt;br /&gt;
* Restart the PlexMediaServer, wait 1-2 minutes and log in again to edit your libraries:&lt;br /&gt;
 sudo systemctl start plexmediaserver&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt;  Don't forget if you are using Greyhole, that in this case you have always to use your files &amp;quot;inside&amp;quot; from the [[Mount_Shares_Locally|mounted local files]]&lt;br /&gt;
&lt;br /&gt;
* Either by auto update (done so around midnight), or if you ask manually for updating the system, amahi will replace the original PlexMediaServer package with it's own amahi-plex (webapp). In order to prevent that you have to exclude the auto-update in the amahi-repo.  Edit (as root) /etc/yum.conf (Amahi 8) or /etc/dnf/dnf.conf (Amahi 9) and add the following at the bottom:&lt;br /&gt;
 exclude=amahi-plex&lt;br /&gt;
&lt;br /&gt;
= Use with Greyhole =&lt;br /&gt;
If you add a library section connected to a folder that is part of your drive pool and thus handled by [[Greyhole]], you should &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; check the option to allow clients to &amp;lt;i&amp;gt;delete media&amp;lt;/i&amp;gt; in the Plex Media Server preferences dialog. &lt;br /&gt;
&lt;br /&gt;
If you want to enable this feature you should [[Mount_Shares_Locally|mount your shares locally]] on your HDA and point [http://www.amahi.org/apps/plex-media-server Plex Media Server] to these mount points instead. Otherwise deletes could cause orphan files in the storage pool since only the symlink would actually be deleted and not the actual file.&lt;br /&gt;
&lt;br /&gt;
= Locally Mounted Shares (Ubuntu &amp;amp; Fedora) =&lt;br /&gt;
If you access your media files using [https://wiki.amahi.org/index.php/Mount_Shares_Locally locally mounted shares] (eg if you are a [https://wiki.amahi.org/index.php/Greyhole Greyhole] user as suggested above), you will need to change the permissions of your plex server user.  The Plex Media Server is run by a special user &amp;lt;i&amp;gt;plex&amp;lt;/i&amp;gt; who doesnt have access to the local shares by default.&lt;br /&gt;
&lt;br /&gt;
for &amp;lt;b&amp;gt;Ubuntu&amp;lt;/b&amp;gt; &lt;br /&gt;
To fix, open terminal as root user and type:&lt;br /&gt;
 sudo usermod -a -G users plex&lt;br /&gt;
&lt;br /&gt;
for &amp;lt;b&amp;gt;Fedora&amp;lt;/b&amp;gt; &lt;br /&gt;
To fix, open terminal as root user and type:&lt;br /&gt;
 sudo gpasswd -a plex users&lt;br /&gt;
&lt;br /&gt;
You may need to restart Plex.  Now when you want to add directories using the web interface all your shares should be accessible.&lt;br /&gt;
&lt;br /&gt;
= Update Plex Media Server =&lt;br /&gt;
&lt;br /&gt;
* If you have installed manually by source the PlexMediaServer, it now has the ability to update itself through the settings' webpage&lt;br /&gt;
&lt;br /&gt;
* If you are using amahi-plex it will auto update itself as so as the developers push the new version into amahi's repo. Don't try to update the amahi-plex web app although in the setting's webpage it will inform you that a new version of PlexServer is available. Most probably it will fail or it will brake down your system !!!&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== Data not shown with Main page login ==&lt;br /&gt;
&lt;br /&gt;
We noticed that when logging in to &amp;lt;nowiki&amp;gt;http://plexms/&amp;lt;/nowiki&amp;gt; plex does not seem to list any data from the plex server, allow you to set up libraries, or allow logins going through this front-door. It does not seem to &amp;quot;be able to connect to this server&amp;quot; on the left side. However, going through &amp;lt;nowiki&amp;gt;http://hda:32400/web/index.html&amp;lt;/nowiki&amp;gt; it all works well.&lt;br /&gt;
&lt;br /&gt;
The work-around is this: going to&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://hda:32400/web/index.html#!/settings/server/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Then login to plex on this page and give it a friendly name there.&amp;quot;My Amahi server&amp;quot; or similar should do.&lt;br /&gt;
&lt;br /&gt;
After that, it should show up under &amp;lt;nowiki&amp;gt;http://plexms/&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Dashboard Link Workaround ==&lt;br /&gt;
If the launch icon and link for Plex Media Server in the dashboard does not properly load the server, you may need to try a workaround.&lt;br /&gt;
&lt;br /&gt;
First, try just restarting httpd.This should hold for as long as your server is running. &lt;br /&gt;
 systemctl restart httpd&lt;br /&gt;
&lt;br /&gt;
If that does not work, or you are restarting your server often, this longer workaround also works. &lt;br /&gt;
Start by finding your ####-plexms.conf file in /etc/httpd/conf.d/ Open this file up in a text editor like vi or nano and remove (or comment out) the following two lines: &lt;br /&gt;
&lt;br /&gt;
 ProxyPass / &amp;lt;nowiki&amp;gt;http://hda:32400/manage/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 ProxyPassReverse / &amp;lt;nowiki&amp;gt;http://hda:32400/manage/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Option 1&amp;lt;/u&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
:Add the following three lines below the two you commented out above:&lt;br /&gt;
 RewriteEngine On&lt;br /&gt;
 RewriteCond %{SERVER_PORT} 80&lt;br /&gt;
 RewriteRule (.*) &amp;lt;nowiki&amp;gt;http://%{HTTP_HOST}:32400/manage/&amp;lt;/nowiki&amp;gt; [R,L]&lt;br /&gt;
&lt;br /&gt;
:After completing the changes, restart httpd&lt;br /&gt;
 systemctl restart httpd&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Option 2&amp;lt;/u&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
:Create a text file called &amp;quot;index.html&amp;quot; and save that file in /var/hda/web-apps/plexms/html The contents of the file is a simple redirect. It should read:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;html&amp;gt;&lt;br /&gt;
 &amp;lt;head&amp;gt;&amp;lt;meta http-equiv=&amp;quot;refresh&amp;quot; content=&amp;quot;0; url=&amp;lt;nowiki&amp;gt;http://hda:32400/manage/&amp;lt;/nowiki&amp;gt;&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;/head&amp;gt;&lt;br /&gt;
 &amp;lt;body&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/hmtl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Set the file ownership permissions:&lt;br /&gt;
 chown apache:users index.html;&lt;br /&gt;
&lt;br /&gt;
The Plex Media server page should now load when you click on the icon or link in the dashboard.&lt;br /&gt;
&lt;br /&gt;
[[Category:apps]]&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Secure_App_Access&amp;diff=93341</id>
		<title>Secure App Access</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Secure_App_Access&amp;diff=93341"/>
		<updated>2015-05-04T00:24:19Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: /* Configure apps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= #faa|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is recommended only for advanced users, proceed with caution.}}&lt;br /&gt;
= Amahi 6 =&lt;br /&gt;
This is an example of how to force web app access via HTTPS.  For this example, AjaXplorer will be used but this will work with any web app.&lt;br /&gt;
&lt;br /&gt;
* Go to your config file for apache:&lt;br /&gt;
 cd /etc/httpd/conf&lt;br /&gt;
* Now it is time to create a key and a crt.   It will ask you a few questions, just make sure that the '''Common Name''' is the domain name:&lt;br /&gt;
 openssl genrsa -out filename.key 1024&lt;br /&gt;
 openssl req -new -key filename.key -x509 -days 1000 -out filename.crt&lt;br /&gt;
* Next open up '''/etc/httpd/conf/httpd.conf''' and add the following to the end (skip if you implemented [[Access HDA over SSL]]):&lt;br /&gt;
 NameVirtualHost *:443&lt;br /&gt;
* Open terminal and do (skip if you implemented [[Access HDA over SSL]]):&lt;br /&gt;
 yum -y install mod_ssl&lt;br /&gt;
* Find the file that has ajaxplorer in its name (i.e. '''1026-ajaxplorer.conf'''):&lt;br /&gt;
 cd /etc/httpd/conf.d&lt;br /&gt;
* Edit it to like this (change username.yourhda.com):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
        ServerName ajaxplorer&lt;br /&gt;
        ServerAlias username.yourhda.com&lt;br /&gt;
        SSLEngine On&lt;br /&gt;
        SSLCertificateFile /etc/httpd/conf/filename.crt&lt;br /&gt;
        SSLCertificateKeyFile /etc/httpd/conf/filename.key&lt;br /&gt;
&lt;br /&gt;
        DocumentRoot /var/hda/web-apps/ajaxplorer/html&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;Directory &amp;quot;/var/hda/web-apps/ajaxplorer/html&amp;quot;&amp;gt;&lt;br /&gt;
                Options Indexes FollowSymLinks +ExecCGI&lt;br /&gt;
                AddHandler fcgid-script .fcg&lt;br /&gt;
                AllowOverride AuthConfig&lt;br /&gt;
                Order allow,deny&lt;br /&gt;
                Allow from all&lt;br /&gt;
        &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
*  Finally create a file called '''1026-ajaxplorerhttp.conf''' (number may be different for you) and add this code (change username.hda.com):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
        ServerName ajaxplorer&lt;br /&gt;
        ServerAlias username.yourhda.com&lt;br /&gt;
        RewriteEngine On&lt;br /&gt;
        RewriteCond  %{SERVER_PORT} !^443$&lt;br /&gt;
        RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]&lt;br /&gt;
&lt;br /&gt;
        ExpiresDefault &amp;quot;access plus 10 years&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        AddOutputFilterByType DEFLATE text/html text/plain text/xml&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Now you need to restart apache:&lt;br /&gt;
 service httpd restart&lt;br /&gt;
* And that's all, you now have 128 bit encryption for AjaXplorer.  Note that when you uninstall the app, you will need to manually remove the '''1026-ajaxplorerhttp.conf''' file you created.&lt;br /&gt;
&lt;br /&gt;
= Amahi 7 =&lt;br /&gt;
These instructions are for advanced users that wish to set up https access to apps on Amahi 7 (Fedora 19).  Use at your own risk.&lt;br /&gt;
&lt;br /&gt;
== Set up certificates ==&lt;br /&gt;
As a root user, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install -y openssl mod_ssl&lt;br /&gt;
cd /etc/pki/tls/certs &lt;br /&gt;
make server.key&amp;lt;/pre&amp;gt;&lt;br /&gt;
You should get prompts to enter and confirm a passphrase.  Now we want to remove the passphrase from the private key:&lt;br /&gt;
&amp;lt;pre&amp;gt;openssl rsa -in server.key -out server.key &amp;lt;/pre&amp;gt;&lt;br /&gt;
You'll be prompted to add the passphrase again to confirm.  Now we make a certificate server request file&lt;br /&gt;
&amp;lt;pre&amp;gt;make server.csr&amp;lt;/pre&amp;gt;&lt;br /&gt;
You'll now enter the information that will appear on the certificate request.  Make sure that the &amp;quot;Common Name&amp;quot; matches your server domain.&lt;br /&gt;
Once you've entered these, you want to generate your private key:&lt;br /&gt;
&amp;lt;pre&amp;gt;openssl x509 -in server.csr -out server.crt -req -signkey server.key -days 3650&amp;lt;/pre&amp;gt;&lt;br /&gt;
You should get a message saying Signature ok, with the details for the certificate that you just entered, followed by &amp;quot;Getting private key&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Modify httpd==&lt;br /&gt;
Still as root, edit /etc/httpd/conf.d/ssl.conf as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;#Line 59: uncomment&lt;br /&gt;
DocumentRoot &amp;quot;/var/www/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#Line 60: uncomment and specify server name (use your server name)&lt;br /&gt;
ServerName www.exampleserver.com:443&lt;br /&gt;
&lt;br /&gt;
#Line 100: specify certificate&lt;br /&gt;
SSLCertificateFile /etc/pki/tls/certs/server.crt&lt;br /&gt;
&lt;br /&gt;
#Line 107: specify certification key&lt;br /&gt;
SSLCertificateKeyFile /etc/pki/tls/certs/server.key&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure apps==&lt;br /&gt;
Go to /etc/httpd/conf.d and edit the conf file for the app you want to move to ssl.  For this example I will use owncloud.  On my HDA the owncloud conf was 1005-owncould8.conf; the number may differ for you.  Remember to back up the original in case you make an error.&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /etc/httpd/conf.d&lt;br /&gt;
ls -l #check the filename of the relevant conf file.&lt;br /&gt;
cp 1005-owncloud8.conf 1006-owncloud8.conf.old&lt;br /&gt;
vi 1005-owncloud.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit your file to change the virtualhost to port 443, and turn on SSL encryption.  Your files should look something like the following, with appropriate edits to suit your internal and external server names:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        ServerName owncloud8&lt;br /&gt;
        ServerAlias owncloud8.home.com &lt;br /&gt;
        ServerAlias owncloud8.exampleserver.com&lt;br /&gt;
&lt;br /&gt;
        SSLEngine On&lt;br /&gt;
        SSLCertificateFile /etc/pki/tls/certs/server.crt&lt;br /&gt;
        SSLCertificateKeyFile /etc/pki/tls/certs/server.key&lt;br /&gt;
&lt;br /&gt;
        DocumentRoot /var/hda/web-apps/owncloud8/html&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;Directory &amp;quot;/var/hda/web-apps/owncloud8/html&amp;quot;&amp;gt;&lt;br /&gt;
                Options Indexes FollowSymLinks MultiViews&lt;br /&gt;
AllowOverride All&lt;br /&gt;
Require all granted&lt;br /&gt;
        &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        ErrorLog  /var/hda/web-apps/owncloud8/logs/error_log&lt;br /&gt;
        CustomLog /var/hda/web-apps/owncloud8/logs/access_log combined env=!dontlog&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to redirect http requests to the new https instance.  Create a new conf file for the redirect:&lt;br /&gt;
 vi 1006-owncloud8http.conf (number may be different for you)&lt;br /&gt;
and add this code (change the example server to match yours):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
        ServerName owncloud8&lt;br /&gt;
        ServerAlias owncloud8.home.com &lt;br /&gt;
        ServerAlias owncloud8.exampleserver.com&lt;br /&gt;
        RewriteEngine On&lt;br /&gt;
        RewriteCond  %{SERVER_PORT} !^443$&lt;br /&gt;
        RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]&lt;br /&gt;
&lt;br /&gt;
        ExpiresDefault &amp;quot;access plus 10 years&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        AddOutputFilterByType DEFLATE text/html text/plain text/xml&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you need to restart httpd.  Check that the syntax of your new files is ok before restarting:&lt;br /&gt;
 httpd -t&lt;br /&gt;
If you get an error message, check that the new content in your .conf files matches the information above and make changes as necessary.  Once you get a &amp;quot;Syntax OK&amp;quot; message, run (as root)&lt;br /&gt;
 systemctl restart httpd.service&lt;br /&gt;
&lt;br /&gt;
== Test Access ==&lt;br /&gt;
Direct a browser to the app link and you should now get a https link.  Note that your browsers will all give a warning that the certificate is not trusted because it has not been issued by a proper authority. Once you've accepted the warning, you should have an https connection to your app.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
[[Access HDA over SSL]]&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Secure_App_Access&amp;diff=93336</id>
		<title>Secure App Access</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Secure_App_Access&amp;diff=93336"/>
		<updated>2015-05-04T00:03:59Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: /* Configure apps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= #faa|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is recommended only for advanced users, proceed with caution.}}&lt;br /&gt;
= Amahi 6 =&lt;br /&gt;
This is an example of how to force web app access via HTTPS.  For this example, AjaXplorer will be used but this will work with any web app.&lt;br /&gt;
&lt;br /&gt;
* Go to your config file for apache:&lt;br /&gt;
 cd /etc/httpd/conf&lt;br /&gt;
* Now it is time to create a key and a crt.   It will ask you a few questions, just make sure that the '''Common Name''' is the domain name:&lt;br /&gt;
 openssl genrsa -out filename.key 1024&lt;br /&gt;
 openssl req -new -key filename.key -x509 -days 1000 -out filename.crt&lt;br /&gt;
* Next open up '''/etc/httpd/conf/httpd.conf''' and add the following to the end (skip if you implemented [[Access HDA over SSL]]):&lt;br /&gt;
 NameVirtualHost *:443&lt;br /&gt;
* Open terminal and do (skip if you implemented [[Access HDA over SSL]]):&lt;br /&gt;
 yum -y install mod_ssl&lt;br /&gt;
* Find the file that has ajaxplorer in its name (i.e. '''1026-ajaxplorer.conf'''):&lt;br /&gt;
 cd /etc/httpd/conf.d&lt;br /&gt;
* Edit it to like this (change username.yourhda.com):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
        ServerName ajaxplorer&lt;br /&gt;
        ServerAlias username.yourhda.com&lt;br /&gt;
        SSLEngine On&lt;br /&gt;
        SSLCertificateFile /etc/httpd/conf/filename.crt&lt;br /&gt;
        SSLCertificateKeyFile /etc/httpd/conf/filename.key&lt;br /&gt;
&lt;br /&gt;
        DocumentRoot /var/hda/web-apps/ajaxplorer/html&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;Directory &amp;quot;/var/hda/web-apps/ajaxplorer/html&amp;quot;&amp;gt;&lt;br /&gt;
                Options Indexes FollowSymLinks +ExecCGI&lt;br /&gt;
                AddHandler fcgid-script .fcg&lt;br /&gt;
                AllowOverride AuthConfig&lt;br /&gt;
                Order allow,deny&lt;br /&gt;
                Allow from all&lt;br /&gt;
        &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
*  Finally create a file called '''1026-ajaxplorerhttp.conf''' (number may be different for you) and add this code (change username.hda.com):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
        ServerName ajaxplorer&lt;br /&gt;
        ServerAlias username.yourhda.com&lt;br /&gt;
        RewriteEngine On&lt;br /&gt;
        RewriteCond  %{SERVER_PORT} !^443$&lt;br /&gt;
        RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]&lt;br /&gt;
&lt;br /&gt;
        ExpiresDefault &amp;quot;access plus 10 years&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        AddOutputFilterByType DEFLATE text/html text/plain text/xml&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Now you need to restart apache:&lt;br /&gt;
 service httpd restart&lt;br /&gt;
* And that's all, you now have 128 bit encryption for AjaXplorer.  Note that when you uninstall the app, you will need to manually remove the '''1026-ajaxplorerhttp.conf''' file you created.&lt;br /&gt;
&lt;br /&gt;
= Amahi 7 =&lt;br /&gt;
These instructions are for advanced users that wish to set up https access to apps on Amahi 7 (Fedora 19).  Use at your own risk.&lt;br /&gt;
&lt;br /&gt;
== Set up certificates ==&lt;br /&gt;
As a root user, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install -y openssl mod_ssl&lt;br /&gt;
cd /etc/pki/tls/certs &lt;br /&gt;
make server.key&amp;lt;/pre&amp;gt;&lt;br /&gt;
You should get prompts to enter and confirm a passphrase.  Now we want to remove the passphrase from the private key:&lt;br /&gt;
&amp;lt;pre&amp;gt;openssl rsa -in server.key -out server.key &amp;lt;/pre&amp;gt;&lt;br /&gt;
You'll be prompted to add the passphrase again to confirm.  Now we make a certificate server request file&lt;br /&gt;
&amp;lt;pre&amp;gt;make server.csr&amp;lt;/pre&amp;gt;&lt;br /&gt;
You'll now enter the information that will appear on the certificate request.  Make sure that the &amp;quot;Common Name&amp;quot; matches your server domain.&lt;br /&gt;
Once you've entered these, you want to generate your private key:&lt;br /&gt;
&amp;lt;pre&amp;gt;openssl x509 -in server.csr -out server.crt -req -signkey server.key -days 3650&amp;lt;/pre&amp;gt;&lt;br /&gt;
You should get a message saying Signature ok, with the details for the certificate that you just entered, followed by &amp;quot;Getting private key&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Modify httpd==&lt;br /&gt;
Still as root, edit /etc/httpd/conf.d/ssl.conf as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;#Line 59: uncomment&lt;br /&gt;
DocumentRoot &amp;quot;/var/www/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#Line 60: uncomment and specify server name (use your server name)&lt;br /&gt;
ServerName www.exampleserver.com:443&lt;br /&gt;
&lt;br /&gt;
#Line 100: specify certificate&lt;br /&gt;
SSLCertificateFile /etc/pki/tls/certs/server.crt&lt;br /&gt;
&lt;br /&gt;
#Line 107: specify certification key&lt;br /&gt;
SSLCertificateKeyFile /etc/pki/tls/certs/server.key&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure apps==&lt;br /&gt;
Go to /etc/httpd/conf.d and edit the conf file for the app you want to move to ssl.  For this example I will use owncloud.  On my HDA the owncloud conf was 1005-owncould8.conf; the number may differ for you.  Remember to back up the original in case you make an error.&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /etc/httpd/conf.d&lt;br /&gt;
ls -l #check the filename of the relevant conf file.&lt;br /&gt;
cp 1005-owncloud8.conf 1006-owncloud8.conf.old&lt;br /&gt;
vi 1005-owncloud.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit your file to change the virtualhost to port 443, and turn on SSL encryption.  Your files should look something like the following, with appropriate edits to suit your internal and external server names:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        ServerName owncloud8&lt;br /&gt;
        ServerAlias owncloud8.home.com &lt;br /&gt;
        ServerAlias owncloud8.exampleserver.com&lt;br /&gt;
&lt;br /&gt;
        SSLEngine On&lt;br /&gt;
        SSLCertificateFile /etc/pki/tls/certs/server.crt&lt;br /&gt;
        SSLCertificateKeyFile /etc/pki/tls/certs/server.key&lt;br /&gt;
&lt;br /&gt;
        DocumentRoot /var/hda/web-apps/owncloud8/html&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;Directory &amp;quot;/var/hda/web-apps/owncloud8/html&amp;quot;&amp;gt;&lt;br /&gt;
                Options Indexes FollowSymLinks MultiViews&lt;br /&gt;
AllowOverride All&lt;br /&gt;
Require all granted&lt;br /&gt;
        &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        ErrorLog  /var/hda/web-apps/owncloud8/logs/error_log&lt;br /&gt;
        CustomLog /var/hda/web-apps/owncloud8/logs/access_log combined env=!dontlog&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to redirect http requests to the new https instance.  Create a new conf file for the redirect:&lt;br /&gt;
&amp;lt;pre&amp;gt;vi 1006-owncloud8http.conf (number may be different for you)&amp;lt;/pre&amp;gt;&lt;br /&gt;
 and add this code (change the example server to match yours):&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
        ServerName owncloud8&lt;br /&gt;
        ServerAlias owncloud8.home.com &lt;br /&gt;
        ServerAlias owncloud8.exampleserver.com&lt;br /&gt;
        RewriteEngine On&lt;br /&gt;
        RewriteCond  %{SERVER_PORT} !^443$&lt;br /&gt;
        RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]&lt;br /&gt;
&lt;br /&gt;
        ExpiresDefault &amp;quot;access plus 10 years&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        AddOutputFilterByType DEFLATE text/html text/plain text/xml&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you need to restart httpd:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl restart httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test Access ==&lt;br /&gt;
Direct a browser to the app link and you should now get a https link.  Note that your browsers will all give a warning that the certificate is not trusted because it has not been issued by a proper authority. Once you've accepted the warning, you should have an https connection to your app.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
[[Access HDA over SSL]]&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Pydio&amp;diff=93286</id>
		<title>Pydio</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Pydio&amp;diff=93286"/>
		<updated>2015-05-03T03:32:11Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: /* Changing the default location of Pydio user data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- &lt;br /&gt;
This page is crated automaticaly by a script.&lt;br /&gt;
This part is commented and shall not show&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{WorkInProgress}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsUpdate}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsMerge | [[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsExpantion}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsDelete |[[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--Please remove or place comment accordingly--&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
=Changing the location of your shares in Pydio=&lt;br /&gt;
By default, the Amahi Pydio app sets up &amp;quot;workspaces&amp;quot; (that is, file repositories which link to the default share location at &amp;lt;code&amp;gt;/var/hda/files/[share]&amp;lt;/code&amp;gt;.  You might have moved your shares from this location, if for example you use [[Greyhole]] and access your files through local shares at &amp;lt;code&amp;gt;/mnt/samba/[share]&amp;lt;/code&amp;gt; (see [[Mount_Shares_Locally]]).  Follow these steps to direct Pydio to the right location.  If your shares are in a different location you will need to change the &amp;lt;code&amp;gt;/mnt/samba&amp;lt;/code&amp;gt; locations below to suit your setup.  Note that there is no way to navigate to the shares from the pydio UI, so you will need to make a note somewhere of the exact share locations.&lt;br /&gt;
&lt;br /&gt;
==1. Find the right settings==&lt;br /&gt;
[[file:Pydio shares settings.png|thumb|The &amp;quot;Docs&amp;quot; share is highlighted]]&lt;br /&gt;
You can navigate to the Pydio settings from any page, using the dropdown box that appears when you mouseover your user name on the top right of the screen. &lt;br /&gt;
&lt;br /&gt;
You need to access the &amp;quot;Workspaces&amp;quot; settings, which should be the first on the list.  In the Workspaces settings you will see a list of various shares and other &amp;quot;workspaces&amp;quot; set up for the Pydio user.  Right click on one of the shares - in this example I will select &amp;quot;Docs&amp;quot;.  Choose the &amp;quot;Edit&amp;quot; option to go to the settings page for this workspace.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==2. Change the settings==&lt;br /&gt;
[[file:Pydio_sharelocation.png|thumb|Share file location - default location highlighted]]&lt;br /&gt;
Change the default location &amp;lt;code&amp;gt;/var/hda/files/[share]&amp;lt;/code&amp;gt; to your desired location - for shares mounted locally use &amp;lt;code&amp;gt;/mnt/samba/[share]&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Make the same change to all the other shares.  You should now be able to access your files through the pydio interface.&lt;br /&gt;
&lt;br /&gt;
You can create new workspaces from the same location.&lt;br /&gt;
&lt;br /&gt;
=Changing the default location of Pydio user data=&lt;br /&gt;
The default location of user files is hard-coded into the Pydio app, and cannot be changed through the web interface [edit: this may be possible through the web interface at Settings &amp;gt; Workspaces &amp;gt; Common Files, and Settings &amp;gt; Workspaces &amp;gt; My Files.  Try changing the file locations here first when logged in as an admin user].  You can change the location of your shares, but if you want to use Pydio to manage user data then you might want to move the default directories to a different location on your drive.  For this example I will move the default file locations to a new Amahi share.&lt;br /&gt;
&lt;br /&gt;
==Create a new share==&lt;br /&gt;
Using the Amahi web interface (http://hda), navigate to the &amp;quot;shares&amp;quot; settings, and create a new share called &amp;quot;Pydio&amp;quot;. By default this is located in &amp;lt;code&amp;gt;/var/hda/files/pydio&amp;lt;/code&amp;gt;.  I moved mine to a second hard drive (see [[Adding_a_second_hard_drive_to_your_HDA]] if you need to install a new hard drive), so changed the file location to &amp;lt;code&amp;gt;/var/hda/files/drives/drive1/pydio&amp;lt;/code&amp;gt; (click on the new share from the Amahi web interface, and enter the new directory name).  However I also use [[Greyhole]], so want to mount the new share locally and manipulate files from that location.  See [[Mount_Shares_Locally]] if you need to set this up.  To mount the new share locally, restart the mount_shares_locally service (Amahi 7 / Fedora 19 commands shown):&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = bash$ sudo systemctl restart mount_shares_locally.service}}&lt;br /&gt;
&lt;br /&gt;
You can check that the share is correctly mounted using &amp;lt;code&amp;gt;ls -l /mnt/samba&amp;lt;/code&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
==Changing the default location for files in Pydio==&lt;br /&gt;
To change the default data directory in Pydio, we need to edit a configuration file which is in the web-apps directory.&lt;br /&gt;
&lt;br /&gt;
{{Code| Code=sudo vi /var/hda/web-apps/pydio/html/&lt;br /&gt;
find the following line in the file (line 36): &lt;br /&gt;
        &amp;quot;PATH&amp;quot;                  =&amp;gt;      &amp;quot;AJXP_DATA_PATH/files&amp;quot;,&lt;br /&gt;
edit it to:&lt;br /&gt;
        &amp;quot;PATH&amp;quot;                  =&amp;gt;      &amp;quot;/mnt/samba/Pydio/files&amp;quot;,&lt;br /&gt;
find the following line in the file (line 75): &lt;br /&gt;
        &amp;quot;PATH&amp;quot;                 =&amp;gt;      &amp;quot;AJXP_DATA_PATH/personal/AJXP_USER&amp;quot;,&lt;br /&gt;
edit to suit your file location:&lt;br /&gt;
        &amp;quot;PATH&amp;quot;                 =&amp;gt;      &amp;quot;/mnt/samba/Pydio/personal/AJXP_USER&amp;quot;,&lt;br /&gt;
save and close}}&lt;br /&gt;
&lt;br /&gt;
You can check that the changes came into effect in the Pydio interface, at &amp;lt;code&amp;gt; Settings &amp;gt; Workspaces &amp;gt; Common Files and Settings &amp;gt; Workspaces &amp;gt; My Files&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
&amp;lt;!--This page must bellong to one of the following categories please remove comment--&amp;gt;&lt;br /&gt;
[[category:Apps]]&lt;br /&gt;
&amp;lt;!--[[Category:Fedora]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Platform]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Pro Version]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Services]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:VPN]]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Pydio&amp;diff=93281</id>
		<title>Pydio</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Pydio&amp;diff=93281"/>
		<updated>2015-05-03T03:29:59Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: /* Changing the location of your shares in Pydio */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- &lt;br /&gt;
This page is crated automaticaly by a script.&lt;br /&gt;
This part is commented and shall not show&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{WorkInProgress}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsUpdate}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsMerge | [[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsExpantion}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsDelete |[[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--Please remove or place comment accordingly--&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
=Changing the location of your shares in Pydio=&lt;br /&gt;
By default, the Amahi Pydio app sets up &amp;quot;workspaces&amp;quot; (that is, file repositories which link to the default share location at &amp;lt;code&amp;gt;/var/hda/files/[share]&amp;lt;/code&amp;gt;.  You might have moved your shares from this location, if for example you use [[Greyhole]] and access your files through local shares at &amp;lt;code&amp;gt;/mnt/samba/[share]&amp;lt;/code&amp;gt; (see [[Mount_Shares_Locally]]).  Follow these steps to direct Pydio to the right location.  If your shares are in a different location you will need to change the &amp;lt;code&amp;gt;/mnt/samba&amp;lt;/code&amp;gt; locations below to suit your setup.  Note that there is no way to navigate to the shares from the pydio UI, so you will need to make a note somewhere of the exact share locations.&lt;br /&gt;
&lt;br /&gt;
==1. Find the right settings==&lt;br /&gt;
[[file:Pydio shares settings.png|thumb|The &amp;quot;Docs&amp;quot; share is highlighted]]&lt;br /&gt;
You can navigate to the Pydio settings from any page, using the dropdown box that appears when you mouseover your user name on the top right of the screen. &lt;br /&gt;
&lt;br /&gt;
You need to access the &amp;quot;Workspaces&amp;quot; settings, which should be the first on the list.  In the Workspaces settings you will see a list of various shares and other &amp;quot;workspaces&amp;quot; set up for the Pydio user.  Right click on one of the shares - in this example I will select &amp;quot;Docs&amp;quot;.  Choose the &amp;quot;Edit&amp;quot; option to go to the settings page for this workspace.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==2. Change the settings==&lt;br /&gt;
[[file:Pydio_sharelocation.png|thumb|Share file location - default location highlighted]]&lt;br /&gt;
Change the default location &amp;lt;code&amp;gt;/var/hda/files/[share]&amp;lt;/code&amp;gt; to your desired location - for shares mounted locally use &amp;lt;code&amp;gt;/mnt/samba/[share]&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Make the same change to all the other shares.  You should now be able to access your files through the pydio interface.&lt;br /&gt;
&lt;br /&gt;
You can create new workspaces from the same location.&lt;br /&gt;
&lt;br /&gt;
=Changing the default location of Pydio user data=&lt;br /&gt;
The default location of user files is hard-coded into the Pydio app, and cannot be changed through the web interface.  You can change the location of your shares, but if you want to use Pydio to manage user data then you might want to move the default directories to a different location on your drive.  For this example I will move the default file locations to a new Amahi share.&lt;br /&gt;
&lt;br /&gt;
==Create a new share==&lt;br /&gt;
Using the Amahi web interface (http://hda), navigate to the &amp;quot;shares&amp;quot; settings, and create a new share called &amp;quot;Pydio&amp;quot;. By default this is located in &amp;lt;code&amp;gt;/var/hda/files/pydio&amp;lt;/code&amp;gt;.  I moved mine to a second hard drive (see [[Adding_a_second_hard_drive_to_your_HDA]] if you need to install a new hard drive), so changed the file location to &amp;lt;code&amp;gt;/var/hda/files/drives/drive1/pydio&amp;lt;/code&amp;gt; (click on the new share from the Amahi web interface, and enter the new directory name).  However I also use [[Greyhole]], so want to mount the new share locally and manipulate files from that location.  See [[Mount_Shares_Locally]] if you need to set this up.  To mount the new share locally, restart the mount_shares_locally service (Amahi 7 / Fedora 19 commands shown):&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = bash$ sudo systemctl restart mount_shares_locally.service}}&lt;br /&gt;
&lt;br /&gt;
You can check that the share is correctly mounted using &amp;lt;code&amp;gt;ls -l /mnt/samba&amp;lt;/code&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
==Changing the default location for files in Pydio==&lt;br /&gt;
To change the default data directory in Pydio, we need to edit a configuration file which is in the web-apps directory.&lt;br /&gt;
&lt;br /&gt;
{{Code| Code=sudo vi /var/hda/web-apps/pydio/html/&lt;br /&gt;
find the following line in the file (line 36): &lt;br /&gt;
        &amp;quot;PATH&amp;quot;                  =&amp;gt;      &amp;quot;AJXP_DATA_PATH/files&amp;quot;,&lt;br /&gt;
edit it to:&lt;br /&gt;
        &amp;quot;PATH&amp;quot;                  =&amp;gt;      &amp;quot;/mnt/samba/Pydio/files&amp;quot;,&lt;br /&gt;
find the following line in the file (line 75): &lt;br /&gt;
        &amp;quot;PATH&amp;quot;                 =&amp;gt;      &amp;quot;AJXP_DATA_PATH/personal/AJXP_USER&amp;quot;,&lt;br /&gt;
edit to suit your file location:&lt;br /&gt;
        &amp;quot;PATH&amp;quot;                 =&amp;gt;      &amp;quot;/mnt/samba/Pydio/personal/AJXP_USER&amp;quot;,&lt;br /&gt;
save and close}}&lt;br /&gt;
&lt;br /&gt;
You can check that the changes came into effect in the Pydio interface, at &amp;lt;code&amp;gt; Settings &amp;gt; Workspaces &amp;gt; Common Files and Settings &amp;gt; Workspaces &amp;gt; My Files&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
&amp;lt;!--This page must bellong to one of the following categories please remove comment--&amp;gt;&lt;br /&gt;
[[category:Apps]]&lt;br /&gt;
&amp;lt;!--[[Category:Fedora]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Platform]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Pro Version]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Services]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:VPN]]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Pydio&amp;diff=93276</id>
		<title>Pydio</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Pydio&amp;diff=93276"/>
		<updated>2015-05-03T03:00:52Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: Created page with &amp;quot;&amp;lt;!--  This page is crated automaticaly by a script. This part is commented and shall not show --&amp;gt; &amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt; &amp;lt;!-...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- &lt;br /&gt;
This page is crated automaticaly by a script.&lt;br /&gt;
This part is commented and shall not show&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{WorkInProgress}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsUpdate}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsMerge | [[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsExpantion}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsDelete |[[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--Please remove or place comment accordingly--&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
=Changing the location of your shares in Pydio=&lt;br /&gt;
By default, the Amahi Pydio app sets up &amp;quot;workspaces&amp;quot; (that is, file repositories&amp;quot; which link to the default share location at &amp;lt;code&amp;gt;/var/hda/files/[share]&amp;lt;/code&amp;gt;.  You might have moved your shares from this location, if for example you use [[Greyhole]] and access your files through local shares at &amp;lt;code&amp;gt;/mnt/samba/[share]&amp;lt;/code&amp;gt; (see [[Mount_Shares_Locally]]).  Follow these steps to direct Pydio to the right location.  If your shares are in a different location you will need to change the &amp;lt;code&amp;gt;/mnt/samba&amp;lt;/code&amp;gt; locations below to suit your setup.  Note that there is no way to navigate to the shares from the pydio UI, so you will need to make a note somewhere of the exact share locations.&lt;br /&gt;
&lt;br /&gt;
==1. Find the right settings==&lt;br /&gt;
[[file:Pydio shares settings.png|thumb|The &amp;quot;Docs&amp;quot; share is highlighted]]&lt;br /&gt;
You can navigate to the Pydio settings from any page, using the dropdown box that appears when you mouseover your user name on the top right of the screen. &lt;br /&gt;
&lt;br /&gt;
You need to access the &amp;quot;Workspaces&amp;quot; settings, which should be the first on the list.  In the Workspaces settings you will see a list of various shares and other &amp;quot;workspaces&amp;quot; set up for the Pydio user.  Right click on one of the shares - in this example I will select &amp;quot;Docs&amp;quot;.  Choose the &amp;quot;Edit&amp;quot; option to go to the settings page for this workspace.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==2. Change the settings==&lt;br /&gt;
[[file:Pydio_sharelocation.png|thumb|Share file location - default location highlighted]]&lt;br /&gt;
Change the default location &amp;lt;code&amp;gt;/var/hda/files/[share]&amp;lt;/code&amp;gt; to your desired location - for shares mounted locally use &amp;lt;code&amp;gt;/mnt/samba/[share]&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Make the same change to all the other shares.  You should now be able to access your files through the pydio interface.&lt;br /&gt;
&lt;br /&gt;
You can create new workspaces from the same location.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Changing the default location of Pydio user data=&lt;br /&gt;
The default location of user files is hard-coded into the Pydio app, and cannot be changed through the web interface.  You can change the location of your shares, but if you want to use Pydio to manage user data then you might want to move the default directories to a different location on your drive.  For this example I will move the default file locations to a new Amahi share.&lt;br /&gt;
&lt;br /&gt;
==Create a new share==&lt;br /&gt;
Using the Amahi web interface (http://hda), navigate to the &amp;quot;shares&amp;quot; settings, and create a new share called &amp;quot;Pydio&amp;quot;. By default this is located in &amp;lt;code&amp;gt;/var/hda/files/pydio&amp;lt;/code&amp;gt;.  I moved mine to a second hard drive (see [[Adding_a_second_hard_drive_to_your_HDA]] if you need to install a new hard drive), so changed the file location to &amp;lt;code&amp;gt;/var/hda/files/drives/drive1/pydio&amp;lt;/code&amp;gt; (click on the new share from the Amahi web interface, and enter the new directory name).  However I also use [[Greyhole]], so want to mount the new share locally and manipulate files from that location.  See [[Mount_Shares_Locally]] if you need to set this up.  To mount the new share locally, restart the mount_shares_locally service (Amahi 7 / Fedora 19 commands shown):&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = bash$ sudo systemctl restart mount_shares_locally.service}}&lt;br /&gt;
&lt;br /&gt;
You can check that the share is correctly mounted using &amp;lt;code&amp;gt;ls -l /mnt/samba&amp;lt;/code&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
==Changing the default location for files in Pydio==&lt;br /&gt;
To change the default data directory in Pydio, we need to edit a configuration file which is in the web-apps directory.&lt;br /&gt;
&lt;br /&gt;
{{Code| Code=sudo vi /var/hda/web-apps/pydio/html/&lt;br /&gt;
find the following line in the file (line 36): &lt;br /&gt;
        &amp;quot;PATH&amp;quot;                  =&amp;gt;      &amp;quot;AJXP_DATA_PATH/files&amp;quot;,&lt;br /&gt;
edit it to:&lt;br /&gt;
        &amp;quot;PATH&amp;quot;                  =&amp;gt;      &amp;quot;/mnt/samba/Pydio/files&amp;quot;,&lt;br /&gt;
find the following line in the file (line 75): &lt;br /&gt;
        &amp;quot;PATH&amp;quot;                 =&amp;gt;      &amp;quot;AJXP_DATA_PATH/personal/AJXP_USER&amp;quot;,&lt;br /&gt;
edit to suit your file location:&lt;br /&gt;
        &amp;quot;PATH&amp;quot;                 =&amp;gt;      &amp;quot;/mnt/samba/Pydio/personal/AJXP_USER&amp;quot;,&lt;br /&gt;
save and close}}&lt;br /&gt;
&lt;br /&gt;
You can check that the changes came into effect in the Pydio interface, at &amp;lt;code&amp;gt; Settings &amp;gt; Workspaces &amp;gt; Common Files and Settings &amp;gt; Workspaces &amp;gt; My Files&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
&amp;lt;!--This page must bellong to one of the following categories please remove comment--&amp;gt;&lt;br /&gt;
[[category:Apps]]&lt;br /&gt;
&amp;lt;!--[[Category:Fedora]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Platform]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Pro Version]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Services]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:VPN]]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=File:Pydio_sharelocation.png&amp;diff=93271</id>
		<title>File:Pydio sharelocation.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=File:Pydio_sharelocation.png&amp;diff=93271"/>
		<updated>2015-05-03T01:07:45Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: Location of the share files in pydio&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Location of the share files in pydio&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=File:Pydio_shares_settings.png&amp;diff=93266</id>
		<title>File:Pydio shares settings.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=File:Pydio_shares_settings.png&amp;diff=93266"/>
		<updated>2015-05-03T00:22:15Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: Matt Clark uploaded a new version of &amp;amp;quot;File:Pydio shares settings.png&amp;amp;quot;: Reverted to version as of 00:16, 3 May 2015&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Showing the location of shares settings in pydio&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=File:Pydio_shares_settings.png&amp;diff=93261</id>
		<title>File:Pydio shares settings.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=File:Pydio_shares_settings.png&amp;diff=93261"/>
		<updated>2015-05-03T00:21:53Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: Matt Clark uploaded a new version of &amp;amp;quot;File:Pydio shares settings.png&amp;amp;quot;: Got the wrong file again... other versions can be deleted&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Showing the location of shares settings in pydio&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=File:Pydio_shares_settings.png&amp;diff=93256</id>
		<title>File:Pydio shares settings.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=File:Pydio_shares_settings.png&amp;diff=93256"/>
		<updated>2015-05-03T00:16:37Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: Matt Clark uploaded a new version of &amp;amp;quot;File:Pydio shares settings.png&amp;amp;quot;: uploaded the wrong file originally&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Showing the location of shares settings in pydio&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=File:Pydio_shares_settings.png&amp;diff=93251</id>
		<title>File:Pydio shares settings.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=File:Pydio_shares_settings.png&amp;diff=93251"/>
		<updated>2015-05-03T00:14:02Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: Showing the location of shares settings in pydio&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Showing the location of shares settings in pydio&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=File:Pydio_welcome.png&amp;diff=93246</id>
		<title>File:Pydio welcome.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=File:Pydio_welcome.png&amp;diff=93246"/>
		<updated>2015-05-02T23:47:12Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: Matt Clark uploaded a new version of &amp;amp;quot;File:Pydio welcome.png&amp;amp;quot;: smaller version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome screen of pydio&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=File:Pydio_welcome.png&amp;diff=93241</id>
		<title>File:Pydio welcome.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=File:Pydio_welcome.png&amp;diff=93241"/>
		<updated>2015-05-02T23:44:06Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: Welcome screen of pydio&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome screen of pydio&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Secure_App_Access&amp;diff=93236</id>
		<title>Secure App Access</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Secure_App_Access&amp;diff=93236"/>
		<updated>2015-05-02T11:58:42Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= #faa|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is recommended only for advanced users, proceed with caution.}}&lt;br /&gt;
= HTTPS in Amahi 6 and earlier =&lt;br /&gt;
'''NOTE:''' This has not been tested with Amahi 7. Following this guidance is at your own risk and could break your HDA. &lt;br /&gt;
&lt;br /&gt;
This is an example of how to force web app access via HTTPS.  For this example, AjaXplorer will be used but this will work with any web app.&lt;br /&gt;
&lt;br /&gt;
* Go to your config file for apache:&lt;br /&gt;
 cd /etc/httpd/conf&lt;br /&gt;
* Now it is time to create a key and a crt.   It will ask you a few questions, just make sure that the '''Common Name''' is the domain name:&lt;br /&gt;
 openssl genrsa -out filename.key 1024&lt;br /&gt;
 openssl req -new -key filename.key -x509 -days 1000 -out filename.crt&lt;br /&gt;
* Next open up '''/etc/httpd/conf/httpd.conf''' and add the following to the end (skip if you implemented [[Access HDA over SSL]]):&lt;br /&gt;
 NameVirtualHost *:443&lt;br /&gt;
* Open terminal and do (skip if you implemented [[Access HDA over SSL]]):&lt;br /&gt;
 yum -y install mod_ssl&lt;br /&gt;
* Find the file that has ajaxplorer in its name (i.e. '''1026-ajaxplorer.conf'''):&lt;br /&gt;
 cd /etc/httpd/conf.d&lt;br /&gt;
* Edit it to like this (change username.yourhda.com):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
        ServerName ajaxplorer&lt;br /&gt;
        ServerAlias username.yourhda.com&lt;br /&gt;
        SSLEngine On&lt;br /&gt;
        SSLCertificateFile /etc/httpd/conf/filename.crt&lt;br /&gt;
        SSLCertificateKeyFile /etc/httpd/conf/filename.key&lt;br /&gt;
&lt;br /&gt;
        DocumentRoot /var/hda/web-apps/ajaxplorer/html&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;Directory &amp;quot;/var/hda/web-apps/ajaxplorer/html&amp;quot;&amp;gt;&lt;br /&gt;
                Options Indexes FollowSymLinks +ExecCGI&lt;br /&gt;
                AddHandler fcgid-script .fcg&lt;br /&gt;
                AllowOverride AuthConfig&lt;br /&gt;
                Order allow,deny&lt;br /&gt;
                Allow from all&lt;br /&gt;
        &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
*  Finally create a file called '''1026-ajaxplorerhttp.conf''' (number may be different for you) and add this code (change username.hda.com):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
        ServerName ajaxplorer&lt;br /&gt;
        ServerAlias username.yourhda.com&lt;br /&gt;
        RewriteEngine On&lt;br /&gt;
        RewriteCond  %{SERVER_PORT} !^443$&lt;br /&gt;
        RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]&lt;br /&gt;
&lt;br /&gt;
        ExpiresDefault &amp;quot;access plus 10 years&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        AddOutputFilterByType DEFLATE text/html text/plain text/xml&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Now you need to restart apache:&lt;br /&gt;
 service httpd restart&lt;br /&gt;
* And that's all, you now have 128 bit encryption for AjaXplorer.  Note that when you uninstall the app, you will need to manually remove the '''1026-ajaxplorerhttp.conf''' file you created.&lt;br /&gt;
&lt;br /&gt;
= HTTPS for Amahi 7 apps =&lt;br /&gt;
These instructions are for advanced users that wish to set up https access to apps on Amahi 7 (Fedora 19).  Use at your own risk.&lt;br /&gt;
&lt;br /&gt;
== 1. Install prerequisite packages and set up certificates ==&lt;br /&gt;
As a root user, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install -y openssl mod_ssl&lt;br /&gt;
cd /etc/pki/tls/certs &lt;br /&gt;
make server.key&amp;lt;/pre&amp;gt;&lt;br /&gt;
You should get prompts to enter and confirm a passphrase.  Now we want to remove the passphrase from the private key:&lt;br /&gt;
&amp;lt;pre&amp;gt;openssl rsa -in server.key -out server.key &amp;lt;/pre&amp;gt;&lt;br /&gt;
You'll be prompted to add the passphrase again to confirm.  Now we make a certificate server request file&lt;br /&gt;
&amp;lt;pre&amp;gt;make server.csr&amp;lt;/pre&amp;gt;&lt;br /&gt;
You'll now enter the information that will appear on the certificate request.  Make sure that the &amp;quot;Common Name&amp;quot; matches your server domain.&lt;br /&gt;
Once you've entered these, you want to generate your private key:&lt;br /&gt;
&amp;lt;pre&amp;gt;openssl x509 -in server.csr -out server.crt -req -signkey server.key -days 3650&amp;lt;/pre&amp;gt;&lt;br /&gt;
You should get a message saying Signature ok, with the details for the certificate that you just entered, followed by &amp;quot;Getting private key&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==2. Configure your httpd install for ssl==&lt;br /&gt;
Still as root, edit /etc/httpd/conf.d/ssl.conf as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;#Line 59: uncomment&lt;br /&gt;
DocumentRoot &amp;quot;/var/www/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#Line 60: uncomment and specify server name (use your server name)&lt;br /&gt;
ServerName www.exampleserver.com:443&lt;br /&gt;
&lt;br /&gt;
#Line 100: specify certificate&lt;br /&gt;
SSLCertificateFile /etc/pki/tls/certs/server.crt&lt;br /&gt;
&lt;br /&gt;
#Line 107: specify certification key&lt;br /&gt;
SSLCertificateKeyFile /etc/pki/tls/certs/server.key&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==3. Configure the web apps you want to make accessible by SSL==&lt;br /&gt;
Go to /etc/httpd/conf.d and edit the conf file for the app you want to move to ssl.  For this example I will use owncloud.  On my HDA the owncloud conf was 1005-owncould8.conf; the number may differ for you.  Remember to back up the original in case you make an error.&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /etc/httpd/conf.d&lt;br /&gt;
ls -l #check the filename of the relevant conf file.&lt;br /&gt;
cp 1005-owncloud8.conf 1006-owncloud8.conf.old&lt;br /&gt;
vi 1005-owncloud.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit your file to change the virtualhost to port 443, and turn on SSL encryption.  Your files should look something like the following, with appropriate edits to suit your internal and external server names:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        ServerName owncloud8&lt;br /&gt;
        ServerAlias owncloud8.home.com &lt;br /&gt;
        ServerAlias owncloud8.exampleserver.com&lt;br /&gt;
&lt;br /&gt;
        SSLEngine On&lt;br /&gt;
        SSLCertificateFile /etc/pki/tls/certs/server.crt&lt;br /&gt;
        SSLCertificateKeyFile /etc/pki/tls/certs/server.key&lt;br /&gt;
&lt;br /&gt;
        DocumentRoot /var/hda/web-apps/owncloud8/html&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;Directory &amp;quot;/var/hda/web-apps/owncloud8/html&amp;quot;&amp;gt;&lt;br /&gt;
                Options Indexes FollowSymLinks MultiViews&lt;br /&gt;
AllowOverride All&lt;br /&gt;
Require all granted&lt;br /&gt;
        &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        ErrorLog  /var/hda/web-apps/owncloud8/logs/error_log&lt;br /&gt;
        CustomLog /var/hda/web-apps/owncloud8/logs/access_log combined env=!dontlog&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to redirect http requests to the new https instance.  Create a new conf file for the redirect:&lt;br /&gt;
&amp;lt;pre&amp;gt;vi 1006-owncloud8http.conf (number may be different for you) and add this code (change the example server to match yours):&lt;br /&gt;
&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
        ServerName ajaxplorer&lt;br /&gt;
        ServerAlias owncloud8.home.com &lt;br /&gt;
        ServerAlias owncloud8.exampleserver.com&lt;br /&gt;
        RewriteEngine On&lt;br /&gt;
        RewriteCond  %{SERVER_PORT} !^443$&lt;br /&gt;
        RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]&lt;br /&gt;
&lt;br /&gt;
        ExpiresDefault &amp;quot;access plus 10 years&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        AddOutputFilterByType DEFLATE text/html text/plain text/xml&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you need to restart apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl restart httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==4. Test==&lt;br /&gt;
Direct a browser to the app link and you should now get a https link.  Note that your browsers will all give a warning that the certificate is not trusted because it has not been issued by a proper authority. Once you've accepted the warning, you should have an https connection to your app.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
[[Access HDA over SSL]]&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Secure_App_Access&amp;diff=93231</id>
		<title>Secure App Access</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Secure_App_Access&amp;diff=93231"/>
		<updated>2015-05-02T11:58:08Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= #faa|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is recommended only for advanced users, proceed with caution.}}&lt;br /&gt;
= HTTPS in Amahi 6 and earlier =&lt;br /&gt;
'''NOTE:''' This has not been tested with Amahi 7. Following this guidance is at your own risk and could break your HDA. &lt;br /&gt;
&lt;br /&gt;
This is an example of how to force web app access via HTTPS.  For this example, AjaXplorer will be used but this will work with any web app.&lt;br /&gt;
&lt;br /&gt;
* Go to your config file for apache:&lt;br /&gt;
 cd /etc/httpd/conf&lt;br /&gt;
* Now it is time to create a key and a crt.   It will ask you a few questions, just make sure that the '''Common Name''' is the domain name:&lt;br /&gt;
 openssl genrsa -out filename.key 1024&lt;br /&gt;
 openssl req -new -key filename.key -x509 -days 1000 -out filename.crt&lt;br /&gt;
* Next open up '''/etc/httpd/conf/httpd.conf''' and add the following to the end (skip if you implemented [[Access HDA over SSL]]):&lt;br /&gt;
 NameVirtualHost *:443&lt;br /&gt;
* Open terminal and do (skip if you implemented [[Access HDA over SSL]]):&lt;br /&gt;
 yum -y install mod_ssl&lt;br /&gt;
* Find the file that has ajaxplorer in its name (i.e. '''1026-ajaxplorer.conf'''):&lt;br /&gt;
 cd /etc/httpd/conf.d&lt;br /&gt;
* Edit it to like this (change username.yourhda.com):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
        ServerName ajaxplorer&lt;br /&gt;
        ServerAlias username.yourhda.com&lt;br /&gt;
        SSLEngine On&lt;br /&gt;
        SSLCertificateFile /etc/httpd/conf/filename.crt&lt;br /&gt;
        SSLCertificateKeyFile /etc/httpd/conf/filename.key&lt;br /&gt;
&lt;br /&gt;
        DocumentRoot /var/hda/web-apps/ajaxplorer/html&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;Directory &amp;quot;/var/hda/web-apps/ajaxplorer/html&amp;quot;&amp;gt;&lt;br /&gt;
                Options Indexes FollowSymLinks +ExecCGI&lt;br /&gt;
                AddHandler fcgid-script .fcg&lt;br /&gt;
                AllowOverride AuthConfig&lt;br /&gt;
                Order allow,deny&lt;br /&gt;
                Allow from all&lt;br /&gt;
        &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
*  Finally create a file called '''1026-ajaxplorerhttp.conf''' (number may be different for you) and add this code (change username.hda.com):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
        ServerName ajaxplorer&lt;br /&gt;
        ServerAlias username.yourhda.com&lt;br /&gt;
        RewriteEngine On&lt;br /&gt;
        RewriteCond  %{SERVER_PORT} !^443$&lt;br /&gt;
        RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]&lt;br /&gt;
&lt;br /&gt;
        ExpiresDefault &amp;quot;access plus 10 years&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        AddOutputFilterByType DEFLATE text/html text/plain text/xml&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Now you need to restart apache:&lt;br /&gt;
 service httpd restart&lt;br /&gt;
* And that's all, you now have 128 bit encryption for AjaXplorer.  Note that when you uninstall the app, you will need to manually remove the '''1026-ajaxplorerhttp.conf''' file you created.&lt;br /&gt;
&lt;br /&gt;
= HTTPS for Amahi 7 apps =&lt;br /&gt;
These instructions are for advanced users that wish to set up https access to apps on Amahi 7 (Fedora 19).  Use at your own risk.&lt;br /&gt;
&lt;br /&gt;
== 1. Install prerequisite packages and set up certificates ==&lt;br /&gt;
As a root user, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install -y openssl mod_ssl&lt;br /&gt;
cd /etc/pki/tls/certs &lt;br /&gt;
make server.key&amp;lt;/pre&amp;gt;&lt;br /&gt;
You should get prompts to enter and confirm a passphrase.  Now we want to remove the passphrase from the private key:&lt;br /&gt;
&amp;lt;pre&amp;gt;openssl rsa -in server.key -out server.key &amp;lt;/pre&amp;gt;&lt;br /&gt;
You'll be prompted to add the passphrase again to confirm.  Now we make a certificate server request file&lt;br /&gt;
&amp;lt;pre&amp;gt;make server.csr&amp;lt;/pre&amp;gt;&lt;br /&gt;
You'll now enter the information that will appear on the certificate request.  Make sure that the &amp;quot;Common Name&amp;quot; matches your server domain.&lt;br /&gt;
Once you've entered these, you want to generate your private key:&lt;br /&gt;
&amp;lt;pre&amp;gt;openssl x509 -in server.csr -out server.crt -req -signkey server.key -days 3650&amp;lt;/pre&amp;gt;&lt;br /&gt;
You should get a message saying Signature ok, with the details for the certificate that you just entered, followed by &amp;quot;Getting private key&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==2. Configure your httpd install for ssl==&lt;br /&gt;
Still as root, edit /etc/httpd/conf.d/ssl.conf as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;#Line 59: uncomment&lt;br /&gt;
DocumentRoot &amp;quot;/var/www/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#Line 60: uncomment and specify server name (use your server name)&lt;br /&gt;
ServerName www.exampleserver.com:443&lt;br /&gt;
&lt;br /&gt;
#Line 100: specify certificate&lt;br /&gt;
SSLCertificateFile /etc/pki/tls/certs/server.crt&lt;br /&gt;
&lt;br /&gt;
#Line 107: specify certification key&lt;br /&gt;
SSLCertificateKeyFile /etc/pki/tls/certs/server.key&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==3. Configure the web apps you want to make accessible by SSL==&lt;br /&gt;
Go to /etc/httpd/conf.d and edit the conf file for the app you want to move to ssl.  For this example I will use owncloud.  On my HDA the owncloud conf was 1005-owncould8.conf; the number may differ for you.  Remember to back up the original in case you make an error.&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /etc/httpd/conf.d&lt;br /&gt;
ls -l #check the filename of the relevant conf file.&lt;br /&gt;
cp 1005-owncloud8.conf 1006-owncloud8.conf.old&lt;br /&gt;
vi 1005-owncloud.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit your file to change the virtualhost to port 443, and turn on SSL encryption.  Your files should look something like the following, with appropriate edits to suit your internal and external server names:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        ServerName owncloud8&lt;br /&gt;
        ServerAlias owncloud8.home.com &lt;br /&gt;
        ServerAlias owncloud8.exampleserver.com&lt;br /&gt;
&lt;br /&gt;
        SSLEngine On&lt;br /&gt;
        SSLCertificateFile /etc/pki/tls/certs/server.crt&lt;br /&gt;
        SSLCertificateKeyFile /etc/pki/tls/certs/server.key&lt;br /&gt;
&lt;br /&gt;
        DocumentRoot /var/hda/web-apps/owncloud8/html&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;Directory &amp;quot;/var/hda/web-apps/owncloud8/html&amp;quot;&amp;gt;&lt;br /&gt;
                Options Indexes FollowSymLinks MultiViews&lt;br /&gt;
AllowOverride All&lt;br /&gt;
Require all granted&lt;br /&gt;
        &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        ErrorLog  /var/hda/web-apps/owncloud8/logs/error_log&lt;br /&gt;
        CustomLog /var/hda/web-apps/owncloud8/logs/access_log combined env=!dontlog&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to redirect http requests to the new https instance.  Create a new conf file for the redirect:&lt;br /&gt;
&amp;lt;pre&amp;gt;vi 1006-owncloud8http.conf (number may be different for you) and add this code (change the example server to match yours):&lt;br /&gt;
&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
        ServerName ajaxplorer&lt;br /&gt;
        ServerAlias owncloud8.home.com &lt;br /&gt;
        ServerAlias owncloud8.exampleserver.com&lt;br /&gt;
        RewriteEngine On&lt;br /&gt;
        RewriteCond  %{SERVER_PORT} !^443$&lt;br /&gt;
        RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]&lt;br /&gt;
&lt;br /&gt;
        ExpiresDefault &amp;quot;access plus 10 years&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        AddOutputFilterByType DEFLATE text/html text/plain text/xml&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;/VirtualHost&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you need to restart apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl restart httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==4. Test==&lt;br /&gt;
Direct a browser to the app link and you should now get a https link.  Note that your browsers will all give a warning that the certificate is not trusted because it has not been issued by a proper authority. Once you've accepted the warning, you should have an https connection to your app.&lt;br /&gt;
&lt;br /&gt;
==== See also ====&lt;br /&gt;
[[Access HDA over SSL]]&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Squeezebox_Server&amp;diff=84398</id>
		<title>Squeezebox Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Squeezebox_Server&amp;diff=84398"/>
		<updated>2014-05-22T22:14:39Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: /* unblock-us DNS issue with mysqueezebox.com Workaround (Fedora 19) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== App Fix for Squeezebox Server Upgrade ==&lt;br /&gt;
[[Category:Apps]]&lt;br /&gt;
[http://www.amahi.org/apps/logitech-media-server Logitech Media Server] (formerly Squeezebox Server) may not work correctly.  If it shows the error message:&lt;br /&gt;
{{Text|The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.}}&lt;br /&gt;
&lt;br /&gt;
'''The following steps resolve the issue:'''&lt;br /&gt;
&lt;br /&gt;
[[Open_Terminal_as_root|Open terminal]] on the HDA enter the following commands and accept all defaults ('''DO NOT''' copy and paste):&lt;br /&gt;
{{Code|cpan}}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''  At the cpan prompt type &amp;lt;code&amp;gt;force install CGI::Cookie&amp;lt;/code&amp;gt; and followed by &amp;lt;code&amp;gt;quit&amp;lt;/code&amp;gt; when finished.&lt;br /&gt;
&lt;br /&gt;
Start squeezeboxserver:&lt;br /&gt;
{{Code|service squeezeboxserver start}}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''  If you still receive the message above, a restart of the HDA may be required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Playing AAC files on 64-bit installs ==&lt;br /&gt;
Squeezebox server plays AAC files natively, but uses a 32-bit library.  On 64-bit machines you may get an error message on your squeezebox saying&lt;br /&gt;
{{Text|Problem: Can't open file for: [song title]}}&lt;br /&gt;
&lt;br /&gt;
A simple fix for this problem is to install the 32-bit glib package.  [[Open_Terminal_as_root|Open terminal]] on your HDA and enter the following:&lt;br /&gt;
{{Code|yum install glib.i686}} &lt;br /&gt;
Your AAC files should play on successful installation.&lt;br /&gt;
&lt;br /&gt;
(source: [[http://forums.amahi.org/viewtopic.php?f=14&amp;amp;t=2734|this forum post]])&lt;br /&gt;
&lt;br /&gt;
==Squeezebox and locally mounted shares==&lt;br /&gt;
If you access your media files using [https://wiki.amahi.org/index.php/Mount_Shares_Locally locally mounted shares] (eg if you are a [https://wiki.amahi.org/index.php/Greyhole Greyhole] user), you will need to change the permissions of your squeezebox server user.  The squeezebox service is run by a special user &amp;lt;i&amp;gt;squeezeboxserver&amp;lt;/i&amp;gt; who doesnt have access to the local shares by default.&lt;br /&gt;
&lt;br /&gt;
To fix, open terminal and type:&lt;br /&gt;
{{Code|sudo usermod -a -G users squeezeboxserver}}&lt;br /&gt;
&lt;br /&gt;
You may need to restart your squeezebox server.  Now when you want to add directories to your squeezebox using the web interface all your shares should be accessible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== unblock-us DNS issue with mysqueezebox.com Workaround (Fedora 19) ==&lt;br /&gt;
The unblock-us.com domain name servers do not resolve mysqueezebox.com subdomains properly (eg content.mysqueezebox.com, update.mysqueezebox.com).  This breaks the MySB network connection for squeezeboxes connected to the server and means they can't play pandora or other apps.&lt;br /&gt;
&lt;br /&gt;
Workaround:&lt;br /&gt;
Amahi 7 uses dnsmasq for the domain name service, which has an option to use an alternative DNS for particular domains (see &amp;quot;using special servers&amp;quot; from the documentation [http://www.thekelleys.org.uk/dnsmasq/docs/setup.html|this here]).  We can specify that the Amahi DNS uses the Google or OpenDNS servers instead of unblock-us.com for MySB requests.&lt;br /&gt;
&lt;br /&gt;
step 1. choose DNS server - I used GoogleDNS (8.8.8.8) but this should work with OpenDNS as well 208.67.222.222&lt;br /&gt;
&lt;br /&gt;
(optional step 1a. You may wish to make a copy of the dnsmasq.conf file before editing.  Type in terminal:&lt;br /&gt;
{{Code|sudo cp /etc/dnsmasq.conf /etc/dnsmasq.conf.old}}}&lt;br /&gt;
&lt;br /&gt;
step 2. add a custom setting to your dnsmasq.conf file using terminal:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo vi /etc/dnsmasq.conf}}&lt;br /&gt;
&lt;br /&gt;
Page down to the very end of the file, then press &amp;quot;i&amp;quot; to insert new text:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;server=/mysqueezebox.com/8.8.8.8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Press esc to exit editing mode, then :w to write to the file, :q to save it and you're done!  I restarted the DNS server using the Amahi control panel as well.  You can test by directing your browser to update.mysqueezebox.com - it should show a directory.&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Squeezebox_Server&amp;diff=74066</id>
		<title>Squeezebox Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Squeezebox_Server&amp;diff=74066"/>
		<updated>2013-11-13T22:55:08Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== App Fix for Squeezebox Server Upgrade ==&lt;br /&gt;
[[Category:Apps]]&lt;br /&gt;
[http://www.amahi.org/apps/logitech-media-server Logitech Media Server] (formerly Squeezebox Server) may not work correctly.  If it shows the error message:&lt;br /&gt;
{{Text|The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.}}&lt;br /&gt;
&lt;br /&gt;
'''The following steps resolve the issue:'''&lt;br /&gt;
&lt;br /&gt;
[[Open_Terminal_as_root|Open terminal]] on the HDA enter the following commands and accept all defaults ('''DO NOT''' copy and paste):&lt;br /&gt;
{{Code|cpan}}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''  At the cpan prompt type &amp;lt;code&amp;gt;force install CGI::Cookie&amp;lt;/code&amp;gt; and followed by &amp;lt;code&amp;gt;quit&amp;lt;/code&amp;gt; when finished.&lt;br /&gt;
&lt;br /&gt;
Start squeezeboxserver:&lt;br /&gt;
{{Code|service squeezeboxserver start}}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''  If you still receive the message above, a restart of the HDA may be required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Playing AAC files on 64-bit installs ==&lt;br /&gt;
Squeezebox server plays AAC files natively, but uses a 32-bit library.  On 64-bit machines you may get an error message on your squeezebox saying&lt;br /&gt;
{{Text|Problem: Can't open file for: [song title]}}&lt;br /&gt;
&lt;br /&gt;
A simple fix for this problem is to install the 32-bit glib package.  [[Open_Terminal_as_root|Open terminal]] on your HDA and enter the following:&lt;br /&gt;
{{Code|yum install glib.i686}} &lt;br /&gt;
Your AAC files should play on successful installation.&lt;br /&gt;
&lt;br /&gt;
(source: [[http://forums.amahi.org/viewtopic.php?f=14&amp;amp;t=2734|this forum post]])&lt;br /&gt;
&lt;br /&gt;
==Squeezebox and locally mounted shares==&lt;br /&gt;
If you access your media files using [https://wiki.amahi.org/index.php/Mount_Shares_Locally locally mounted shares] (eg if you are a [https://wiki.amahi.org/index.php/Greyhole Greyhole] user), you will need to change the permissions of your squeezebox server user.  The squeezebox service is run by a special user &amp;lt;i&amp;gt;squeezeboxserver&amp;lt;/i&amp;gt; who doesnt have access to the local shares by default.&lt;br /&gt;
&lt;br /&gt;
To fix, open terminal and type:&lt;br /&gt;
{{Code|sudo usermod -a -G users squeezeboxserver}}&lt;br /&gt;
&lt;br /&gt;
You may need to restart your squeezebox server.  Now when you want to add directories to your squeezebox using the web interface all your shares should be accessible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Workaround for unblock-us DNS problems with mysqueezebox.com ==&lt;br /&gt;
The unblock-us.com domain name servers do not resolve mysqueezebox.com subdomains properly (eg content.mysqueezebox.com, update.mysqueezebox.com).  This breaks the MySB network connection for squeezeboxes connected to the server and means they can't play pandora or other apps.&lt;br /&gt;
&lt;br /&gt;
Workaround:&lt;br /&gt;
Amahi 7 uses dnsmasq for the domain name service, which has an option to use an alternative DNS for particular domains (see &amp;quot;using special servers&amp;quot; from the documentation [http://www.thekelleys.org.uk/dnsmasq/docs/setup.html|this here]).  We can specify that the Amahi DNS uses the Google or OpenDNS servers instead of unblock-us.com for MySB requests.&lt;br /&gt;
&lt;br /&gt;
step 1. choose DNS server - I used GoogleDNS (8.8.8.8) but this should work with OpenDNS as well 208.67.222.222&lt;br /&gt;
&lt;br /&gt;
(optional step 1a. You may wish to make a copy of the dnsmasq.conf file before editing.  Type in terminal:&lt;br /&gt;
{{Code|sudo cp /etc/dnsmasq.conf /etc/dnsmasq.conf.old}}}&lt;br /&gt;
&lt;br /&gt;
step 2. add a custom setting to your dnsmasq.conf file using terminal:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo vi /etc/dnsmasq.conf}}&lt;br /&gt;
&lt;br /&gt;
Page down to the very end of the file, then press &amp;quot;i&amp;quot; to insert new text:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;server=/mysqueezebox.com/8.8.8.8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Press w to write to the file, q to save it and you're done!  I restarted the DNS server using the Amahi control panel as well.  You can test by directing your browser to update.mysqueezebox.com - it should show a directory.&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Crashplan&amp;diff=74048</id>
		<title>Crashplan</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Crashplan&amp;diff=74048"/>
		<updated>2013-11-13T21:55:10Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: &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;.&amp;lt;br/&amp;gt;&lt;br /&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;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.&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;
==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;
==How to configure CrashPlan on your HDA==&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 itself===&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;
{{Code|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;
{{Code|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;
{{Code|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;
{{Code|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;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
&lt;br /&gt;
===Fixing Java RTE errors on the CrashPlan desktop===&lt;br /&gt;
&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;
&amp;lt;p color=red&amp;gt;&amp;lt;b&amp;gt;Note that the fix below applies to Amahi 7 (Fedora 19) ONLY.&amp;lt;/b&amp;gt;&amp;lt;/p&amp;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;
{{Code|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;
{{Code|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;
{{Code|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 server&lt;br /&gt;
{{Code|sudo 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;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Crashplan&amp;diff=74036</id>
		<title>Crashplan</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Crashplan&amp;diff=74036"/>
		<updated>2013-11-13T07:22:11Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: /* Fixing Java RTE errors on the CrashPlan desktop */&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;.&amp;lt;br/&amp;gt;&lt;br /&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;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.&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;
==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;
==How to configure CrashPlan on your HDA==&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 itself===&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;
{{Code|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;
{{Code|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;
{{Code|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;
{{Code|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;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
&lt;br /&gt;
===Fixing Java RTE errors on the CrashPlan desktop===&lt;br /&gt;
&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;
{{Code|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;
{{Code|sudo systemctl stop crashplan.service}}&lt;br /&gt;
&lt;br /&gt;
Back up the old files and copy in the new ones&lt;br /&gt;
{{Code|cd /var/hda/web-apps/crashplan/html/lib **change this to your own installation if it is different, remember to put the /lib at the end**&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 server&lt;br /&gt;
{{Code|sudo 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;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Crashplan&amp;diff=74030</id>
		<title>Crashplan</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Crashplan&amp;diff=74030"/>
		<updated>2013-11-13T07:21:27Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: &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;.&amp;lt;br/&amp;gt;&lt;br /&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;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.&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;
==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;
==How to configure CrashPlan on your HDA==&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 itself===&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;
{{Code|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;
{{Code|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;
{{Code|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;
{{Code|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;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
&lt;br /&gt;
===Fixing Java RTE errors on the CrashPlan desktop===&lt;br /&gt;
&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;
{{Code|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;
{{Code|sudo systemctl stop crashplan.service}}&lt;br /&gt;
&lt;br /&gt;
Back up the old files and copy in the new ones&lt;br /&gt;
{{Code|cd /var/hda/web-apps/crashplan/html/lib **change this to your own installation if it is different, remember to put the /lib at the end**&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 server&lt;br /&gt;
Stop the crashplan server &lt;br /&gt;
{{Code|sudo 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;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Squeezebox_Server&amp;diff=74024</id>
		<title>Squeezebox Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Squeezebox_Server&amp;diff=74024"/>
		<updated>2013-11-13T06:26:17Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== App Fix for Squeezebox Server Upgrade ==&lt;br /&gt;
[[Category:Apps]]&lt;br /&gt;
[http://www.amahi.org/apps/logitech-media-server Logitech Media Server] (formerly Squeezebox Server) may not work correctly.  If it shows the error message:&lt;br /&gt;
{{Text|The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.}}&lt;br /&gt;
&lt;br /&gt;
'''The following steps resolve the issue:'''&lt;br /&gt;
&lt;br /&gt;
[[Open_Terminal_as_root|Open terminal]] on the HDA enter the following commands and accept all defaults ('''DO NOT''' copy and paste):&lt;br /&gt;
{{Code|cpan}}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''  At the cpan prompt type &amp;lt;code&amp;gt;force install CGI::Cookie&amp;lt;/code&amp;gt; and followed by &amp;lt;code&amp;gt;quit&amp;lt;/code&amp;gt; when finished.&lt;br /&gt;
&lt;br /&gt;
Start squeezeboxserver:&lt;br /&gt;
{{Code|service squeezeboxserver start}}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''  If you still receive the message above, a restart of the HDA may be required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Playing AAC files on 64-bit installs ==&lt;br /&gt;
Squeezebox server plays AAC files natively, but uses a 32-bit library.  On 64-bit machines you may get an error message on your squeezebox saying&lt;br /&gt;
{{Text|Problem: Can't open file for: [song title]}}&lt;br /&gt;
&lt;br /&gt;
A simple fix for this problem is to install the 32-bit glib package.  [[Open_Terminal_as_root|Open terminal]] on your HDA and enter the following:&lt;br /&gt;
{{Code|yum install glib.i686}} &lt;br /&gt;
Your AAC files should play on successful installation.&lt;br /&gt;
&lt;br /&gt;
(source: [[http://forums.amahi.org/viewtopic.php?f=14&amp;amp;t=2734|this forum post]])&lt;br /&gt;
&lt;br /&gt;
== Workaround for unblock-us DNS problems with mysqueezebox.com ==&lt;br /&gt;
The unblock-us.com domain name servers do not resolve mysqueezebox.com subdomains properly (eg content.mysqueezebox.com, update.mysqueezebox.com).  This breaks the MySB network connection for squeezeboxes connected to the server and means they can't play pandora or other apps.&lt;br /&gt;
&lt;br /&gt;
Workaround:&lt;br /&gt;
Amahi 7 uses dnsmasq for the domain name service, which has an option to use an alternative DNS for particular domains (see &amp;quot;using special servers&amp;quot; from the documentation [http://www.thekelleys.org.uk/dnsmasq/docs/setup.html|this here]).  We can specify that the Amahi DNS uses the Google or OpenDNS servers instead of unblock-us.com for MySB requests.&lt;br /&gt;
&lt;br /&gt;
step 1. choose DNS server - I used GoogleDNS (8.8.8.8) but this should work with OpenDNS as well 208.67.222.222&lt;br /&gt;
&lt;br /&gt;
(optional step 1a. You may wish to make a copy of the dnsmasq.conf file before editing.  Type in terminal:&lt;br /&gt;
{{Code|sudo cp /etc/dnsmasq.conf /etc/dnsmasq.conf.old}}}&lt;br /&gt;
&lt;br /&gt;
step 2. add a custom setting to your dnsmasq.conf file using terminal:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo vi /etc/dnsmasq.conf}}&lt;br /&gt;
&lt;br /&gt;
Page down to the very end of the file, then press &amp;quot;i&amp;quot; to insert new text:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;server=/mysqueezebox.com/8.8.8.8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Press w to write to the file, q to save it and you're done!  I restarted the DNS server using the Amahi control panel as well.  You can test by directing your browser to update.mysqueezebox.com - it should show a directory.&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Talk:Mount_Shares_Locally&amp;diff=71930</id>
		<title>Talk:Mount Shares Locally</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Talk:Mount_Shares_Locally&amp;diff=71930"/>
		<updated>2013-07-29T00:57:28Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: /* updates from testing in Amahi 7 / Fedora 19 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As an inexperienced Linux user, I was tripped up by the instructions after completing the configuration.  Where it says: &amp;quot;To test your new mounts, you can execute service mount_shares_locally start&lt;br /&gt;
service mount_shares_locally stop will unmount the local shares.&amp;quot;, I didn't realize that I needed to do that using sudo or as root.  (Especially since it indicates to do other steps as root earlier in the article.)&lt;br /&gt;
&lt;br /&gt;
I'd like to update the article to reflect this, but again, as a somewhat inexperienced user, I figured I should propose it here on the discussion page first.  Any thoughts?&lt;br /&gt;
&lt;br /&gt;
-- Andrew Craze&lt;br /&gt;
&lt;br /&gt;
Page has been updated.&lt;br /&gt;
&lt;br /&gt;
Bigfoot65&lt;br /&gt;
&lt;br /&gt;
== updates from testing in Amahi 7 / Fedora 19 ==&lt;br /&gt;
&lt;br /&gt;
I had to make two changes to get my shares mounted properly in Amahi 7 (rc8):&lt;br /&gt;
- dropbox link to the script hosted at dropbox is wrong - was listed as http://dl.dropbox.com/u/3022105/Amahi/mount_shares_locally but should be http://dl.dropboxusercontent.com/u/3022105/Amahi/mount_shares_locally.  Have updated wiki accordingly.&lt;br /&gt;
&lt;br /&gt;
- it seems that the database tables have changed since the script was written (either during Amahi 7 development or earlier?).  I didn't edit the wiki for this one as I thought it may be Amahi 7 specific. The script line&lt;br /&gt;
&lt;br /&gt;
mysql -u root -phda -e &amp;quot;select comment from shares&amp;quot; hda_production | grep -v &amp;quot;^comment$&amp;quot; | xargs -d &amp;quot;\n&amp;quot; mkdir -p&lt;br /&gt;
&lt;br /&gt;
doesnt work - gives error &amp;quot;Unknown column 'comment' in 'field list'&amp;quot;.  Checking the actual columns it seems the right one is 'name'; I changed the script on my machine to &lt;br /&gt;
&lt;br /&gt;
mysql -u root -phda -e &amp;quot;select name from shares&amp;quot; hda_production | grep -v &amp;quot;^comment$&amp;quot; | xargs -d &amp;quot;\n&amp;quot; mkdir -p&lt;br /&gt;
&lt;br /&gt;
and reran the mount_shares_locally service - now works fine.&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Talk:Mount_Shares_Locally&amp;diff=71924</id>
		<title>Talk:Mount Shares Locally</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Talk:Mount_Shares_Locally&amp;diff=71924"/>
		<updated>2013-07-29T00:56:56Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: /* updates from testing in Amahi 7 / Fedora 19 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As an inexperienced Linux user, I was tripped up by the instructions after completing the configuration.  Where it says: &amp;quot;To test your new mounts, you can execute service mount_shares_locally start&lt;br /&gt;
service mount_shares_locally stop will unmount the local shares.&amp;quot;, I didn't realize that I needed to do that using sudo or as root.  (Especially since it indicates to do other steps as root earlier in the article.)&lt;br /&gt;
&lt;br /&gt;
I'd like to update the article to reflect this, but again, as a somewhat inexperienced user, I figured I should propose it here on the discussion page first.  Any thoughts?&lt;br /&gt;
&lt;br /&gt;
-- Andrew Craze&lt;br /&gt;
&lt;br /&gt;
Page has been updated.&lt;br /&gt;
&lt;br /&gt;
Bigfoot65&lt;br /&gt;
&lt;br /&gt;
== updates from testing in Amahi 7 / Fedora 19 ==&lt;br /&gt;
&lt;br /&gt;
I had to make two changes to get my shares mounted properly in Amahi 7 (rc8):&lt;br /&gt;
- dropbox link to the script hosted at dropbox is wrong - was listed as http://dl.dropbox.com/u/3022105/Amahi/mount_shares_locally but should be http://dl.dropboxusercontent.com/u/3022105/Amahi/mount_shares_locally.  Have updated wiki accordingly.&lt;br /&gt;
&lt;br /&gt;
- it seems that the database tables have changed since the script was written (either during Amahi 7 development or earlier?).  I didn't edit the wiki for this one as I thought it may be Amahi 7 specific. The script line&lt;br /&gt;
&lt;br /&gt;
mysql -u root -phda -e &amp;quot;select comment from shares&amp;quot; hda_production | grep -v &amp;quot;^comment$&amp;quot; | xargs -d &amp;quot;\n&amp;quot; mkdir -p&lt;br /&gt;
&lt;br /&gt;
doesnt work - gives error &amp;quot;Unknown column 'comment' in 'field list'&amp;quot;.  Checking the actual columns it seems the right one is 'name'; I changed the script to &lt;br /&gt;
&lt;br /&gt;
mysql -u root -phda -e &amp;quot;select name from shares&amp;quot; hda_production | grep -v &amp;quot;^comment$&amp;quot; | xargs -d &amp;quot;\n&amp;quot; mkdir -p&lt;br /&gt;
&lt;br /&gt;
and reran the mount_shares_locally service - now works fine.&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Talk:Mount_Shares_Locally&amp;diff=71918</id>
		<title>Talk:Mount Shares Locally</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Talk:Mount_Shares_Locally&amp;diff=71918"/>
		<updated>2013-07-29T00:56:41Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: /* updates from testing in Amahi 7 / Fedora 19 */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As an inexperienced Linux user, I was tripped up by the instructions after completing the configuration.  Where it says: &amp;quot;To test your new mounts, you can execute service mount_shares_locally start&lt;br /&gt;
service mount_shares_locally stop will unmount the local shares.&amp;quot;, I didn't realize that I needed to do that using sudo or as root.  (Especially since it indicates to do other steps as root earlier in the article.)&lt;br /&gt;
&lt;br /&gt;
I'd like to update the article to reflect this, but again, as a somewhat inexperienced user, I figured I should propose it here on the discussion page first.  Any thoughts?&lt;br /&gt;
&lt;br /&gt;
-- Andrew Craze&lt;br /&gt;
&lt;br /&gt;
Page has been updated.&lt;br /&gt;
&lt;br /&gt;
Bigfoot65&lt;br /&gt;
&lt;br /&gt;
== updates from testing in Amahi 7 / Fedora 19 ==&lt;br /&gt;
&lt;br /&gt;
I had to make two changes to get my shares mounted properly in Amahi 7 (rc7):&lt;br /&gt;
- dropbox link to the script hosted at dropbox is wrong - was listed as http://dl.dropbox.com/u/3022105/Amahi/mount_shares_locally but should be http://dl.dropboxusercontent.com/u/3022105/Amahi/mount_shares_locally.  Have updated wiki accordingly.&lt;br /&gt;
&lt;br /&gt;
- it seems that the database tables have changed since the script was written (either during Amahi 7 development or earlier?).  I didn't edit the wiki for this one as I thought it may be Amahi 7 specific. The script line&lt;br /&gt;
&lt;br /&gt;
mysql -u root -phda -e &amp;quot;select comment from shares&amp;quot; hda_production | grep -v &amp;quot;^comment$&amp;quot; | xargs -d &amp;quot;\n&amp;quot; mkdir -p&lt;br /&gt;
&lt;br /&gt;
doesnt work - gives error &amp;quot;Unknown column 'comment' in 'field list'&amp;quot;.  Checking the actual columns it seems the right one is 'name'; I changed the script to &lt;br /&gt;
&lt;br /&gt;
mysql -u root -phda -e &amp;quot;select name from shares&amp;quot; hda_production | grep -v &amp;quot;^comment$&amp;quot; | xargs -d &amp;quot;\n&amp;quot; mkdir -p&lt;br /&gt;
&lt;br /&gt;
and reran the mount_shares_locally service - now works fine.&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Mount_Shares_Locally&amp;diff=71912</id>
		<title>Mount Shares Locally</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Mount_Shares_Locally&amp;diff=71912"/>
		<updated>2013-07-29T00:45:51Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: /* On Fedora */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= #faa|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is recommended only for advanced users, proceed with caution.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt;  Recommend not using copy and paste for the steps below.  It often introduces hidden characters which causes failure in the script.&lt;br /&gt;
&lt;br /&gt;
Mounting your Samba shares locally is useful when you are using Greyhole, and want to write or in any way work with those files locally. Greyhole data should only be accessed through shares, so mounting those shares locally is an easy way to work with Greyhole data safely.&lt;br /&gt;
&lt;br /&gt;
== Download and Setup ==&lt;br /&gt;
&lt;br /&gt;
* As '''root:''' Install the mount_shares_locally initd script:&lt;br /&gt;
=== On Ubuntu ===&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; overflow: scroll&amp;quot;&amp;gt;&lt;br /&gt;
 sudo apt-get install cifs-utils curl&lt;br /&gt;
 sudo curl -o /etc/init.d/mount_shares_locally http://dl.amahi.org/mount_shares_locally&lt;br /&gt;
 sudo chmod +x /etc/init.d/mount_shares_locally&lt;br /&gt;
 sudo update-rc.d mount_shares_locally defaults&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== On Fedora ===&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; overflow: scroll&amp;quot;&amp;gt;&lt;br /&gt;
 curl -o /etc/init.d/mount_shares_locally http://dl.dropboxusercontent.com/u/3022105/Amahi/mount_shares_locally&lt;br /&gt;
 chmod +x /etc/init.d/mount_shares_locally&lt;br /&gt;
 chkconfig --add mount_shares_locally&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
* Edit /etc/init.d/mount_shares_locally (as user root) in a text editor, and replace ''your_username'' (on line 12) with your username. Example '''username=&amp;quot;amahi&amp;quot;'''&lt;br /&gt;
{{Code|Code= nano /etc/init.d/mount_shares_locally}}&lt;br /&gt;
* Create the ''/home/your_username/.smb_credentials'' file. This is a simple text file (use your favorite text editor).&lt;br /&gt;
{{Code|Code= nano /home/YourHDA_username/.smb_credentials}}&lt;br /&gt;
*Enter the following:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 username=your_username&lt;br /&gt;
 password=your_password&lt;br /&gt;
 domain=HOME&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
'''NOTE:'''  your_username and your_password in the .smb_credentials file needs to be the original username and password you created when you installed fedora.&lt;br /&gt;
&lt;br /&gt;
*To test your new mounts, you can execute '''service mount_shares_locally start''' (as root user)&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''service mount_shares_locally stop''' (as root user) will unmount the local shares.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' If you used /etc/rc.local and /etc/fstab to mount shares locally in the past, you can remove what you added in those files now (&amp;lt;u&amp;gt;DO NOT&amp;lt;/u&amp;gt; remove the drive mount lines). The above initd script replaces all this.&lt;br /&gt;
&lt;br /&gt;
== Re-mount to Add new shares ==&lt;br /&gt;
If you added new share to greyhole via the web admin.  This does not automatically mount locally.  You need to restart your mount script by running '''service mount_shares_locally restart'''.  This will unmount and remount all your shares, adding all the new shares you added.&lt;br /&gt;
&lt;br /&gt;
== Where everything is mounted ==&lt;br /&gt;
You will find the mounted shares in ''/mnt/samba/*''&amp;lt;br/&amp;gt;&lt;br /&gt;
For example, your &amp;quot;Pictures&amp;quot; share would be located at '''/mnt/samba/Pictures'''.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt;  When working with files on the HDA, access them via this share and &amp;lt;u&amp;gt;NOT&amp;lt;/u&amp;gt; the traditional /var/hda/files/pictures location.&lt;br /&gt;
&lt;br /&gt;
== Unable to mount locally after upgrading to Amahi6 ==&lt;br /&gt;
If you try to run mount using this script after you upgraded to Amahi6 you might get greeted by this type of error.&lt;br /&gt;
&lt;br /&gt;
 [root@localhost ~]# /etc/init.d/mount_shares_locally start&lt;br /&gt;
 Mounting Samba shares locally: /etc/init.d/mount_shares_locally: line 27: /sbin/mount.cifs: No such file or directory&lt;br /&gt;
 /etc/init.d/mount_shares_locally: line 27: /sbin/mount.cifs: No such file or directory&lt;br /&gt;
 /etc/init.d/mount_shares_locally: line 27: /sbin/mount.cifs: No such file or directory&lt;br /&gt;
 /etc/init.d/mount_shares_locally: line 27: /sbin/mount.cifs: No such file or directory&lt;br /&gt;
 /etc/init.d/mount_shares_locally: line 27: /sbin/mount.cifs: No such file or directory&lt;br /&gt;
 /etc/init.d/mount_shares_locally: line 27: /sbin/mount.cifs: No such file or directory&lt;br /&gt;
 /etc/init.d/mount_shares_locally: line 27: /sbin/mount.cifs: No such file or directory&lt;br /&gt;
                                                           [  OK  ]&lt;br /&gt;
&lt;br /&gt;
It's easily fixed by installing the missing dependency.&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install cifs-utils}}&lt;br /&gt;
&lt;br /&gt;
Now it should work fine to run&lt;br /&gt;
&lt;br /&gt;
{{Code|/etc/init.d/mount_shares_locally start}}&lt;br /&gt;
&lt;br /&gt;
== MySQL Problems With Newer Versions of Greyhole ==&lt;br /&gt;
&lt;br /&gt;
Since Greyhole moved from SQL Lite to MySQL, you may hit a problem where Greyhole and the mount_shares_locally script both attempt to start before MySQL in bootup, leading to the services not starting properly.  If this happens, you can try this to fix it:&lt;br /&gt;
&lt;br /&gt;
{{Code|ls /etc/rc.d/rc3.d/}}&lt;br /&gt;
* Look for any entries marked S-1.  If there are any, they need to be removed.  Run the following as root:&lt;br /&gt;
&lt;br /&gt;
{{Code|rm S-1*}}&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Squeezebox_Server&amp;diff=52676</id>
		<title>Squeezebox Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Squeezebox_Server&amp;diff=52676"/>
		<updated>2012-02-19T12:35:04Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== App Fix for Squeezebox Server Upgrade ==&lt;br /&gt;
[[Category:Apps]]&lt;br /&gt;
Squeezebox Server may not work correctly.  If it shows the error message:&lt;br /&gt;
{{Text|The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.}}&lt;br /&gt;
&lt;br /&gt;
'''The following steps resolve the issue:'''&lt;br /&gt;
&lt;br /&gt;
[[Open_Terminal_as_root|Open terminal]] on the HDA enter the following commands and accept all defaults ('''DO NOT''' copy and paste):&lt;br /&gt;
{{Code|cpan}}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''  At the cpan prompt type &amp;lt;code&amp;gt;force install CGI::Cookie&amp;lt;/code&amp;gt; and followed by &amp;lt;code&amp;gt;quit&amp;lt;/code&amp;gt; when finished.&lt;br /&gt;
&lt;br /&gt;
Start squeezeboxserver:&lt;br /&gt;
{{Code|service squeezeboxserver start}}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''  If you still receive the message above, a restart of the HDA may be required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Playing AAC files on 64 bit installs ==&lt;br /&gt;
Squeezebox server plays AAC files natively, but uses a 32 bit library.  On 64 bit machines you may get an error message on your squeezebox saying&lt;br /&gt;
{{Text|Problem: Can't open file for: [song title]}}&lt;br /&gt;
&lt;br /&gt;
A simple fix for this problem is to install the 32 bit glib package.  [[Open_Terminal_as_root|Open terminal]] on your HDA and enter the following:&lt;br /&gt;
{{Code|yum install glib.i686}} &lt;br /&gt;
Your AAC files should play on successful installation.&lt;br /&gt;
&lt;br /&gt;
(source: [[http://forums.amahi.org/viewtopic.php?f=14&amp;amp;t=2734|this forum post]])&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Squeezebox_Server&amp;diff=52670</id>
		<title>Squeezebox Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Squeezebox_Server&amp;diff=52670"/>
		<updated>2012-02-19T12:34:07Z</updated>

		<summary type="html">&lt;p&gt;Matt Clark: deployed this fix today for my squeezebox server installation, hope it helps someone else&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== App Fix for Squeezebox Server Upgrade ==&lt;br /&gt;
[[Category:Apps]]&lt;br /&gt;
Squeezebox Server may not work correctly.  If it shows the error message:&lt;br /&gt;
{{Text|The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.}}&lt;br /&gt;
&lt;br /&gt;
'''The following steps resolve the issue:'''&lt;br /&gt;
&lt;br /&gt;
[[Open_Terminal_as_root|Open terminal]] on the HDA enter the following commands and accept all defaults ('''DO NOT''' copy and paste):&lt;br /&gt;
{{Code|cpan}}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''  At the cpan prompt type &amp;lt;code&amp;gt;force install CGI::Cookie&amp;lt;/code&amp;gt; and followed by &amp;lt;code&amp;gt;quit&amp;lt;/code&amp;gt; when finished.&lt;br /&gt;
&lt;br /&gt;
Start squeezeboxserver:&lt;br /&gt;
{{Code|service squeezeboxserver start}}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''  If you still receive the message above, a restart of the HDA may be required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Playing AAC files on 64 bit installs ==&lt;br /&gt;
Squeezebox server plays AAC files natively, but uses a 32 bit library.  On 64 bit machines you may get an error message on your squeezebox saying&lt;br /&gt;
{{Error|Problem: Can't open file for: [song title]}}&lt;br /&gt;
&lt;br /&gt;
A simple fix for this problem is to install the 32 bit glib package.  [[Open_Terminal_as_root|Open terminal]] on your HDA and enter the following:&lt;br /&gt;
{{Code|yum install glib.i686}} &lt;br /&gt;
Your AAC files should play on successful installation.&lt;br /&gt;
&lt;br /&gt;
(source: [[http://forums.amahi.org/viewtopic.php?f=14&amp;amp;t=2734|this forum post]])&lt;/div&gt;</summary>
		<author><name>Matt Clark</name></author>
		
	</entry>
</feed>