1. 在ubuntu中安装samba应用程序
# sudo apt-get install samba smbfs
Note: On ubuntu 14.04 there is not smbfs. (instead is cifs-utils)
# sudo apt-get install samba cifs-utils
2. 在ubuntu中安装samba的图形化配置工具
# sudo apt-get install system-config-samba
3. 图形化配置samba
3.1 启动程序:System --> Administration --> samba
Note: On ubuntu 14.04, we run it directly: sudo system-config-samba
3.2 配置samba用户:Preferences --> Samba Users --> Add user (or edit user) --> set the name and password.
3.3 配置共享目录与权限。
4. 重启samba服务
$ sudo service samba restart
这样就可以通过windows访问ubuntu了。
-----------------------------------------------
关于windows访问多samba用户问题:" net use * /del /y "
http://www.itokit.com/2011/1015/72343.html
本文详细介绍了如何在Ubuntu系统中安装并配置Samba服务,以实现Ubuntu与Windows系统的文件共享。包括安装Samba所需软件、图形化配置步骤、重启服务等关键操作,以及解决多Samba用户访问问题的方法。
1233

被折叠的 条评论
为什么被折叠?



