1. 安装samba
sudo apt-get install samba
2. 修改配置文件
添加如下内容(zbql用户名)
# vim /etc/samba/smb.conf
[zbql]
comment = Public Stuff
path = /share/test
guest ok = Yes
read only = No
3. 创建smb用户并设置密码
# smbpasswd -a zbql
2022-03-26 20:13:47
sudo apt-get install samba
添加如下内容(zbql用户名)
# vim /etc/samba/smb.conf
[zbql]
comment = Public Stuff
path = /share/test
guest ok = Yes
read only = No
# smbpasswd -a zbql
下一篇:数据库的修改表结构