NetAtalk setup: Difference between revisions
Jump to navigation
Jump to search
imported>Jacob mNo edit summary |
imported>Jacob No edit summary |
||
| Line 2: | Line 2: | ||
Previous [[OpenSSL Certificate Authority]] | Previous [[OpenSSL Certificate Authority]] | ||
<span style="float:right;"> | <span style="float:right;"> | ||
Next [[Poudriere setup]] | |||
</span></p><hr> | </span></p><hr> | ||
| Line 56: | Line 56: | ||
Previous [[OpenSSL Certificate Authority]] | Previous [[OpenSSL Certificate Authority]] | ||
<span style="float:right;"> | <span style="float:right;"> | ||
Next [[Poudriere setup]] | |||
</span></p> | </span></p> | ||
Revision as of 18:58, 28 November 2019
Previous OpenSSL Certificate Authority Next Poudriere setup
The actions required to setup NetAtalk 3.1 on FreeBSD 10.2
Preparations:
Create user(s) and group(s) for AFP and Time Machine shares
# pw groupadd afp # pw groupadd tm # pw groupmod afp -m jac,jacob # pw groupmod tm -m jacob
When using zfs
# zfs create -o compress=lz4 -o mountpoint=/var/data/shares zdata/var/data/shares # zfs set refquota=800G zdata/var/data/shares
Create share points for AFP and Time Machine shares
# mkdir /var/data/shares/{afp,tm}
Adjust access
# chmod 770 /var/data/shares/{afp,tm}
Modify share point ownership
# chgrp afp /var/data/shares/afp # chgrp tm /var/data/shares/tm
Install netltalk
# pkg install netatalk3
Configure
Create /usr/local/etc/afp.conf
Example file
Modify /etc/nssswitch.conf
Change: 'hosts: files dns', to: 'hosts: files dns mdns'
Modify /etc/rc.conf
# Add : dbus_enable="YES" avahi_daemon_enable="YES" netatalk_enabled="YES"
Start the services
# service dbus start # service avahi-daemon start # service netatalk start
Previous OpenSSL Certificate Authority Next Poudriere setup