您的位置:首页 > 运维架构 > Linux

32bit centos-6.7 安装samba服务

2016-04-16 16:35 555 查看
su - root
1.setup

#yum install samba samba-client samba-swap
2.config

vi /etc/samba/smb.conf

[share]
comment = samba share
public = yes
path = /home/feiy/sambahome
writable = yes
browseable = yes
3.mkdir set auth

mkdir -p /home/feiy/sambahome

chmod 777 /home/feiy/sambahome
4.set password for a linux user

smbpassword -a feiy

New SMB password:feiy

Retype new SMB password:feiy
5.restart smb service and access for \\192.168.245.4

service smb restart

\\192.168.245.4
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: