您的位置:首页 > 其它

ubuntu 配置samba , 与xp共享文件

2011-05-02 14:59 441 查看
1 安装samba

# sudo apt-get insall samba

# sudo apt-get install smbfs

 

2 编辑配置 /etc/samba
/smb.conf

 

[global] 添加 client lanman = yes

 

修改注释 user =  share

 

添加:

     [share]

      path = /home/username/share

      available = yes

      browsealbe = yes

      public = yes

      writable = yes

 

3创建samba帐户

#sudo touch /etc/samba
/smbpasswd

   #sudo smbpasswd -a USERNAME

 

4 本地测试

smbclient -L //localhost/share

 

5 windows xp

输入 //ip/share

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息