
shares_list : - Įxecuting vagrant up in repository directory will create and automatically configure all boxes from Vagrantfile. # In such case only "Time Machine" volume will be configured. # shares_list block can be commented out ( together with below folders ). You can change the directory name you like. netatalk: Apple Filing Protocol service netatalk-dbgsym: debug symbols for netatalk. Extract source deb package Make a directory to build it. # Make permission/ownership change to be able to write to those folders as any other user. netatalk package : Ubuntu The package consists of below three files. hosts : all user : vagrant # User to access your machine over ssh that has sudo permittions sudo : yes vars : # Netatalk version and source location path netatalk_version : netatalk-3.0.6 source_location : /usr/local/src # Dirs below will be created as user running this playbook. On OSX: Compile from source ( sshpass is not available in brew)Īdd your target system ip ( 127.0.0.1 for self provisioning ) to ansible_hosts as folling: ansible_hostsġ 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Thread: Netatalk-admins Question about the Install Netatalk 3.1.7 on Ubuntu 14. On Debian Based system: ~] apt-get -y install sshpass On RedHat based system: ~]# yum -y install sshpass In addition the ssh user need to have sudo privileges on the target system, as some task will require root privileges.įor testing purposes passwordless sudo access can be configured on target system if not available:Īdd the below line to /etc/sudoers your_username ALL=(ALL) NOPASSWD:ALL This playbook implies that “ssh user” will also be the owner of the AFP shares. To be able to install and configure netatalk we will need to have ssh access to the target Linux system ( “localhost” in case we are doing self provisioning ). If you just want to test the setup with Vagrant – jump to Vagrant section. Get netatalk-ansible playbook from github: git clone cd netatalk-ansible We need new version of Ansible to perform the installation.

Installing Requirements and Getting the source
#NETATALK FOR UBUNTU HOW TO#
This article shows how to use Ansible playbook to compile, install and configure Netatalk on your machine or test latest version of Netatalk using Vagrant and VirtualBox for different Linux Distributions.

#NETATALK FOR UBUNTU MAC OS X#
Unfortunately the latest binary version available for Ubuntu 12.04 is netatalk 2.2.1 from netatalk 2.X branch.Īs a result I came to do a little Ansible playbook that installs Netatalk 3.0.6 automatically. Pour les personnes utilisant Ubuntu et voulant partager leurs données (ou accéder) avec des utilisateurs de Mac Os 9.x ou inférieur (ceux qui utilisent Mac Os X peuvent utiliser les partages samba, ou donner laccès via FTP, SFTP.) doivent installer netatalk.Cest le Samba pour les machines Apple. Recently I wanted to test latest version of netatalk 3.0 on my Ubuntu Box.
