Windows7 和 Unbutu11.10 之间的文件共享配置

DOM对象快速查询手册(CHM版) JS好帮手,DOM对象快速查询手册! 立即下载

原文链接:


Filesharing Between Windows and Ubuntu 11.10 (Oneiric Ocelot)

This short guide shows you how to enable file sharing between Windows and Ubuntu 11.10 machines easily. We have covered a lot on this topic already and this is just a continuation. Our goal today is to have users on either machine access and edit files and folders on the other machine. For all this to work, we’ll be configuring our systems to allow file sharing using the same protocol. For Ubuntu systems, Samba will be used to allow both systems to share files and folders.

 

Objectives:

  • Add Ubuntu systems to Windows Workgroup
  • Configure Windows system to allow file sharing
  • Add Ubuntu users to Samba user database
  • Access files and folders from either system

 

Our first objective is to add Ubuntu systems to Windows’ Workgroup. To find out which workgroup Windows belongs, type the command below:

net config workstation

share_oneiric

 

Take notes of Windows workgroup name and continue below.

 

Next, open the terminal in Ubuntu and type the command below to install ‘Samba Config’

 

share_oneiric_1

 

Then open ‘Dash’ and select ‘Samba’

share_oneiric_2

 

When Samba opens, select ‘Preferences –> Server Settings’

 

share_oneiric_3

 

Then enter the Windows workgroup name here and click ‘OK’

 

share_oneiric_4

 

After that, logon to Windows and in the search box, type ‘Manage advanced sharing settings’

 

share_oneiric_5

 

From there. enable ‘file and printer sharing’ for Home and Work networks.

 

share_oneiric_6

 

When all computers are restarted you should begin to see each machine in the workgroup on all systems that are member of the group.

 

share_oneiric_7

 

Now all you need to do is create shares (resources) on each system to share.

 

Things to remember:

 

  • Make sure the admin account on the Windows machines has password assigned.
  • You must share at least one file or folder on the Windows machine in order to open the Windows shares from Ubuntu. I had a problem when accessing the Windows shares from Ubuntu. It displays error ‘Cannot list shares from server’
  • Add your Ubuntu account to Samba user database in order to access Ubuntu shares from Windows machines.

 

In order to access Ubuntu shares from Ubuntu, you must add your Ubuntu account to Samba user database. To do that, run the command below:

sudo smbpasswd USERNAME -a

share_oneiric_8

 

That’s all it. Now you can go back to each system and begin sharing files. In Ubuntu, open Samba and click ‘Add’ to add shares (folders) so Windows machines can access it.


对于域账号共享模式下的问题解决:
在Ubuntu访问windows network出现domain名称后,弹出错误:Unable to mount location...
解决办法如下:

I've had very good results in mixed network environments (window-ubuntu) with this method:


1) Press alt+F2 >> type gksu gedit /etc/nsswitch.conf


2) Look for this line: hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4


3) Add "wins" so it looks like this: hosts: files mdns4_minimal [NOTFOUND=return] wins dns mdns4


4) Install the "winbind" package: sudo apt-get install winbind (or via software center or synaptic)


5) Reboot or restart your network


重启Ubuntu 之后,一切正常。

多线程采集C#源代码 多线程采集C#源代码 此程序采用vs2005开发,为windows窗体程序,已经具备多线程采集器所需的基本功能! 将源码发出来让那些正在学习.NET的朋友研究,还有很多细节地方让大家自己去完善和扩展。 立即下载

相关推荐

QGroundControl高级配置与自定义功能实战指南

本文深入探讨了QGroundControl(QGC)的高级配置与自定义功能,为无人机开发者、系统集成商和高级用户提供实战指南。内容涵盖从品牌界面定制、自定义MAVLink消息处理,到插件开发与自动化部署的全流程,旨在帮助用户解锁QGC的隐藏潜力,打造专属的行业解决方案。

weixin_29234509的博客 243

Ubuntu读取windows下的共享文件夹 Unable to mount location Failed to retrieve share list from server

解决方法: Ubuntu中修改/etc/hosts 添加一列数据:windows的主机IP地址 + windows的主机名称 即可解决。 原文链接: http://www.ubuntututorials.com/unable-mount-location-failed-retrieve-share-list-server/

yangzhen_0512的博客 8492

一文详解声码器

声码器(Vocoder)是语音信号处理领域的核心技术,其本质是通过“分析 - 参数化 - 合成” 的闭环流程,实现语音的高效编码、转换或生成。它不仅是早期语音通信的关键工具,更是现代 AI 语音技术(如 TTS、语音转换)的核心组件。以下从原理、技术分类、关键模块、应用及发展趋势展开详细解析。

weixin_41413777的博客 1373

ubuntu系统下出现unable to mount挂载失效(实测有效,一次成功)

问题描述 在使用硬盘时,强制方式拔出后产生的后果。 在Windows系统下可以使用,但在ubuntu系统下挂载失效,无法正常使用。 博主遇到实际情况,修改方式如下: 第一步 终端输入如下命令 sudo fdisk -l 显示结果如下: 注意最后一行,设备这里,就是你硬盘所对应的设备名称,我这里是/dev/sdc1 第二步 终端输入如下: sudo apt-get install ntfs-3g 结果如下: 此处表示安装完成 第三步(最容易出错的一步) 这次提前强调一下,很多博主写的时候都很含糊,需

frighting_ing的博客 1万+

Langchain分割方式

【代码】Langchain分割方式。

2900

基于 Datawhale 开源量化投资学习指南(10):基于 LightGBM 的量化选股

通过本篇文章,我们深入探索了如何运用 LightGBM 机器学习模型实现量化选股。首先,我们通过获取股票的历史数据,进行特征工程和标签制作,将选股问题转化为一个分类问题。接着,我们使用 LightGBM 训练模型,并在验证集和测试集中评估了模型的表现。该选股策略的核心在于结合机器学习算法,从历史数据中寻找能够捕捉股票短期涨跌的关键特征,从而为投资者提供辅助决策支持。虽然本文的模型取得了一定的效果,但这只是量化投资领域的一小部分。

不想宅的冷同学 1355

U盘unable to mount的几种情况分析

出现现象: U盘无法挂载 “Unable to mount ntfs” 出现原因: 上次文件没拷完就拔了U盘 解决方法: 列出当前系统下的文件设备 sudo fdisk -l 安装 sudo apt install ntfs-3g 根据自己U盘的文件系统格式选择“ntfsfix”,根据设备名选择“sdd1” sudo ntfsfix /dev/sdd1 然后拔下来再插就ok了 ...

小左的博客 6977

【网络安全】Python代码审计高危函数与安全审计建议

Python 灵活且动态的特性使得开发便捷,但同时也带来了严重安全隐患。如果开发者缺乏安全意识,极易引入命令执行、反序列化漏洞及模板注入漏洞。本文总结了 Python 中常见的高危函数、模块和第三方库,并给出对应的审计建议及其原理解析,供安全研究人员和开发者参考。

等风来 423

ubuntu挂载移动硬盘时提示Unable to mount

sudo apt-get install exfat-fuse exfat-utils 但是,无法安装,更换源也不好用,最后,将硬盘格式更改成NTFS格式。 另附:更新源 sudo gedit /etc/apt/sources.list 阿里云 #添加阿里源 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted...

martinkeith的博客 3475

基于PCL、Open3d、Easy3d 、VTK等常见开源库的QT开发

PCL+QT开发

阁楼 2万+

CloudCompare 多窗口联动显示点云

CloudCompare支持多窗口联动显示多个点云数据,可以用来比对原始点云数据与语义分割后的结果。 一、创建多个视窗 打开CloudCompare后会默认有一个视图,我们要同时打开两个数据就需要再创建一个视图,选择菜单栏里的3D Views,在下拉菜单中点击new,这样就创建了一个新的视图,这时3D Views的下拉菜单中有3D View 1和3D View 2两个视图,然后点击3D Views下拉菜单中的Title,这时在数据展示区就会出现两个并列的窗口。 二、分别加载点云数据 将数据分别拖进两个

zhaoguanhua的博客 2747

SlickGrid 插件开发(1):插件功能总结

前言:在前篇文章中,总结了SlickGrid 的基本方法,SlickGrid其功能扩展主要靠插件技术;这也是体现出作者Melibman 架构设计的优秀之处。本文列出了Master版本提供的插件以外,另外特意列出了在项目中添加的新的插件,供SlickGrid的开发人员参考(目前会在分支版本中提供,并未合并到SlickGrid的主版本中去)。 1. 基本插件列表 插件名称

上步七星 1万+

基于STM32的IMU惯性/姿态解算与多参数上位机可视化实现_资料编号38

本项目实现基于STM32F103C8T6标准库,对姿态/惯性(IMU)传感器姿态解算,通过USB-TTL转串口模块将姿态角/欧拉角、加速度、角速度、磁场、气压、海拔高度、磁力计温度、气压计温度等数据显示在PC端上位机,系统采用可充电锂电池供电。

嵌入式阿齐Archie 1万+

linux挂载windows共享文件夹出错,提示mount error(13): Permission denied

完整的可以工作的命令行: mount -v -t cifs -o username=clouder,password=123456,iocharset=utf8,sec=ntlm //172.28.127.100/share /mnt/windows 还需要注意的是用户所在 domain , 我这里是系统内建用户,否则要加上 domain , 不然也会报权限问题 sec= ...

weixin_30632899的博客 4218

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

华为的C语言编程规范.pdf

华为技术有限公司内部技术规范。本规范制定了编写C语言程序的基本原则、规则和建议。从代码的清晰、简洁、可测试、安全、程序效率、可移植各个方面对C语言编程作出了具体指导。

Linux上mount 挂载windows共享文件权限问题

sudo mount -t cifs -o username="lei" //192.168.1.114/NetworkShare /mnt/leisudo umount /mnt/lei

2万+

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

Intellij IDEA 调试Hadoop 源码

Debug Hadoop source code using an IDE(Intellij Idea) 原文链接:http://www.techbite.in/2013/05/debug-hadoop-source-code-using.html This is my 100th blog post ;-) If you are someone who want

上步七星 6982

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

linux系统常用操作命令

系统信息 arch 显示机器的处理器架构 uname -m 显示机器的处理器架构 uname -r 显示正在使用的内核版本 dmidecode -q 显示硬件系统部件 - (SMBIOS / DMI) hdparm -i /dev/hda 罗列一个磁盘的架构特性 hdparm -tT /dev/sda 在磁盘上执行测试性读取操作 cat /proc/cpuinfo 显示CPU info的信息 ca...

我是“哈哈” 275

Ubuntu 无法mount解决办法

Ubuntu 无法mount解决办法:mount:cannot mount block device //10.0.0.2/ming read-only解决办法:$ sudo apt-get install cifs-utils (或下载下来deb包安装)也可直接用下面方法解决(即mount命令中加入sec=ntlm)mount error(13):Permission ...

weixin_33937499的博客 1266

linux挂载问题解决

1、 挂载光盘 </pre></p><p><pre name="code" class="plain">[root@KEL ~]# mount -t iso9660 /dev/dvdrw /tmp/kel mount: block device /dev/sr0 is write-protected, mounting read-...

anshejd70787的博客 607
上一篇: 可用于多行分数编辑的 Asp.net UserControl (能够实现可多行编辑,并汇总的自定义Grid控件)
下一篇: Ubuntu Server Samba 文件共享配置
besley
博客等级 码龄18年 55粉丝 22原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值