Tag: netatalk

FreeBSD: iTunes media server using forked-daapd

forked-daapd allows you to set up an iTunes Media server that hosts all music, podcasts and audiobooks and shows up in iTunes like a shared library. While other daapd implementations don't work anymore with the current iTunes versions, forked-daapd does. Installation forked-daapd does not provide packages for FreeBSD but luckily there's an installer script, that works relatively good for the basic installation. First, we need to install build dependencies: pkg install git-lite sudo Now we can clone the forked-daapd repository from github: git clone https://github.com/ejurgensen/forked-daapd.git The installation script can be found in scripts/ so we...

FreeBSD: Time Machine backup server with netatalk

While building my new NAS, I came across the question how to provide a Time Machine backup solution for my OS X clients. As I run OS X on all my machines I want to back up all data to my NAS. netatalk allows to create file shares for OS X to provide a simple solution for system backups. Kernel options tuning Like you would do when setting up a Samba file server on FreeBSD, there are some kernel settings that should be tweaked to allow more files to be opened at once. Edit /etc/sysctl.conf and add the...

Building a FreeBSD NAS Part 4: Service deployment

In Part 3 of this series I described how to install FreeBSD and set it up properly. Now that the base system setup is complete, we can start providing services... 1. Fileserver with Samba The first and obvious service would be a fileserver. Samba provides a cross platform compatible way of accessing files using the SMB network filesystem debuted in Windows. I created a jail using this commands: ezjail-admin create fileserver 10.0.0.21 ezjail-admin start fileserver I also had to set the time zone manually within the jail using ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime...