Amarok/Manual/Organization/Collection/RemoteCollections/Ampache
![](/images.userbase/f/f8/Under_construction.png)
Ampache
Amarok is able to play music from an Ampache media server. Ampache needs an Apache server to work.
Ampache Client
Activate the Ampache service using
![](/images.userbase/thumb/8/8a/Remotecollections_ampache_client.png/400px-Remotecollections_ampache_client.png)
Configure the service with the data entered on the server:
![](/images.userbase/thumb/b/bb/Remotecollections_ampache_client1.png/350px-Remotecollections_ampache_client1.png)
Now the Ampache service should appear in
=== Ampache Server ===
On '''Debian'''-based distributions like '''Ubuntu''' you can install '''Ampache''' using {{Input|1=sudo apt-get install ampache}} You need to tell the '''Apache''' server where it can find the '''Ampache''' files. Create the file ''/etc/apache2/conf.d/ampache'' with the following content:<br /> {{Input|1= Alias /music "/usr/share/ampache/www/" <directory />
DirectoryIndex index.php index.html Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all
</directory>
}}
Restart '''Apache''' with the command
{{Input|1=/etc/init.d/apache2 restart}} so you can access '''Ampache'''<nowiki>'s</nowiki> web interface using http://localhost/music/. You get the following page:<br />
<br />
[[File:remotecollections_ampache_installation.png|center|250px]]<br />
<br />
Choose your language and click <menuchoice>Start configuration to configure Ampache. Enter the configuration of your MySQL database:
![](/images.userbase/thumb/e/e5/Remotecollections_ampache_installation1.png/350px-Remotecollections_ampache_installation1.png)
Click to create the user and database. You will get an error message because there is already a configuration file which is empty. Just enter your MySQL configuration again and click and you will get a configuration file as download.
![](/images.userbase/thumb/9/93/Remotecollections_ampache_installation2.png/600px-Remotecollections_ampache_installation2.png)
Save this file to /usr/share/ampache/www/config/ampache.cfg.php and overwrite the existing (empty) configuration. After you clicked you can create the initial account to manage Ampache.
![](/images.userbase/c/c9/Remotecollections_ampache_installation3.png)
Log into your newly created account:
![](/images.userbase/thumb/f/f5/Remotecollections_ampache_login.png/300px-Remotecollections_ampache_login.png)
And you will get the web interface:
![](/images.userbase/thumb/6/6f/Remotecollections_ampache_webinterface.png/300px-Remotecollections_ampache_webinterface.png)
Click on in the on the left to create a new catalog of music.
![](/images.userbase/thumb/0/0b/Remotecollections_ampache_catalog.png/600px-Remotecollections_ampache_catalog.png)
Create a new guest account using :
![](/images.userbase/thumb/3/35/Remotecollections_ampache_createuser.png/400px-Remotecollections_ampache_createuser.png)
Now you need to allow guest access on your server. Open the configuration in /usr/share/ampache/www/config/ampache.cfg.php and remove the ';' character before auto_user = "guest". Restart Apache and the server configuration is finished.