-
Notifications
You must be signed in to change notification settings - Fork 100
Installing Netatalk on Ubuntu
netatalk is distributed as a package in Ubuntu. You can use apt
to install it.
Ex. (with root privileges)
apt install netatalk
For building and installing from source yourself, for instance to get a newer version, follow the guides linked here.
Edit /usr/local/etc/afp.conf
.
Ex:
[Global]
[Homes]
basedir regex = /home
[Test Volume]
path = /export/test1
[My Time Machine Volume]
path = /export/timemachine
time machine = yes
It's recommended to enable extended attributes of filesystem. You can
check it by getfattr
and setfattr
commands.
If you use ACL, you shoud check it by getfacl
and setfacl
commands.
If these are disabled, use tune2fs
command or edit /etc/fstab
file.
Ex:
/dev/sdc2 /mountpoint ext4 defaults,user_xattr,acl 0 2
You should check firewall. AFP's port number is 548
. Zeroconf's port
number is 5353
.
The systemd unit file is /lib/systemd/system/netatalk.service
. You
must run Avahi ahead of Netatalk.
$ sudo systemctl enable avahi-daemon
$ sudo systemctl enable netatalk
$ sudo systemctl start avahi-daemon
$ sudo systemctl start netatalk
If you want to use the Spotlight feature, set spotlight = yes
.
Set spotlight = no
for Time Machine's volume.
The mining for sparsebundle is wasteful.
Ex:
[Global]
spotlight = yes
[Homes]
basedir regex = /home
[Test Volume]
path = /export/test1
[My Time Machine Volume]
path = /export/timemachine
time machine = yes
spotlight = no
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