简体   繁体   English

从Windows访问ubuntu文件(安装在virtualbox中)

[英]accessing ubuntu files(installed in virtualbox) from windows

I have installed Ubuntu 13.x in Virtual box 我已经在虚拟框中安装了Ubuntu 13.x

My parent OS is windows 8.1 . 我的父操作系统是Windows 8.1。 I need to access python files from IDE in windows. 我需要从Windows中的IDE访问python文件。 They are basically site packages directory like django . 它们基本上是django之类的站点软件包目录。

eg: 例如:

'/usr/lib/python2.7/dist-packages'

How can i access it from parent os 我如何从父操作系统访问它

Things to do : 要做的事情:

  1. get your host/guest machines connected to the same network. 将您的主机/来宾计算机连接到同一网络。 MAY be NAT or Bridge your VM with your physical adapter. 可以是NAT或将您的VM与物理适配器桥接。

  2. Install samba and create a samba share. 安装samba并创建samba共享。

  3. access your files from a windows machine via networks or smb:// protocol 通过网络或smb://协议从Windows计算机访问文件

You can set up "Shared Folders" for the the Virtualbox image. 您可以为Virtualbox映像设置“共享文件夹”。

But a more convenient way might be to do it the opposite way around, ie having the folder locally on your host OS and sharing it to your guest. 但是,更方便的方法可能是相反的操作,即在主机OS上本地保存文件夹并将其共享给来宾。 Have a look at this link, specifially for Django as you pointed out to be interested in: http://gettingstartedwithdjango.com/en/lessons/introduction-and-launch/ 请查看此链接,特别是针对您指出的Django的链接: http : //gettingstartedwithdjango.com/en/lessons/introduction-and-launch/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从PIP安装的软件包访问文件 - Accessing Files from PIP installed packages 我可以在 VirtualBox ubuntu 中使用 PyCharm 窗口吗 - Can I use PyCharm windows with VirtualBox ubuntu 无法使用Ubuntu 17.04 VirtualBox VM运行/导入pip安装的python软件包 - Cannot run/import pip installed python packages, using Ubuntu 17.04 VirtualBox VM VirtualBox Ubuntu 在尝试从 CMake 构建 CXX object 时冻结 - VirtualBox Ubuntu freezes while trying to build CXX object from CMake 如何使用安装在 Windows 上的 Ubuntu 上的虚拟环境? - How to use virtual environment installed on Ubuntu which is installed on Windows? 是否可以使用从ubuntu guest虚拟机安装在Windows主机中的google cloud sdk? - Is it possible to use google cloud sdk installed in windows host from ubuntu guest? 是否有使用python从Windows注册表访问和列出已安装程序的更新方法? - Is there an updated way of accessing and listing installed programs from the Windows registry using python? 如何在VirtualBox Ubuntu OS上安装tensorflow GPU版本。 主机操作系统是Windows 10 - How to install tensorflow GPU version on VirtualBox Ubuntu OS. And host OS is windows 10 ubuntu(virtualbox)上的emacs flymake错误 - emacs flymake error on ubuntu (virtualbox) 使用Ubuntu bash在Windows 10上安装的Python模块无法识别 - Python module installed on Windows 10 with Ubuntu bash is not recognized
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM