`
v5browser
  • 浏览: 1138932 次
社区版块
存档分类
最新评论

安装samba服务

 
阅读更多

1、安装samba服务

#yum-yinstallsamba

#yum -y install samba-client


2、修改配置文件

vi /etc/samba/smb.conf

[global]
workgroup = LinuxSir
netbios name = work
server string = Linux Samba Server TestServer
security = share

[work]
path = /var/batchpic
writeable = yes
browseable = yes
guest ok = yes


3、在windows下报“没有权限”的解决方式

(1)关掉防火墙

service iptables stop

(2)关闭SELinux

修改/etc/selinux/config文件中的 SELINUX="" 为 disabled ,然后重启。
  如果不想重启系统,使用命令setenforce 0




分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics