在虚拟机下安装的Ubuntu,运行后无法联网,经过正同的调整可以正常上网。
#使用命令:
sudo vim /etc/network/interface
#下面是从dhcp中自动获取连接
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
Ubuntu14.04配置SMBA很简单
sudo apt-get install smba
vim /etc/samba/smb.conf
插入下面几条内容
[share]
comment = Ubuntu File Server Share
path = /share 文件夹, 自己再单独设置权限吧
browsable = yes
guest ok = yes
read only = no
create mask = 0755
重启smba
sudo service samba restart