![]() ![]() Next is to turn everything on and make sure they stay on after a x86_64]$ sudo chkconfig netatalk x86_64]$ sudo chkconfig avahi-daemon x86_64]$ sudo service avahi-daemon x86_64]$ sudo service netatalk start That completes the basic installation for the service. I prefer to use Apple’s server icon for servers, but you can choose any of the these options: Macmini, iMac, MacPro, Xserve, MacBook, MacBookPro or MacBookAir One thing to note is that I use Xserve as the model. Next we need to edit the avahi services directory to allow AFP to show up with x86_64]$ sudo vi /etc/avahi/services/rvice Reload iptables so the changes take x86_64]$ sudo service iptables restart A INPUT -m state –state NEW -m tcp -p tcp –dport 548 -j ACCEPT First we need to add the AFP port to x86_64]$ sudo vi /etc/sysconfig/iptablesĪfter the line that accepts the SSH port add: So there’s a couple of files that still need to be tweaked. The default settings should be sufficient to test whether netatalk is working correctly or not, but part of making AFP, AFP is it shows up in the finder side bar. This should have created a directory /etc/netatalk and a service in /etc/init.d/ called netatalk. This part is pretty easy as it’s only one x86_64]$ sudo rpm -ivh netatalk-2.2.86_64.rpm If all went well when you ls in this directory you should see two RPMS. Next is to begin building the ~]$ rpm -ivh ~]$ cd SPECS]$ rpmbuild -ba SPECS]$ cd. So we need to find sources for Fedora 15 and ~]$ wget CentOS 6 still uses the older version instead of the newer one. This version uses systemctl instead of init.d for loading and unloading services. However the only source file they have is for el6 which is Red Hat Enterprise Linux version 6. The newest version, as of this writing, is 2.2.2. Next we need to download the netatalk source file. If it gives you an error message just delete both ‘ and readd them in the command line. Next we’ll create the RPM build ~]$ mkdir -p ~]$ echo ‘%_topdir %(echo $HOME)/rpmbuild’ > ~/.rpmmacrosĮDIT: Sometimes the second line fails if you do a direct copy and paste. Next we will install the required dependencies to build the ~]$ sudo yum install -devel libtool avahi rpm-build The Cent team highly recommends that you install all software through RPMs instead of source installs for optimal ~]$ sudo useradd -u 10000 -M -s /sbin/nologin mockbuild The first step is to create another user called mockbuild. Also I will assume that you have a user besides root, who will be referred to as bob from now on, that is in the sudoers file. To begin I am going to assume that you have Cent installed and updated. This entire guide assumes that no GUI has been installed and all commands will be given through the CLI. ![]() Adding other file shares or time machine disks are easy and other existing guides cover those topics just fine. This guide is designed for someone of novice skill level to take a fresh install of Cent and get AFP home directories working. Either they are not current for the existing software or they are for different platforms of Linux. There’s plenty of other guides out there, but unfortunately they all have existing problems. This is a guide on how to install Netatalk 2.2.0 onto CentOS 6.2. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |