Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Settings for NFS and host only networking in vbox
# 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)
# 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
# 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