1, Windows10 ----> Oracle VM VirtualBox ----> Ubuntu 16.04 ----> Displays : 1280x768 ----> Network : Bridged
2,[https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/]
Ubuntu 的软件源配置文件是 /etc/apt/sources.list
。
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
3,install: sudo apt-get install vim
4,install: sudo apt-get install samba
5,configure: sudo vim /etc/samba/smb.conf
[share]
comment = share folder
path = /home/ding/share
browseable = yes
writeable = yes
public = yes
create mask = 0777
directory mask = 0777
available = yes
6,restart: sudo /etc/init.d/smbd restart
7,ubuntu IP: ifconfig
8,windwos10: "windows"Button + "r"Button => run : \\[Ubuntu IP]