-
Notifications
You must be signed in to change notification settings - Fork 100
Installing Netatalk 2 on Alpine Linux
Packages required for bootstrapping the build system:
apk add autoconf automake libtool pkgconfig
Packages required for building:
apk add avahi-dev build-base cups cups-dev gcc libgcrypt-dev openssl-dev
Optional packages:
apk add acl-dev cracklib-dev krb5-dev libtirpc-dev openldap-dev
As of Alpine 3.13.0, BDB is a deprecated package, so building BDB from code is required on Alpine. These are the rough steps:
- Get the latest v5 tarball of BDB, e.g.: v5.3.28
- Extract the tarball
- From the source root, cd to the
build_unix
dir - Run the
../dist/configure
script - Run
make
thenmake install
- Configure netatalk with e.g.:
./configure --with-bdb=/usr/local/BerkeleyDB.5.3
First, bootstrap the autotools build system:
./bootstrap
Second, configure the build system:
./configure --with-bdb=/usr/local/BerkeleyDB.5.3 --enable-gentoo
Or, if you installed all the optional packages:
./configure --with-bdb=/usr/local/BerkeleyDB.5.3 --enable-gentoo --enable-krbV-uam --with-cracklib --
with-libtirpc
Third, compile and link the code:
make
Finally, install the compiled binaries:
make install
Note: netatalk 2.3.2 and earlier has a bug that prevents the openrc init script on more recent Alpine (and Gentoo) systems. Please apply this patch if needed.
By default, the init script will launch afpd and cnid_metad. If you want the AppleTalk service to start up as well, edit your local netatalk.conf
file and set ATALKD_RUN=yes
etc.
One off start/stop of netatalk daemons
rc-service netatalk start
rc-service netatalk stop
Enable and disable startup on system boot
rc-update add netatalk default
rc-update del netatalk default
Resources
- Getting Started
- FAQ
- Troubleshooting
- Connect to AFP Server
- Webmin Module
- Benchmarks
- Interoperability with Samba
OS Specific Guides
- Installing Netatalk on Alpine Linux
- Installing Netatalk on Debian Linux
- Installing Netatalk on Fedora Linux
- Installing Netatalk on FreeBSD
- Installing Netatalk on macOS
- Installing Netatalk on NetBSD
- Installing Netatalk on OmniOS
- Installing Netatalk on OpenBSD
- Installing Netatalk on OpenIndiana
- Installing Netatalk on openSUSE
- Installing Netatalk on Solaris
- Installing Netatalk on Ubuntu
Tech Notes
- Kerberos
- Special Files and Folders
- Spotlight
- MySQL CNID Backend
- Slow AFP read performance
- Limiting Time Machine volumes
- Netatalk and ZFS nbmand property
Retro AFP
Development