博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助 

天堂あ飞翔

Things do not change; we change...
heavenflying.cublog.cn
关于作者  
     ^V^^V^^V^^V^^V^^V^
     LOVE MY GF FOREVER
     ^V^^V^^V^^V^^V^^V^

我的分类  




connect to the shared folder of the linux
    The  Samba  software  suite is a collection of programs that implements the Server Message Block (commonly abbreviated as SMB) protocol for UNIX systems. This protocol is sometimes also referred to as the Common Internet  File  System  (CIFS).
    We can use the samba tools to shared files between linux and windows. The process of it is easy and the following shell scripts have introduced the process on debian3.1.
    1.install the samba tools with command ( apt-get install samba )
    2.create a linux system user called jack ( useradd jack && passwd jack )
    3.create a samba server user, the user must is a user of the linux system ( smbpasswd jack )
    4.modify the configuration of samba ( vi /etc/samba/smb.conf ), then find the homes field, replace the 'writable = no' with 'writable = yes'
    5.create a folder named 'jack' in the system home directory ( mkdir /home/jack )
    6.modify the file(vi /etc/passwd), and find the jack account to set the home directory.
    7.restart the samba server( /etc/init.d/samba restart)
    8.connect to the shared folder from windows.(\\linux_ip)
    You may map a network drive to the shared folder by right clicking My Computer and set it with the helper of the guide

 发表于: 2008-05-19,修改于: 2008-05-19 12:25
 已浏览184次,有评论0条
推荐 投诉

  网友评论

  发表评论



Copyright © 2001-2006 ChinaUnix.net All Rights Reserved

感谢所有关心和支持过ChinaUnix的朋友们
页面生成时间:4.62079

京ICP证041476号