Windows访问Linux可通过搭建samba服务,共享目录过程:Ubuntu安装sudo apt-get install samba sudo apt-get install smbfs sudo apt-get install smbclient编辑sudo vi /etc/samba/smb.conf修改处:# Change this to the workgroup/NT-domain name your Samba server will part of
doc charset = UTF-8
unix charset = UTF-8
workgroup = WORKGROUP
netbios name = user_name.wingtech.com# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
security = user默认共享的/home/user_name这个文件夹如果要共享/home/share添加如下: [share]
comment = this is linux share directory
path = /home/share
browseable = yes
public = yes
writable = yes注意要将该目录用户名和组名改为user_name sudo chown user_name /home/share sudo chgrp user_name /home/share建立账号sudo smbpasswd -a user_name重启下samba服务:sudo service smbd restart此时可以在windows下访问/home/user_name和/home/share这两个文件夹了可以尝试net use \IP * /user:user_name;提示输入密码,输入密码,提示命令成功完成证明可以共享了。Linux系统中配置informix ISM 备份到磁盘基本配置RedHat关闭SELinux相关资讯 Ubuntu教程
- Ubuntu教程 - 使用Ubuntu拷贝CD和 (12/18/2013 14:38:16)
- 让Ubuntu 12.10支持RAR和7Z文件解 (11/15/2012 18:51:50)
- Windows 7硬盘安装Ubuntu 12.10图 (11/03/2012 19:22:47)
| - 完美安装Ubuntu 12.10最新AMD显卡 (11/27/2012 08:17:47)
- Win 7硬盘安装Ubuntu 12.10 (11/05/2012 13:30:34)
- 虚拟机上Ubuntu 11.10升级到12.04 (10/12/2012 20:00:38)
|
本文评论 查看全部评论 (0)