popobox折腾记

Published on 2016 - 02 - 17

popobox折腾记

sed -i.bak 's/cloudfront\.debian\.net/ftp\.cn\.debian\.org/g' /etc/apt/sources.list

apt-get update

apt-get install debian-keyring debian-archive-keyring #修复更新的时候key错误

apt-get install ntpdate  #安装ntpdate软件

ntpdate -u ntp.sjtu.edu.cn #同步更新时间

安装TimeMachine 服务

参考书籍

mkidr /mnt/TimeMachine

mkfs.hfsplus -v "TimeMachine" /dev/sda
mount -t hfsplus -o force /dev/sda1 /mnt/TimeMachine
chown -R tm:tm /mnt/TimeMachine

安装配置netatalk服务

apt-get install netatalk
echo "/mnt/TimeMachine \"TimeMachine\" options:tm" >> /etc/netatalk/AppleVolumes.default
service netatalk restart