![]() Valid users = USERNAME1 USERNAME2 USERNAME3Īdapt the configuration parameters to your system: Spotlight: yes Step 5: netatalk configuration file sudo vi /usr/local/etc/afp.conf If successful, check that Spotlight is enabled, the configure output should display something like that: AFP: configure -with-init-style=debian-systemd -with-zeroconf -with-cracklib -with-tracker-pkgconfig-version=2.0 Despite I have tracker 2.0.2 I typed 2.0 for the config version parameter as Spotlight was not enabled if 2.0.2 was set. Change the tracker version for with-tracker-pkgconfig-version according to what you have installed on your system.I chose debian-systemd for my with-init-style parameter, adapt the parameter to your own system (see netatalk manual).Then we will prepare the makefile with spotlight enabled: Unzip it and cd to the directory, e.g.: tar xvf netatalk-3.1.11.tar.gz Tracker-miner-fs/artful,now 2.0.2-1 amd64 Step 4: netatalkĭownload the latest version of netatalk from. Tracker-extract/artful,now 2.0.2-1 amd64 You do need extract, sparql and miner and the dev versions as they are required for compiling netatalk. Here is what I have installed but, same as for avahi, I suspect that some of those packages are not required. If you want Spotlight support you have to install tracker libraries too. sudo apt-get install build-essential libevent-dev libssl-dev libgcrypt11-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 Step 3: dependencies, bis Pulseaudio/artful-updates,now 1:10.0-2ubuntu3.1 amd64 Step 2: dependencies ![]() Network-manager/artful,now 1.8.4-1ubuntu3 amd64 Libavahi-glib1/artful,now 0.6.32-1ubuntu1 amd64 Libavahi-core7/artful,now 0.6.32-1ubuntu1 amd64 Libavahi-common3/artful,now 0.6.32-1ubuntu1 amd64 Libavahi-common-dev/artful,now 0.6.32-1ubuntu1 amd64 Libavahi-common-data/artful,now 0.6.32-1ubuntu1 amd64 Libavahi-client3/artful,now 0.6.32-1ubuntu1 amd64 ![]() ![]() Libavahi-client-dev/artful,now 0.6.32-1ubuntu1 amd64 Gnome-user-share/artful,now 3.14.2-2ubuntu5 amd64 However, do note that I may have installed a bit too much, as I had installed avahi prior to configuring netatalk, for Ampache: avahi-autoipd/artful,now 0.6.32-1ubuntu1 amd64 Īvahi-daemon/artful,now 0.6.32-1ubuntu1 amd64 Īvahi-utils/artful,now 0.6.32-1ubuntu1 amd64 Here is the list of avahi packages I have installed on my system. So, we will have to download the latest version from, configure it, compile it and install it. You really want the latest version of netatalk if you want to enable support of Time Capsule and Spotlight, not even mentioning performances. You could do that in many ways:įor some reasons, it seems most distributions, at least it is the case for Debian and Ubuntu, have a very old version of netatalk (2.2.6 on Ubuntu!). That would be nice to have access from your mac to these files. Open the Time Machine settings in System Preferences and use “Select Disk…” to pick your newly created Time Machine backup share.You have a Mac computer and a Linux box that you use as a backup server, home theatre, or whatever. Now, you should be able to use this network share with your Mac. The final step is to restart the netatalk service: sudo service netatalk restart Sudo chown nobody:nogroup /mnt/timemachine Now edit netatalk config: sudo vi /etc/netatalk/afp.confĪdd this (you may change the path to your liking): Ĭreate the directory (please, match the path in the last step if you need to mount a partition do it after the first row) sudo mkdir -p /mnt/timemachine It is compatible with Apple MacOS X Bonjour / Zeroconf. Avahi enables you to use service discovery on a local network via the mDNS/DNS-SD protocol suite. Netatalk is a Open Source AFP (Apple Filing Protocol) fileserver. We also recommend you to use one drive for the boot and another for the backup data.įirst install Netatalk and Avahi: sudo apt install netatalk avahi-daemon We assume you have your Ubuntu in a working condition. We use Ubuntu server distro for this but you should be able do this on your desktop as well. This article describes how to create a Time Capsule replacement for Apple Time Machine Backups using any Ubuntu 20.04 running computer.
0 Comments
Leave a Reply. |