Forked from mAAdhaTTah/1_netatalk-3-install-on-ubuntu-14.04.sh
Last active
August 31, 2023 21:50
-
-
Save dinigo/321c026fa57f6413adbf to your computer and use it in GitHub Desktop.
Revisions
-
Daniel Iñigo revised this gist
Feb 8, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,7 @@ apt-get install build-essential pkg-config checkinstall git avahi-daemon libavah # libevent cd /usr/local/src wget http://skylink.dl.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-${libevent_version}.tar.gz tar xfv libevent-${libevent_version}.tar.gz cd libevent-${libevent_version} ./configure -
Daniel Iñigo revised this gist
Feb 8, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ # Versions to use libevent_version="2.0.22-stable" netatalk_version="3-1-7" # Install prerequisites: apt-get install build-essential pkg-config checkinstall git avahi-daemon libavahi-client-dev libcrack2-dev libwrap0-dev autotools-dev automake libtool libdb-dev libacl1-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev libtdb-dev -
Daniel Iñigo revised this gist
Feb 8, 2015 . 2 changed files with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ [TimeMachine] path = /store/time-machine time machine = yes valid users = @timemachine This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -68,4 +68,4 @@ echo " sudo usermod -a -G timemachine <username>" echo " Afterwards they can log in the Time Machine" echo " volume with their linux user and password" echo "------------------------------------" echo " CONFIG FILE: /usr/local/etc/afp.conf" -
Daniel Iñigo revised this gist
Feb 8, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -51,7 +51,7 @@ checkinstall \ --fstrans=no # Install time machine configuration cp afp.conf /usr/local/etc/ # Start services service avahi-daemon start -
Daniel I revised this gist
Jan 12, 2015 . 1 changed file with 20 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,29 @@ #!/bin/bash # This script will install the latest stable version of netatalk 3.x and libevent in order # to configure a Time machine volume # Versions to use libevent_version="2.0.22-stable" netatalk_version="3.1.7" # Install prerequisites: apt-get install build-essential pkg-config checkinstall git avahi-daemon libavahi-client-dev libcrack2-dev libwrap0-dev autotools-dev automake libtool libdb-dev libacl1-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev libtdb-dev # libevent cd /usr/local/src wget https://github.com/downloads/libevent/libevent/libevent-${libevent_version}.tar.gz tar xfv libevent-${libevent_version}.tar.gz cd libevent-${libevent_version} ./configure make checkinstall \ --pkgname=libevent-${libevent_version} \ --pkgversion=${libevent_version} \ --backup=no \ --deldoc=yes \ --default --fstrans=no cd ../ # netatalk git clone git://git.code.sf.net/p/netatalk/code netatalk-code cd netatalk-code -
Daniel I revised this gist
Jan 12, 2015 . 4 changed files with 55 additions and 69 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,33 +0,0 @@ This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,36 +0,0 @@ This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ [TimeMachine] path = /store/time-machine time machine = yes valid users = @timemachine This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,51 @@ #!/bin/bash # Versions to use libevent_version="2.0.22-stable" netatalk_version="3.1.7" # netatalk git clone git://git.code.sf.net/p/netatalk/code netatalk-code cd netatalk-code git checkout netatalk-${netatalk_version} ./bootstrap ./configure \ --enable-debian \ --enable-krbV-uam \ --enable-zeroconf \ --enable-krbV-uam \ --enable-tcp-wrappers \ --with-cracklib \ --with-acls \ --with-dbus-sysconf-dir=/etc/dbus-1/system.d \ --with-init-style=debian-sysv \ --with-pam-confdir=/etc/pam.d \ --with-tracker-pkgconfig-version=0.16 make checkinstall \ --pkgname=netatalk \ --pkgversion=${netatalk_version} \ --backup=no \ --deldoc=yes \ --default \ --fstrans=no # Install time machine configuration cp afp.conf /usrl/local/etc/ # Start services service avahi-daemon start service netatalk start # Instruct User echo "************************************" echo "* INSTALLATION COMPLETE *" echo "************************************" echo " To add users to your Time Machine symply" echo " simadd them to the timemachine group by" echo " running the following command as root:" echo " sudo usermod -a -G timemachine <username>" echo " Afterwards they can log in the Time Machine" echo " volume with their linux user and password" echo "------------------------------------" echo " CONFIG FILE: /usr/local/etc/afp.conf" -
Daniel I revised this gist
Jan 10, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
Empty file. -
Daniel I revised this gist
Jan 8, 2015 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,16 +4,16 @@ sudo su # Install prerequisites: apt-get install build-essential pkg-config checkinstall git avahi-daemon libavahi-client-dev libcrack2-dev libwrap0-dev autotools-dev automake libtool libdb-dev libacl1-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev # Build libevent from source: cd /usr/local/src wget https://github.com/downloads/libevent/libevent/libevent-2.0.22-stable.tar.gz tar xfv libevent-2.0.22-stable.tar.gz cd libevent-2.0.22-stable ./configure make checkinstall --pkgname=libevent-2.0.22-stable --pkgversion="$(date +%Y%m%d%H%M)" --backup=no --deldoc=yes --default --fstrans=no cd ../ # Download src: @@ -30,4 +30,4 @@ make checkinstall --pkgname=netatalk --pkgversion="$(date +%Y%m%d%H%M)" --backup=no --deldoc=yes --default --fstrans=no # Config is in /usr/local/etc/afp.conf -
mAAdhaTTah renamed this gist
Aug 17, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
mAAdhaTTah revised this gist
Jun 17, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -28,6 +28,6 @@ make # Build! checkinstall --pkgname=netatalk --pkgversion="$(date +%Y%m%d%H%M)" --backup=no --deldoc=yes --default --fstrans=no # Config is in /usr/local/etc/afp.conf -
mAAdhaTTah revised this gist
Jun 17, 2014 . 1 changed file with 25 additions and 21 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,29 +1,33 @@ # Get root: sudo su # Install prerequisites: apt-get install build-essential pkg-config checkinstall git avahi-daemon libavahi-client-dev libcrack2-dev libwrap0-dev autotools-dev automake libtool libdb-dev libacl1-dev libdb5.1-dev db-util db5.1-util libgcrypt11 libgcrypt11-dev # Build libevent from source: cd /usr/local/src wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz tar xfv libevent-2.0.21-stable.tar.gz cd libevent-2.0.21-stable ./configure make checkinstall --pkgname=libevent-2.0.21-stable --pkgversion="$(date +%Y%m%d%H%M)" --backup=no --deldoc=yes --default --fstrans=no cd ../ # Download src: git clone git://git.code.sf.net/p/netatalk/code netatalk-code cd netatalk-code ./bootstrap # Configure install ./configure --enable-debian --enable-zeroconf --with-cracklib --with-acls --enable-tcp-wrappers --with-init-style=debian make # Build! sudo checkinstall --pkgname=netatalk --pkgversion="$(date +%Y%m%d%H%M)" --backup=no --deldoc=yes --default --fstrans=no # Config is in /usr/local/etc/afp.conf -
mAAdhaTTah revised this gist
Jun 16, 2014 . 2 changed files with 1 addition and 11 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,10 +0,0 @@ This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ Install prerequisites: $ sudo apt-get install build-essential pkg-config checkinstall git avahi-daemon libavahi-client-dev libcrack2-dev libwrap0-dev autotools-dev automake libtool libdb-dev libacl1-dev libdb5.1-dev db-util db5.1-util libgcrypt11 libgcrypt11-dev Build libevent from source: $ cd /usr/local/src -
beshkenadze revised this gist
Sep 3, 2013 . 1 changed file with 10 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ $ tar xvf netatalk-3.0.5.tar.bz2 $ cd netatalk-3.0.5 $ ./configure \ --with-init-style=debian \ --with-cracklib \ --without-libevent \ --with-pam-confdir=/etc/pam.d \ --with-dbus-sysconf-dir=/etc/dbus-1/system.d $ checkinstall --pkgname=netatalk-3.x --pkgversion="$(date +%Y%m%d%H%M)" --backup=no --deldoc=yes --default --fstrans=no -
beshkenadze revised this gist
Sep 3, 2013 . 2 changed files with 9 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,9 +2,16 @@ Install prerequisites: $ sudo apt-get install build-essential pkg-config checkinstall git-core avahi-daemon libavahi-client-dev libcrack2-dev libwrap0-dev autotools-dev automake libtool libdb-dev libacl1-dev libdb5.1-dev db-util db5.1-util libgcrypt11 libgcrypt11-dev Build libevent from source: $ cd /usr/local/src $ wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz $ tar xfv libevent-2.0.21-stable.tar.gz $ cd libevent-2.0.21-stable $ ./configure $ make $ sudo checkinstall --pkgname=libevent-2.0.21-stable --pkgversion="$(date +%Y%m%d%H%M)" --backup=no --deldoc=yes --default --fstrans=no $ cd ../ Download src: $ git clone git://git.code.sf.net/p/netatalk/code netatalk-code $ cd netatalk-code $ sudo ./bootstrap File renamed without changes. -
beshkenadze revised this gist
Jun 25, 2013 . 2 changed files with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.File renamed without changes. -
beshkenadze revised this gist
Jun 25, 2013 . 1 changed file with 36 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,36 @@ ;/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 -
beshkenadze renamed this gist
Jun 25, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
beshkenadze revised this gist
Jun 25, 2013 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,8 +5,8 @@ Install prerequisites: Download src: $ cd /usr/local/src $ git clone git://git.code.sf.net/p/netatalk/code netatalk-code $ cd netatalk-code $ sudo ./bootstrap $ sudo make -
beshkenadze revised this gist
Jun 25, 2013 . No changes.There are no files selected for viewing
-
beshkenadze revised this gist
Jun 25, 2013 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,9 @@ Download src: $ cd /usr/local/src $ git clone git://netatalk.git.sourceforge.net/gitroot/netatalk/netatalk $ cd netatalk $ sudo ./bootstrap $ sudo make Configure install -
beshkenadze revised this gist
Dec 5, 2012 . 1 changed file with 2 additions and 15 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ Install prerequisites: $ sudo apt-get install build-essential pkg-config checkinstall git-core avahi-daemon libavahi-client-dev libcrack2-dev libwrap0-dev autotools-dev automake libtool libdb-dev libacl1-dev libdb5.1-dev db-util db5.1-util libgcrypt11 libgcrypt11-dev Download src: @@ -9,22 +9,9 @@ Download src: $ cd netatalk $ ./bootstrap Configure install $ ./configure --enable-debian --enable-zeroconf --with-cracklib --with-acls --enable-tcp-wrappers --with-init-style=debian Build! -
beshkenadze revised this gist
Dec 5, 2012 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -28,7 +28,6 @@ Configure install Build! $ sudo checkinstall --pkgname=netatalk --pkgversion="$(date +%Y%m%d%H%M)" --backup=no --deldoc=yes --default --fstrans=no Config is in /usr/local/etc/afp.conf -
beshkenadze revised this gist
Dec 5, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Same for libgcrypt: Configure install $ ./configure --enable-debian --enable-zeroconf --with-cracklib --with-acls --with-ldap --enable-tcp-wrappers --with-init-style=debian Build! -
beshkenadze revised this gist
Dec 4, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ Install prerequisites: $ sudo apt-get install build-essential pkg-config checkinstall git-core avahi-daemon libavahi-client-dev libcrack2-dev libwrap0-dev autotools-dev automake libtool libdb-dev Download src: -
beshkenadze revised this gist
Dec 4, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ Install prerequisites: $ sudo apt-get install build-essential pkg-config checkinstall git-core avahi-daemon libavahi-client-dev libcrack2-dev libwrap0-dev autotools-dev automake libtool Download src: -
vena created this gist
Jun 2, 2012 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ Install prerequisites: $ sudo apt-get install build-essential pkg-config checkinstall git-core avahi-daemon libavahi-client-dev Download src: $ cd /usr/local/src $ git clone git://netatalk.git.sourceforge.net/gitroot/netatalk/netatalk $ cd netatalk $ ./bootstrap Find current version of Berkeley DB available $ apt-cache search libdb Mine was 5.1, so I'll install that $ sudo apt-get install libdb5.1-dev db-util db5.1-util Same for libgcrypt: $ apt-cache search libgcrypt $ sudo apt-get install libgcrypt11 libgcrypt11-dev Configure install $ ./configure --with-init-style=debian --with-zeroconf Build! $ make $ sudo checkinstall Config is in /usr/local/etc/afp.conf