Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
netatalk [2019/08/04 14:14]
admin
netatalk [2020/05/09 09:38] (current)
john [Ubuntu 18.04]
Line 1: Line 1:
 ====== Netatalk ====== ====== Netatalk ======
-Netatalk on ubuntu 18.04.+===== Debian 9 ===== 
 +http://netatalk.sourceforge.net/wiki/index.php/Install_Netatalk_3.1.12_on_Debian_9_Stretch
  
-http://netatalk.sourceforge.net/wiki/index.php/Install_Netatalk_3.1.11_on_Ubuntu_18.04_Bionic+=== Install Pre-Reqs ===
  
 <code> <code>
-sudo apt install build-essential libevent-dev libssl-dev libkrb5-dev libpam0g-dev libwrap0-dev libdb-dev libtdb-dev libmysqlclient-dev avahi-daemon libavahi-client-dev libacl1-dev libldap2-dev libcrack2-dev systemtap-sdt-dev libdbus-1-dev libdbus-glib-1-dev libglib2.0-dev libio-socket-inet6-perl tracker libtracker-sparql-1.0-dev libtracker-miner-1.0-dev libgcrypt20-dev+sudo apt install build-essential libevent-dev libssl-dev libgcrypt-dev libkrb5-dev 
 + libpam0g-dev libwrap0-dev libdb-dev libtdb-dev libmariadbclient-dev avahi-daemon 
 + libavahi-client-dev libacl1-dev libldap2-dev libcrack2-dev systemtap-sdt-dev 
 + libdbus-1-dev libdbus-glib-1-dev libglib2.0-dev libio-socket-inet6-perl tracker 
 + libtracker-sparql-1.0-dev libtracker-miner-1.0-dev 
 </code> </code>
  
-Download+=== Download and Decompress ===
-http://prdownloads.sourceforge.net/netatalk/netatalk-3.1.12.tar.gz?download+
  
 +Download {{ ::netatalk-3.1.12.tar.gz }}
 +
 +<code>tar -zxvf netatalk*</code>
 +
 +=== Configure, Build, Install ===
 <code> <code>
-./configure \+./configure \
         --with-init-style=debian-systemd \         --with-init-style=debian-systemd \
         --without-libevent \         --without-libevent \
Line 21: Line 30:
         --with-dbus-daemon=/usr/bin/dbus-daemon \         --with-dbus-daemon=/usr/bin/dbus-daemon \
         --with-dbus-sysconf-dir=/etc/dbus-1/system.d \         --with-dbus-sysconf-dir=/etc/dbus-1/system.d \
-        --with-tracker-pkgconfig-version=2.0+        --with-tracker-pkgconfig-version=1.0
 </code> </code>
  
-<code> +<code>make -j4</code>
-make +
-$ sudo make install +
-</code>+
  
-Edit "/usr/local/etc/afp.conf".+<code>sudo make install</code>
  
 +=== Verify ===
 +<code>/usr/local/sbin/netatalk -V ; /usr/local/sbin/afpd -V</code>
 +
 +=== Edit Configuration File ===
 +<code>sudo nano /usr/local/etc/afp.conf</code>
 <code> <code>
 [Global] [Global]
 +    spotlight = no
  
-[Homes]+[Home]
     basedir regex = /home     basedir regex = /home
  
-[Test Volume+[Data
-    path = /export/test1+    path = /mac/data
  
-[My Time Machine Volume+[Time Machine] 
-    path = /export/timemachine+    path = /mac/timemachine
     time machine = yes     time machine = yes
 </code> </code>
  
-Enable+=== Enable & Start === 
 +<code>sudo systemctl enable --now avahi-daemon ; sudo systemctl enable --now netatalk</code> 
 + 
 +===== Ubuntu 18.04 ===== 
 + 
 +http://netatalk.sourceforge.net/wiki/index.php/Install_Netatalk_3.1.11_on_Ubuntu_18.04_Bionic
  
 <code> <code>
-sudo systemctl enable avahi-daemon +sudo apt install build-essential libevent-dev libssl-dev libkrb5-dev libpam0g-dev \ 
-$ sudo systemctl enable netatalk + libwrap0-dev libdb-dev libtdb-dev libmysqlclient-dev avahi-daemon libavahi-client-dev \ 
-$ sudo systemctl start avahi-daemon + libacl1-dev libldap2-dev libcrack2-dev libcrack2 systemtap-sdt-dev libdbus-1-dev \ 
-$ sudo systemctl start netatalk+ libdbus-glib-1-dev libglib2.0-dev libio-socket-inet6-perl tracker libtracker-sparql-2.0-dev \ 
 + libtracker-miner-2.0-dev libgcrypt20-dev 
 </code> </code>
 +
 +Download {{ :netatalk-3.1.12.tar.gz }}
 +
 +<code>
 +$ ./configure \
 +        --with-init-style=debian-systemd \
 +        --without-libevent \
 +        --without-tdb \
 +        --with-cracklib \
 +        --enable-krbV-uam \
 +        --with-pam-confdir=/etc/pam.d \
 +        --with-dbus-daemon=/usr/bin/dbus-daemon \
 +        --with-dbus-sysconf-dir=/etc/dbus-1/system.d \
 +        --with-tracker-pkgconfig-version=2.0
 +</code>
 +
 +The rest is the same as debian.
 +
netatalk.1564942488.txt.gz · Last modified: 2020/02/21 12:04 (external edit)
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0