[Ubuntu 16.04] [Memos] install samba
程序员文章站
2022-05-11 17:28:49
...
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]
推荐阅读
-
ubuntu 16.04 desktop + server LTS - pip3 install & uninstall
-
How to Install Grub Customizer in Ubuntu 16.04 LTS
-
How to Install PhantomJS on Ubuntu 16.04
-
How to install pip on Ubuntu 16.04 ?
-
How To Install MySQL on Ubuntu 16.04
-
How To Install MySQL on Ubuntu 16.04
-
How To Install Nginx on Ubuntu 16.04
-
linux Ubuntu16.04系统下安装samba服务器教程
-
2020-10-20 Ubuntu 16.04安装配置Samba服务每个用户可以用自己的用户名和密码登录自己的home目录以及共享特定的目录
-
[Ubuntu 16.04] [Memos] install samba