简单快速搭建samba服务器
来源:互联网 发布:文本聚类算法 编辑:程序博客网 时间:2024/06/06 09:29
平台系统 CentOS6.4 64位。最小化安装。vmware上搭建
1. 安装samba
yum install samba
2. 建立共享目录。
这里在/data/
修改权限
[root@localhost /]# chmod -R 777 data
[root@localhost /]# chown -R nobody.nobody data
3. 修改配置 文件
vim /etc/samba/smb.conf
下边是修改的东东
在GLOBAL区域添加以下内容
[global]
dos charset = GB2312
unix charset = GB2312
display charset = GB2312
directory mask = 0777
force directory mode = 0777
directory security mask = 0777
force directory security mode = 0777
cretae mask = 0777
force create mask = 0777
security mask = 0777
force security mode = 0777
security = share
# passdb backend = tdbsam
[data]
comment=Public Stuff
path=/data
public=yes
writable=yes
保存
4. 启动samba服务
service smb start
5. 设置自启动
chkconfig --level 35 smb on
6. 关闭iptables
service iptables stop
iptables:清除防火墙规则: [确定]
iptables:将链设置为政策 ACCEPT:filter [确定]
iptables:正在卸载模块: [确定]
[root@localhost ~]# chkconfig --level 3 iptables off
6. window连接 \\服务器IP\共享目录名这里是data
成功后,验证是否可以建立文件。
建立映射驱动器
如果不可以尝试重启动一下 linux
- 简单快速搭建samba服务器
- 快速搭建samba服务器
- 快速搭建samba服务器
- samba服务器快速搭建
- 快速搭建samba服务器
- 简单samba服务器搭建
- Samba服务器的简单搭建
- 快速搭建Samba服务器(转)
- 简单的samba服务器的搭建
- ubuntu 下简单搭建 samba 服务器
- 简单几步搭建samba服务器
- centos 5.6 简单搭建samba服务器
- samba快速搭建
- 搭建简易Samba服务器
- Linux Samba服务器搭建
- Ubantu - 搭建Samba服务器
- Samba服务器的搭建
- 搭建Samba服务器
- ViewPager自动播放或者点击按钮切换setCurrentItem方法动画问题
- 内核(2.6.14) + 根文件系统 + Qt4 移植 for S3C2410
- Linux学习历程
- bash: ifconfig: command not found
- MD5withRSA签名 DES加密解密
- 简单快速搭建samba服务器
- 学习OpenCV(四) 改变图像的对比度和亮度——像素变换
- 浮点数存储格式
- callable结合FutureTask的多线程使用(免打扰模式)
- poj1269求两条直线的关系(相交(求交点)---叉乘),平行,共线)
- HDU - 1016 Prime Ring Problem
- linux单网卡多ip
- 快速开启SQLite之旅
- linux下C语言socket网络编程简例