Set ubuntu as Mac AFP&TimeMachine server with netatalk 3.05

准备使用netatalk在Ubuntu Server上搭建支持TimeMachine备份的文件服务器,查了一下netatalk新的版本已经不需要avahi了,不过apt-get获取的netatalk还是老版本的,so,下载源码编译安装

首先安装依赖

sudo apt-get install libssl-dev libgcrypt11-dev libkrb5-dev \
    libpam0g-dev libwrap0-dev libdb-dev libavahi-client-dev \
    libacl1-dev libldap2-dev libcrack2-dev systemtap-sdt-dev \
    libdbus-1-dev libdbus-glib-1-dev libglib2.0-dev libevent-dev

下载解压netatalk3.0.5源码

wget http://softlayer-dal.dl.sourceforge.net/project/netatalk/netatalk/3.0.5/netatalk-3.0.5.tar.bz2
tar xvf netatalk-3.0.5.tar.bz2 
cd netatalk-3.0.5/

Read More