DAAP server is an Apple Inc. proprietary protocol to share media files over the network. DAAP server allows share media files among network connected devices where the central media share repository resides on main server. In this simple tutorial we will be installing and configuring DAAP server share using forked-daapd media server with support for RSP, DAAP, DACP and AirTunes.

In the first step create a media share directory and upload all you media files to this directory. In our example we are going to use /mnt/media directory:
# mkdir /opt/media
Next, install forked-daapd daemon:
# apt-get install forked-daapd

Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.

Once the installation is finished confirm that forked-daapd is running:
# /etc/init.d/forked-daapd status
forked-daapd is running
and you may also want to check on what port is forked-daapd listening. The default socket is
# netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0  *               LISTEN     
tcp        0      0  *               LISTEN     
tcp        0      0    *               LISTEN     
tcp        0      0  *               LISTEN     
tcp        0      0*               LISTEN
At this stage we need to point our new DAAP server to media share location. To do this we open forked-daapd configuration file located at /etc/forked-daapd.conf and update your the following settings:
        name = "My DAAP share"
        directories = { "/mnt/media" }
The above is a minimal configuration you want to perform before you start using your DAAP media server. Once the above configuration setting are in place all waht remains is to restart forked-daapd.
# /etc/init.d/forked-daapd restart
Restarting RSP and DAAP media server: .    main: Forked Media Server Version 0.19gcd taking off
Your DAAP server is now up and running. All what remains is to use DAAP client and connect to DAAP media server. The way how to accomplish this task depends on each particular media client. Below as a screen shot of a Rhytmbox connected to forked-daapd share. DAAP server share and Rhytmbox client
FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in:

Comments and Discussions