출처: http://netatalk.sourceforge.net/wiki/index.php/Netatalk_3.0.4_SRPMs_for_Fedora/Scientific_Linux/CentOS
Overview
This page introduces the SRPMs of netatalk.
When the newer official RPM is released on koji site, you will be able to update to official package by using "rpm -U", "yum update" or "rpmbuild".
Download
- netatalk-3.0.5-0.0.1.fc19.src.rpm ≥ Fedora 18
- netatalk-3.0.5-0.0.1.el6.src.rpm EL6 (Scientific Linux 6, CentOS 6, etc.)
BTW, it's said that RHEL7 is based on Fedora 17/18. Fedora's SRPM could be used.
Build
Install the SRPM.
$ rpm -ivh netatalk-3.0.5-NNN.XXX.src.rpm
The following messages don't have a problem.
warning: group hat does not exist - using root warning: user hat does not exist - using root
Build by using "rpmbuild" command.
If "rpmbuild: Command not found" is displayed, execute "yum install rpm-build".
If "error: Failed build dependencies: zzz" is displayed, execute "yum install zzz".
If "make: command not found" is displayed, execute "yum install make".
$ cd ~/rpmbuild/SPECS/ $ rpmbuild -bb netatalk.spec
Install or Upgrade
If you install the netatalk for the first time, use "rpm -i" command.
$ cd ~/rpmbuild/RPMS/YYY/ # rpm -ivh netatalk-3.0.5-NNN.XXX.YYY.rpm
If the old netatalk already been installed, update by "rpm -U" command.
# rpm -Uvh netatalk-3.0.5-NNN.XXX.YYY.rpm
The "XXX" and "YYY" are different according to architecture.
Setting
Edit "/etc/afp.conf".
Ex:
[Global] mac charset = MAC_JAPANESE afpstats = yes [Homes] basedir regex = /home [Test Volume] path = /export/test1 [My Time Machine Volume] path = /export/timemachine time machine = yes vol size limit = 512000
Enabling and Starting
You must run Avahi ahead of Netatalk.
Fedora:
# systemctl enable avahi-daemon # systemctl enable netatalk # systemctl start avahi-daemon # systemctl start netatalk
Scientific Linux and CentOS:
# chkconfig avahi-daemon on # chkconfig netatalk on # service avahi-daemon start # service netatalk start
'Linux' 카테고리의 다른 글
[Ubuntu] 미러를 다음으로 변경 (0) | 2013.12.05 |
---|---|
[All] 모니터링 방법 모음 (0) | 2013.09.11 |
[CentOS] VI Syntax Highlighter 설정을 아름답게 (0) | 2013.07.31 |
[Linux] 사용중인파일중 용량큰것 찾기 (0) | 2013.06.20 |
[BIND] DNS서버의 SRV레코드로 Load Balancing 구성 예제 (0) | 2013.04.17 |