CentOS8 netatalkのインストール
コンパイルに必要なパッケージをインストール
# yum install gcc make # yum install libgcrypt-devel libdb-devel
# cd /usr/local/src/ # wget http://sourceforge.net/projects/netatalk/files/netatalk/3.1.12/netatalk-3.1.12.tar.gz # tar zvxf netatalk-3.1.12.tar.gz # cd netatalk-3.1.12 # ./configure --with-init-style=redhat-systemd ※systemdに組み込む # make # make install
設定ファイル
# vi /usr/local/etc/afp.conf [Global] vol preset = default_for_all_volumes log file = /var/log/netatalk.log [default_for_all_volumes] file perm = 0600 directory perm = 0700 [TimeMachine] path=/mnt/storage-1/TimeMachine time machine=yes
起動設定
# systemctl enable netatalk.service # systemctl start netatalk.service