Installation usually selected windows ubuntu, it involves network access between the host, the network is configured to: bridge mode
1, install samba
/Etc/samba/smb.config compiled file, modifications [Homes] as follows:
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
2, configure a static IP
View dns: cat /etc/resolv.conf View gateway: route -n
Edit / etc / network / interfaces
a, change the IP address
[aeolus@db network-scripts]$ vi ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=219.136.241.211
NETMASK=255.255.255.128
GATEWAY=219.136.241.254
b, modify gateway
vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=Aaron
GATEWAY=192.168.1.1
c, modify DNS
[Aeolus @ DB etc] $ force resolv.conf
nameserver 202.96.128.68
nameserver 219.136.241.206
d, restart the network configuration
Command: Service Network restart
Or /etc/init.d/network restart
3, IP settings there may be a virtual machine host can not ping
Action: Set the network firewall under the windows of the advanced settings, select "File and Print Sharing" can start rule