samba.md

概述

安装

ubuntu smb 服务

语法:https://www.cnblogs.com/fatt/p/5856892.html

1
2
3
apt install samba samba-common
chmod 777 /opt/xiaoy-share
nano /etc/samba/smb.conf
1
2
3
4
5
6
7
8
9
10
11
# 示例 共享 /opt/xiaoy-share 允许匿名访问 , 加到底部即可
[share]
path = /opt/xiaoy-share
public = yes
read only = no
guest ok = Yes
create mask = 0644
force create mode = 0644
directory mask = 0755
force directory mode = 0755
available = yes

ubuntu debian smb 客户端

smb://${DOMAIN}:${PORT} port 可以默认不填


samba.md
https://abrance.github.io/2024/04/30/domain/linux/samba/
Author
xiaoy
Posted on
April 30, 2024
Licensed under