文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>SMB操作步骤

SMB操作步骤

时间:2009-05-05  来源:60chenliang0

1 查看及安装软件包

[root@rhel4-1 ~]# rpm -qa |grep samba
samba-client-3.0.10-1.4E.9
samba-3.0.10-1.4E.9
system-config-samba-1.2.21-1
samba-common-3.0.10-1.4E.9

2 查看默认配置文件

[global]
   workgroup = MYGROUP
   server string = Samba Server
   log file = /var/log/samba/%m.log
   max log size = 50

   security = user

[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

[public]
   path = /home/public
   public = yes
   only guest = yes
   writable = yes
   printable = no

3 建立samba用户
# adduser c1
# smbpasswd -a c1

4 测试配置文件
# testparm

5 启动samba服务器

# service smb start
相关阅读 更多 +
排行榜 更多 +
大武道最新版

大武道最新版

休闲益智 下载
宝宝巴士手机版(babybus)

宝宝巴士手机版(babybus)

休闲益智 下载
宝宝巴士快乐启蒙游戏

宝宝巴士快乐启蒙游戏

休闲益智 下载