Created
February 18, 2012 11:38
-
-
Save peterjmit/1858934 to your computer and use it in GitHub Desktop.
Settings for NFS and host only networking in vbox
This file contains 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
# EXPORTS FILE (OSX) | |
# | |
# /etc/exports | |
# | |
# You can change the directory to wherever | |
# you store your project files | |
/Users/user_name/code -alldirs -mapall=501:501 | |
# EXPORTS FILE (ubuntu 11.04) | |
# | |
# /etc/exports | |
# | |
/home/user_name/code 10.10.4.15(rw,sync) |
This file contains 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
# VBOX FILE | |
# | |
# /etc/fstab: static file system information. | |
# | |
# <file system> <mount point> <type> <options> <dump> <pass> | |
# Mount for apache | |
10.10.4.1:/Users/user_name/code /var/www nfs _netdev,defaults 0 0 | |
This file contains 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
# VBOX FILE | |
# | |
# /etc/network/interfaces | |
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto eth0 | |
iface eth0 inet dhcp | |
auto eth1 | |
iface eth1 inet static | |
address 10.10.4.15 | |
netmask 255.255.255.0 | |
network 10.10.4.0 | |
broadcast 10.10.4.255 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment