标签:print lob ack style options system start 关闭 oba
1.安装centos 7
2.使用root登陆系统,更新系统及所有软件按到最新
yum update -y && reboot
3.安装vim、samba
yum install vim samba -y
4.配置文件在/etc/samba/smb.conf
[global] workgroup = SAMBA security = user map to guest = Bad User #新增 passdb backend = tdbsam printing = cups printcap name = cups load printers = yes cups options = raw [public] #新增 path = /public #新增,共享目录 writeable = yes #新增 browseable = yes #新增 public = yes #新增
5.关闭防火墙
systemctl stop firewalld setenforce 0
6.新建共享目录
mkdir /public chmod 777 /public
7.启动samba
systemctl start smb
标签:print lob ack style options system start 关闭 oba
原文地址:https://www.cnblogs.com/hfyn/p/14001276.html