首先安装一波 Samba
这个鬼地方啊就直接联网装 十分顺手~~~~~~
不建议本地源 就像Python一样 明明联网顺手一批 我还瞎鼓捣~~
第二
关掉防火墙 都懂 不解释了
代码如下 记得root运行 怕权限不够
systemctl stop firewalld
systemctl disable firewalld
第三
配置一下配置文件 (这里)vim /etc/samba/smb.conf
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = SAMBA
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers &