Forked from mAAdhaTTah/1_netatalk-3-install-on-ubuntu-14.04.sh
Last active
August 29, 2015 14:15
-
-
Save midwire/34b9402824cf6d2e724d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get root: | |
sudo su | |
# Install prerequisites: | |
apt-get build-dep netatalk | |
apt-get install libcrack2-dev fakeroot libssl-dev | |
# Build netatalk from source | |
apt-get source netatalk | |
cd netatalk* | |
DEB_BUILD_OPTIONS=ssl dpkg-buildpackage -rfakeroot | |
dpkg -i ~/netatalk_2*.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;/usr/local/etc/afp.conf | |
; Netatalk 3.x configuration file | |
; | |
[Global] | |
; Global server settings | |
vol preset = default_for_all_vol | |
hostname = TimeCapsule | |
log file = /var/log/netatalk.log | |
log level = default:info | |
uam list = uams_dhx.so,uams_dhx2.so | |
save password = no | |
disconnect time = 168 | |
dsireadbuf = 96 | |
sleep time = 24 | |
tcprcvbuf = 524288 | |
tcpsndbuf = 524288 | |
dircachesize = 131072 | |
keep sessions = yes | |
mimic model = Xserve | |
[default_for_all_vol] | |
file perm = 0664 | |
directory perm = 0774 | |
;cnid scheme = cbd | |
valid users = @tm | |
[Homes] | |
basedir regex = /home | |
cnid scheme = dbd | |
home name = Home: $u | |
[TimeMachine] | |
path = /home/tm | |
time machine = yes | |
;vol size limit = 953674 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment