Move Files from Ubuntu to Windows 7 (Ubuntu和windows文件共享方法)

2024-04-04 07:38

本文主要是介绍Move Files from Ubuntu to Windows 7 (Ubuntu和windows文件共享方法),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

The newest Unbuntu system is Version 11.10 until 2012-3-2.Sometimes, you want to move files from your VirtualBox’s virtual machines to a Windows 7 host or vice versa, but how?  It’s simple really!  There are couple ways of doing it, but I prefer to keep it simple.  The steps are below:

 

Note: My Computer: Host is Windows 7 and the Vitual machine is Unbutun 11.10.

 

1. Install the additional package (安装增强功能包)

    Start your VirtualBox's Unbuntu 11.10 virtual machine, and click the "安装增强功能" in the virtual box's titile bar as shown in Figure 1:

Figure 1. The Additional Package in the Ubuntu 11.10 VirutalBOx

 

2. Restart you virutal machine and the additional package (VBoxLinuxAdditions) will be installed as shown in the desktop or in the left bar of your system as shown below in Figure 2:

Figure 2. The VBoxLinuxAdditions package when installing successfully

 

3. Now begin to build the share a folder in the Windows 7 host. Just create one share folder in your Windows 7 operating system and then set it a shared file. For example, I will create one shared file named Linux_share in the D disk as shown in Figure 3.

Figure 3. The shared fodler in the path of D:\VirtualBox, and named Linux_share

 

4. Enter your Ubuntu Sysem again and set up the shared space, in other words, point to the path of your Windows shared folder. The screenshot is presented in Figure 4 and 5.

                                           

  Figure 4. Add the Additinal Package from Figure 3                Figure 5. Successfully add the data space

 

5. Open the terminal in your ubuntu system,  first create one folder to transfer the files to Windows and then mount the folder in the command line:

sudo mount -t vboxsf Linux_share /home/tianliang/Windows_Share


Figure 6. The command line for mount the share folder In the Windows System

 

6. Now you can test that you can transfer your file from virtual box to Windows host or vice versa as shown in Figure 7.

                   

 

Figure 7. The file in Ubuntu can be seen in Windows 7 host

 

7. The set up process has finished, you can have a try.

 

Note: 构建文件共享的过程中可能需要多次重启虚拟机,耐心配置!

这篇关于Move Files from Ubuntu to Windows 7 (Ubuntu和windows文件共享方法)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/875189

相关文章

Java中将异步调用转为同步的五种实现方法

《Java中将异步调用转为同步的五种实现方法》本文介绍了将异步调用转为同步阻塞模式的五种方法:wait/notify、ReentrantLock+Condition、Future、CountDownL... 目录异步与同步的核心区别方法一:使用wait/notify + synchronized代码示例关键

Python使用Pandas对比两列数据取最大值的五种方法

《Python使用Pandas对比两列数据取最大值的五种方法》本文主要介绍使用Pandas对比两列数据取最大值的五种方法,包括使用max方法、apply方法结合lambda函数、函数、clip方法、w... 目录引言一、使用max方法二、使用apply方法结合lambda函数三、使用np.maximum函数

Qt 中集成mqtt协议的使用方法

《Qt中集成mqtt协议的使用方法》文章介绍了如何在工程中引入qmqtt库,并通过声明一个单例类来暴露订阅到的主题数据,本文通过实例代码给大家介绍的非常详细,感兴趣的朋友一起看看吧... 目录一,引入qmqtt 库二,使用一,引入qmqtt 库我是将整个头文件/源文件都添加到了工程中进行编译,这样 跨平台

Nginx设置连接超时并进行测试的方法步骤

《Nginx设置连接超时并进行测试的方法步骤》在高并发场景下,如果客户端与服务器的连接长时间未响应,会占用大量的系统资源,影响其他正常请求的处理效率,为了解决这个问题,可以通过设置Nginx的连接... 目录设置连接超时目的操作步骤测试连接超时测试方法:总结:设置连接超时目的设置客户端与服务器之间的连接

Java判断多个时间段是否重合的方法小结

《Java判断多个时间段是否重合的方法小结》这篇文章主要为大家详细介绍了Java中判断多个时间段是否重合的方法,文中的示例代码讲解详细,感兴趣的小伙伴可以跟随小编一起学习一下... 目录判断多个时间段是否有间隔判断时间段集合是否与某时间段重合判断多个时间段是否有间隔实体类内容public class D

Python使用国内镜像加速pip安装的方法讲解

《Python使用国内镜像加速pip安装的方法讲解》在Python开发中,pip是一个非常重要的工具,用于安装和管理Python的第三方库,然而,在国内使用pip安装依赖时,往往会因为网络问题而导致速... 目录一、pip 工具简介1. 什么是 pip?2. 什么是 -i 参数?二、国内镜像源的选择三、如何

IDEA编译报错“java: 常量字符串过长”的原因及解决方法

《IDEA编译报错“java:常量字符串过长”的原因及解决方法》今天在开发过程中,由于尝试将一个文件的Base64字符串设置为常量,结果导致IDEA编译的时候出现了如下报错java:常量字符串过长,... 目录一、问题描述二、问题原因2.1 理论角度2.2 源码角度三、解决方案解决方案①:StringBui

Linux使用nload监控网络流量的方法

《Linux使用nload监控网络流量的方法》Linux中的nload命令是一个用于实时监控网络流量的工具,它提供了传入和传出流量的可视化表示,帮助用户一目了然地了解网络活动,本文给大家介绍了Linu... 目录简介安装示例用法基础用法指定网络接口限制显示特定流量类型指定刷新率设置流量速率的显示单位监控多个

Java覆盖第三方jar包中的某一个类的实现方法

《Java覆盖第三方jar包中的某一个类的实现方法》在我们日常的开发中,经常需要使用第三方的jar包,有时候我们会发现第三方的jar包中的某一个类有问题,或者我们需要定制化修改其中的逻辑,那么应该如何... 目录一、需求描述二、示例描述三、操作步骤四、验证结果五、实现原理一、需求描述需求描述如下:需要在

JavaScript中的reduce方法执行过程、使用场景及进阶用法

《JavaScript中的reduce方法执行过程、使用场景及进阶用法》:本文主要介绍JavaScript中的reduce方法执行过程、使用场景及进阶用法的相关资料,reduce是JavaScri... 目录1. 什么是reduce2. reduce语法2.1 语法2.2 参数说明3. reduce执行过程