-
-
Save lucasprag/c45ce1ae738440c1a05f to your computer and use it in GitHub Desktop.
Revisions
-
lucasprag revised this gist
Jun 8, 2015 . 1 changed file with 3 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 @@ -18,7 +18,7 @@ nfs.server.mount.require_resv_port = 0 **2)** Then, open `/etc/exports` and add this line, changing the values to match your case: ``` /Users/lucasoliveira -mapall=lucasoliveira:staff 10.0.1.3 ``` **3)** With both files changed time to apply the new settings: @@ -31,9 +31,9 @@ sudo nfsd restart ``` sudo umount /Users sudo mkdir /Users/lucasoliveira sudo /usr/local/etc/init.d/nfs-client start sudo mount 10.0.1.3:/Users/lucasoliveira /Users/lucasoliveira -o async,noatime,actimeo=1,nolock,vers=3,udp ``` You'll notice I'm mounting an especific user's directory instead of the `Users` directory itself, that's because of permissions, I couldn't share the `Users` directory on my behalf. -
haggen revised this gist
May 18, 2015 . 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 @@ -33,7 +33,7 @@ sudo nfsd restart sudo umount /Users sudo mkdir /Users/<your username> sudo /usr/local/etc/init.d/nfs-client start sudo mount <mac's ip address>:/Users/<your username> /Users/<your username> -o async,noatime,actimeo=1,nolock,vers=3,udp ``` You'll notice I'm mounting an especific user's directory instead of the `Users` directory itself, that's because of permissions, I couldn't share the `Users` directory on my behalf. -
haggen revised this gist
May 17, 2015 . 1 changed file with 4 additions and 4 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,25 +9,25 @@ Tested on: Git commit: cb2c3bc ``` **1)** In your Mac, open the file `/etc/nfs.conf` and add this line: ``` nfs.server.mount.require_resv_port = 0 ``` **2)** Then, open `/etc/exports` and add this line, changing the values to match your case: ``` /Users/<your username> -mapall=<your username>:staff <mac's ip address> ``` **3)** With both files changed time to apply the new settings: ``` sudo nfsd restart ``` **4)** Finally, ssh into your boot2docker machine and run: ``` sudo umount /Users -
haggen revised this gist
May 17, 2015 . 1 changed file with 4 additions and 2 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 @@ -3,8 +3,10 @@ Tested on: ``` - Boot2Docker-cli version: v1.6.0 Git commit: 9894ae9 - Boot2Docker-cli version: v1.6.2 Git commit: cb2c3bc ``` In your Mac, open the file `/etc/nfs.conf` and add this line: -
haggen revised this gist
Apr 29, 2015 . 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 @@ -1,6 +1,6 @@ > Get boot2docker working with nfs instead of vboxsf. Tested on: ``` Boot2Docker-cli version: v1.6.0 -
haggen revised this gist
Apr 29, 2015 . 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 @@ -34,6 +34,6 @@ sudo /usr/local/etc/init.d/nfs-client start sudo mount <mac's ip address>:/Users/<your username> /Users/<your username> -o rw,async,noatime ``` You'll notice I'm mounting an especific user's directory instead of the `Users` directory itself, that's because of permissions, I couldn't share the `Users` directory on my behalf. -
haggen revised this gist
Apr 29, 2015 . 1 changed file with 8 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 @@ -1,4 +1,11 @@ > Get boot2docker working with nfs instead of vboxsf. boot2docker version: ``` Boot2Docker-cli version: v1.6.0 Git commit: 9894ae9 ``` In your Mac, open the file `/etc/nfs.conf` and add this line: -
haggen revised this gist
Apr 29, 2015 . 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 @@ -1,4 +1,4 @@ > Get boot2docker (cli version v1.6.0, commit 9894ae9) working with nfs instead of vboxsf. In your Mac, open the file `/etc/nfs.conf` and add this line: -
haggen created this gist
Apr 29, 2015 .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,32 @@ > Get boot2docker working with nfs instead of vboxsf. In your Mac, open the file `/etc/nfs.conf` and add this line: ``` nfs.server.mount.require_resv_port = 0 ``` Then, open `/etc/exports` and add this line, changing the values to match your case: ``` /Users/<your username> -mapall=<your username>:staff <mac's ip address> ``` With both files changed time to apply the new settings: ``` sudo nfsd restart ``` Finally, ssh into your boot2docker machine and run: ``` sudo umount /Users sudo mkdir /Users/<your username> sudo /usr/local/etc/init.d/nfs-client start sudo mount <mac's ip address>:/Users/<your username> /Users/<your username> -o rw,async,noatime ``` You'll notice I'm mountinh an especific user's directory instead of the `Users` directory itself, that's because of permissions, I couldn't share the `Users` directory on my behalf.