nbalonso.com

Netatalk 3.1.7 Rpm for CentOS and RHEL 7

| Comments

Once again I have compiled the newest version of Netatalk for linux rhel based distros.

This time two packages, one for rhel version 6 and one for rhel version 7.

Download netatalk-3.1.7-0.1.el7.x86_64.rpm

Download netatalk-3.1.7-0.1.el6.x86_64.rpm

I have only tested the version 7 because my home server is running CentOS 7.

The dependencies for version 7 of the OS are:

1
bash-3.2$ su -c 'yum install dconf libevent libtdb tracker -y'

And the dependencies for version 6 look like:

1
bash-3.2$ su -c 'yum install dbus-python libevent libtdb avahi-libs -y'

Then install the downloaded rpm with:

1
bash-3.2$ su -c 'rpm -ivh netatalk-3.1.7-0.1.el*'

Edit the config file in /etc/netatalk/afp.conf to look something like:

1
2
3
4
5
6
7
8
[Global]
uam list = uams_guest.so
guest account = student
mimic model = Macmini

[Student's AFP share]
path = /home/student
valid users = student guest

And start the service with either

1
bash-3.2$ su -c 'systemctl start netatalk && systemctl enable netatalk'

Or

1
bash-3.2$ su -c 'service netatalk start && chkconfig netatalk on'

Don’t forget to allow ports 548 and 4700 through firewalld

Documentation can be found here

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
bash-3.2$ afpd -v
afpd 3.1.7 - Apple Filing Protocol (AFP) daemon of Netatalk

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version. Please see the file COPYING for further information and details.

afpd has been compiled with support for these features:

          AFP versions:   2.2 3.0 3.1 3.2 3.3 3.4
         CNID backends:   dbd last tdb mysql

              afp.conf:   /etc/netatalk//afp.conf
           extmap.conf:   /etc/netatalk//extmap.conf
       state directory:   /var/netatalk/
    afp_signature.conf:   /var/netatalk/afp_signature.conf
      afp_voluuid.conf:   /var/netatalk/afp_voluuid.conf
       UAM search path:   /usr/lib64/netatalk//
  Server messages path:   /var/netatalk/msg/

Comments