Chinaunix首页 | 论坛 | 博客
  • 博客访问: 565883
  • 博文数量: 213
  • 博客积分: 6789
  • 博客等级: 准将
  • 技术积分: 1947
  • 用 户 组: 普通用户
  • 注册时间: 2009-09-01 17:11
文章分类

全部博文(213)

文章存档

2012年(9)

2011年(62)

2010年(99)

2009年(43)

分类: LINUX

2010-09-27 18:43:44

用XP 访问 linux 共享文档

1. sudo apt-get install samba
2. 改 smb.conf
chechunli@chechunli-desktop:samba $ pwd
/etc/samba
chechunli@chechunli-desktop:samba $ cat smb.conf
[global]
workgroup = LinuxSir
netbios name = LinuxSir05
server string = Linux Samba Server TestServer
security = share

[linuxsir]
path = /opt/linuxsir
writeable = yes
browseable = yes
guest ok = yes

3 mkdir /opl/share
4 重启samba
chechunli@chechunli-desktop:samba $ sudo /etc/init.d/samba stop
 * Stopping Samba daemons                                                                                                                           [ OK ] 
chechunli@chechunli-desktop:samba $ sudo /etc/init.d/samba start
 * Starting Samba daemons           
 
 
 
设置密码:
[global]
workgroup = LinuxSir
netbios name = LinuxSir05
server string = Linux Samba Server TestServer
security = user
[linuxsir]
path = /opt/linuxsir
writeable = yes
browseable = yes
valid users = linuxsir
 
添加user 和 密码
# sudo smbpasswd -a linuxsir
New SMB password:
Retype new SMB password:
 
阅读(1422) | 评论(0) | 转发(0) |
0

上一篇:10.0.4输入法安装

下一篇:emacs cscope

给主人留下些什么吧!~~