Chinaunix首页 | 论坛 | 博客
  • 博客访问: 61017
  • 博文数量: 38
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 396
  • 用 户 组: 普通用户
  • 注册时间: 2015-07-12 14:46
文章分类

全部博文(38)

文章存档

2016年(11)

2015年(27)

我的朋友
最近访客

分类: 系统运维

2015-08-13 10:41:58

实现linux与windows最简单的文件公开共享。

安装samba

[root@super63 ~]# rpm -ivh /mnt/Packages/samba-3.6.9-164.el6.x86_64.rpm

 

编辑配置文件:

[root@super63 ~]# vim  /etc/samba/smb.conf

 

  security = share

 

    [share]

        comment = Public Stuff

        path = /share

        public = yes

        writable = yes

        printable = no

        write list = +staff

[root@super63 ~]# mkdir /share

 

[root@super63 share]# /etc/init.d/smb reload

 

[root@super63 share]# chmod 777 /share/

 

这样就成功啦。

阅读(396) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~