centos 设置smb共享目录文件夹方法
来源:互联网 发布:无间行者 知乎 编辑:程序博客网 时间:2024/06/04 23:20
1:安装 samba
yum install samba
2:修改conf 配置文件
[global]
workgroup = MYGROUP
server string = Samba Server Version %v
log file= /var/log/samba/%m.log
hosts allow = 127. 192.168.1.
# logs split per machine
# max 50KB per log file, then rotate
security = share
passdb backend = tdbsam
# the login script name depends on the machine name
# the login script name depends on the unix user used
# disables profiles support by specifing an empty path
load printers = yes
cups options = raw
#obtain list of printers automatically on SystemV
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[beyond]
#共享描述
comment = Public share with beyond file
#设置访问目录,目录要存在
path = /data/video_store
public = yes
readonly = yes
此项工作完成后即可通过 ip \\192.168.1.X 进行访问了。
备注如果访问时提示 “XX 无法访问 XXX 权限” 可能是由于 selinux 造成的 可进行关闭;
/usr/sbin/setenforce 0
最后启动服务:
/etc/init.d/smb start
关闭后即可正常访问了、
- centos 设置smb共享目录文件夹方法
- centos 设置共享目录文件夹方法
- smb 共享文件夹设置
- CentOS smb 共享设置
- CentOS设置共享文件夹
- smb共享文件夹
- virtualbox CentOs设置共享文件夹
- Ubuntu 下访问 Windows 网络共享文件夹的方法smb
- ubuntu 安装smb共享文件夹
- ubuntu 安装smb共享文件夹
- Ubuntu 安装smb共享文件夹
- ubuntu 安装smb共享文件夹
- ubuntu安装smb共享文件夹
- centos 6.3 如何修改/etc/samba/smb.conf 文件设置多个共享文件夹,一些是公开的,一些是需要认证的
- VMWare CentOS中安装设置共享文件夹
- centos 与win7 设置共享文件夹
- Linux SMB共享设置流程
- 让Vagrant在Windwos下支持使用NFS/SMB共享文件夹从而解决目录共享IO缓慢的问题
- html
- Java单例模式
- 利用NVM(Non-Volatile Memory)实现新型数据库系统
- java多线程下如何调用一个共同的内存单元(调用同一个对象)
- mycat 取模分片,ER分片
- centos 设置smb共享目录文件夹方法
- Thymeleaf如何兼容jsp
- Android TextView 背景斜线
- Python 之 日志logging
- Python面向对象习题
- HDU 5738 Eureka
- 外企生存之道
- 配置mysql5.5主从服务器(转)
- 多重背包的简单问题 POJ2392