-
-
Save asiellb/9b3736e68f0b9a30e2d3cf4c8b363c91 to your computer and use it in GitHub Desktop.
Revisions
-
betweenbrain revised this gist
Oct 8, 2019 . 1 changed file with 6 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -22,4 +22,9 @@ $ sudo mount -t nfs -o resvport,rw 192.168.1.106:/mnt/nfs /private/nfs ``` $ sudo tmutil setdestination /Volumes/MacBackup ``` ### References * https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-18-04 * https://www.cyberciti.biz/faq/apple-mac-osx-nfs-mount-command-tutorial/ * https://vitux.com/install-nfs-server-and-client-on-ubuntu/ -
betweenbrain revised this gist
Oct 8, 2019 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -9,6 +9,10 @@ $ sudo nano /etc/exports ``` * add something like `/mnt/nfs 192.168.1.101(rw,sync,no_root_check,no_subtree_check)` ``` $ sudo systemctl restart nfs-kernel-server ``` ## Client ``` $ sudo mkdir /private/nfs -
betweenbrain revised this gist
Oct 8, 2019 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,8 +5,9 @@ $ sudo apt install nfs-kernel-server $ sudo mkdir /mnt/nfs -p $ sudo chown nobody:nogroup /mnt/nfs $ sudo chmod 777 /mnt/nfs $ sudo nano /etc/exports ``` * add something like `/mnt/nfs 192.168.1.101(rw,sync,no_root_check,no_subtree_check)` ## Client ``` -
betweenbrain revised this gist
Oct 8, 2019 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -12,5 +12,9 @@ $ sudo chmod 777 /mnt/nfs ``` $ sudo mkdir /private/nfs $ sudo mount -t nfs -o resvport,rw 192.168.1.106:/mnt/nfs /private/nfs ``` * Create disk image using Disk Utilities, mount it. ``` $ sudo tmutil setdestination /Volumes/MacBackup ``` -
betweenbrain revised this gist
Oct 8, 2019 . 1 changed file with 7 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,11 @@ ## Host ``` $ sudo apt update $ sudo apt install nfs-kernel-server $ sudo mkdir /mnt/nfs -p $ sudo chown nobody:nogroup /mnt/nfs $ sudo chmod 777 /mnt/nfs ``` ## Client -
betweenbrain revised this gist
Oct 8, 2019 . 1 changed file with 6 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,14 @@ ## Host `$ sudo apt update` `$ sudo apt install nfs-kernel-server` `$ sudo mkdir /mnt/nfs -p` `$ sudo chown nobody:nogroup /mnt/nfs` `$ sudo chmod 777 /mnt/nfs` ## Client ``` $ sudo mkdir /private/nfs $ sudo mount -t nfs -o resvport,rw 192.168.1.106:/mnt/nfs /private/nfs $ sudo tmutil setdestination /Volumes/MacBackup ``` -
betweenbrain revised this gist
Oct 8, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,4 +8,4 @@ ## Client `$ sudo mkdir /private/nfs` `$ sudo mount -t nfs -o resvport,rw 192.168.1.106:/mnt/nfs /private/nfs` -
betweenbrain created this gist
Oct 8, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ ## Host `$ sudo apt update` `$ sudo apt install nfs-kernel-server` `$ sudo mkdir /mnt/nfs -p` `$ sudo chown nobody:nogroup /mnt/nfs` `$ sudo chmod 777 /mnt/nfs` ## Client `$ sudo mkdir /private/nfs` `$ sudo mount -t nfs -o resvport,rw 192.168.1.106:/media/betweenbrain/wd500/nfs /private/nfs`