Last active
January 27, 2016 20:55
-
-
Save mthierry/154c09a817a1fe2a4773 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install cfdisk | |
# apt-get install cfdisk | |
Install netatalk | |
# apt-get install netatalk | |
# update-rc.d netatalk defaults | |
Format new disk | |
# cfdisk /dev/sdx | |
# mkfs.ext4 /dev/sdx1 | |
# vim /etc/fstab | |
/dev/sdx1 /mnt/data ext4 noexec,defaults 0 0 | |
# mkdir -p /mnt/data | |
# mount -a | |
# mkdir -p /mnt/data/timecapsule | |
Add user | |
# useradd mthierry | |
# usermod -aG users mthierry | |
# chown mthierry:users /mnt/data/timecapsule | |
# chmod 775 /mnt/data/timecapsule | |
Add TimeMachine (http://dae.me/blog/1660/concisest-guide-to-setting-up-time-machine-server-on-ubuntu-server-12-04/): | |
# vim /etc/netatalk/AppleVolumes.default | |
/mnt/data/timecapsule/ "Raspi Time Machine" options:tm allow:mthierry | |
# service netatalk restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment