'''Amarok''' is able to play music from an '''Ampache''' media server. '''Ampache''' needs an '''Apache''' server to work.
<!--T:2-->
'''Amarok''' is able to play music from an '''Ampache''' media server. If you want to install a server, see [https://github.com/ampache/ampache/wiki/Installation here] for more information.
=== Ampache Client ===
===== Ampache Client ===== <!--T:3-->
Activate the '''Ampache''' service using <menuchoice>Settings -> Configure Amarok... -> Internet Services</menuchoice>.<br />
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/"
<!--T:15-->
<directory />
Activate the '''Ampache''' service using <menuchoice>Settings -> Configure Amarok -> Plugins</menuchoice>. Click on the {{Icon|configure}} icon to open the configuration dialog.
{{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 />
<!--T:5-->
<br />
Configure the service with the data entered on the server:
Choose your language and click <menuchoice>Start configuration</menuchoice> to configure '''Ampache'''. Enter the configuration of your '''MySQL''' database:<br />
Now the '''Ampache''' service should appear in <menuchoice>Media Sources -> Internet</menuchoice>.
Click <menuchoice>Insert Database</menuchoice> 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 <menuchoice>Write Config</menuchoice> and you will get a configuration file as download.<br />
Save this file to ''/usr/share/ampache/www/config/ampache.cfg.php'' and overwrite the existing (empty) configuration. After you clicked <menuchoice>Continue to Step 3</menuchoice> you can create the initial account to manage '''Ampache'''.<br />
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.