Toggle navigation
Home
安装部署
Archives
Tags
centos Samba文件共享
2019-05-06 06:51:53
43
0
0
louyj
#安装samba yum -y install samba samba-client #配置 cd /etc/samba/ 备份smb.conf cp smb.conf smb.conf.origin vim smb.conf service smb restart smbpasswd -a root vi /etc/samba/smbusers root = admin xxx bbb ##smb.conf ``` [global] interfaces = lo eth0 eth1 log file = /var/log/samba/log.%m max log size = 50 netbios name = SMBSERVER printcap name = cups security = USER server string = Samba Server Version %v smb passwd file = /etc/samba/smbpasswd username map = /etc/samba/smbusers idmap config * : backend = tdb cups options = raw max connections = 10 [ossdata] admin users = root browseable = No comment = ossdata Directories inherit acls = Yes path = /ossdata/samba read only = No valid users = %S %D%w%S write list = root [printers] browseable = No comment = All Printers create mask = 0600 path = /var/tmp printable = Yes [print$] comment = Printer Drivers create mask = 0664 directory mask = 0775 force group = @printadmin path = /var/lib/samba/drivers write list = @printadmin root ```
Pre:
Ignite安装
Next:
Centos nfs安装
0
likes
43
Weibo
Wechat
Tencent Weibo
QQ Zone
RenRen
Submit
Sign in
to leave a comment.
No Leanote account?
Sign up now.
0
comments
More...
Table of content
No Leanote account? Sign up now.