copy file to virtualbox

This page provides information on transferring files between different types of virtual machines provided by the SCS. It is often useful vĩ đại be able vĩ đại transfer files between the guest machine and the host machine. On this page, you will find instructions for the following methods:

Bạn đang xem: copy file to virtualbox

Creating a Shared Folder in VirtualBox
Shared Folders on SCS Lab Computers using Course VMs
Shared Folders on Personal Computers
Dragging and Dropping Files in VirtualBox
Managing Files with NextCloud

Creating a Shared Folder in VirtualBox

A shared thư mục is a thư mục that makes its files available on both the guest machine and the host machine at the same time. Creating a shared thư mục between the guest and the host allows you vĩ đại easily manage files that should be present on both machines. The course virtual machines are ready vĩ đại use shared folders right away, but if you are using the virtual machine on your personal computer, then you will need vĩ đại specify which thư mục vĩ đại use as shared storage.

Shared Folders on SCS Lab Computers using Course VMs

If you are using a course VM on a lab computer, it is likely that a shared thư mục has already been mix up for you. On the desktop of your course VM, you should notice a thư mục titled SharedFolders. Inside this thư mục, you will find any folders that have been shared between the course VM and lab computers.

You should see two folders that have already been configured for you: Z_DRIVE and Temp.

Z_DRIVE gives you access vĩ đại your Windows Account Z:\ drive. This is storage that is persistent vĩ đại your SCS trương mục and available as a network drive on the lab computers.

Temp gives you access vĩ đại the thư mục found at D:\temp on the lab computer. Files stored in this thư mục are local vĩ đại the machine, meaning that they can be accessed faster but will delete from the system when you log out.

If you are working with data that you will need vĩ đại use again, use the Z_DRIVE for your shared thư mục. If you need a faster read/write tốc độ, use the Temp thư mục, but remember vĩ đại back up your files, or they will be deleted when you log off the computer.

Shared Folders on Personal Computers

If you are using your own personal machine, you will need vĩ đại configure VirtualBox vĩ đại look in the right place for your shared files.

  • Video Tutorial (Windows)
  • Quick Start Guide

First, click on the guest machine you intend vĩ đại share files with. From there, you can select the guest Settings and navigate vĩ đại Shared Folders on the left side thực đơn. To create a new shared thư mục, either click the New Folder icon on the right thực đơn or right-click the empty list of shared folders and click Add Shared Folder. From here, there are six options:

  • Folder Path: The thư mục name on the host machine. Click the drop-down thực đơn and navigate vĩ đại the thư mục you would lượt thích vĩ đại share.
  • Folder Name: This is the name of the thư mục as it will appear on the guest machine.
  • Read-Only: If you kiểm tra read-only, the guest machine will be unable vĩ đại write changes vĩ đại the thư mục. This is valuable when you only want vĩ đại send files to the virtual machine, but tự not want vĩ đại risk having the files modified by the guest.
  • Auto-Mount: When any external storage is connected vĩ đại a computer, it must be mounted in order vĩ đại be used. It is recommended that you turn on auto-mounting unless you are familiar with the process of mounting a drive yourself.
  • Mount Point: Unless you already know about mount points, leave this blank.
  • Make Permanent: If you kiểm tra this, the shared thư mục will be a permanent machine folder. If it is not checked, the thư mục will not be shared after a shutdown.

On the course virtual machines, when you load into the desktop, you should see a thư mục labelled SharedFolders. In there, you will see any folders that are currently mounted and being shared.

Dragging and Dropping Files in VirtualBox

If you only need vĩ đại transfer a few files quickly, you can simply drag and drop the files in. On the top bar of the running guest machine, click on Devices > Drag and Drop and make sure that Bidirectional is selected. This means that you will be able vĩ đại drag files from the host vĩ đại the guest and from the guest vĩ đại the host. Once bidirectional drag and drop is checked, you should be able vĩ đại begin dragging and dropping files.

Xem thêm: bep lua ngu van 9

NOTE: Sometimes when dragging files into the course VM, you may not be able vĩ đại drag them into the tệp tin browser directly. If you encounter this issue, you should drag your files onto the Desktop and move the files around from there. You should see the cursor change when it is ready vĩ đại drop files.

You can also drag files from the guest machine into the host. To tự this, simply open the tệp tin browser on the host vĩ đại where you would lượt thích vĩ đại drop the files and drag the files from the virtual machine into the tệp tin browser of the host. File transfers should be pretty quick; if the virtual machine seems stuck when transferring, simply cancel the transfer and try again.

Managing Files with NextCloud

On any virtual machine, including VirtualBox, VMWare, or the virtual machines hosted on the SCS OpenStack, you can access the SCS NextCloud services vĩ đại move files between multiple machines and your SCS Windows Account storage. NextCloud offers you all of your SCS storage in one remote location, similar vĩ đại how you might use other tệp tin hosting services lượt thích Dropbox or Google Drive. Before trying vĩ đại use NextCloud, you should kiểm tra that you can access the service by logging in here.

If you can access the NextCloud services, you can browse the various tệp tin storage services available vĩ đại you:

  • Linux Home: These are the files from your SCS Linux Account
  • Windows Home: These are the files from your SCS Windows Account and your lab Z:\ drive.
  • NextCloud: In addition vĩ đại the other storage accounts provided vĩ đại you by the SCS, you can also upload up vĩ đại 20GB of files directly vĩ đại NextCloud.

With NextCloud, you can upload your files from any machine with an mạng internet connection and tải về them onto any other machine with an mạng internet connection. For example, you can move project files off of your virtual machine, onto the NextCloud storage, and then tải về them on your personal máy vi tính. Alternatively, you can upload files from your personal PC onto the NextCloud storage, place them into the Windows Home thư mục, and access those files from either the lab Z:\ drive or tải về them on a virtual machine lượt thích VirtualBox or OpenStack.

Uploading Files vĩ đại NextCloud from a Lab Computer

If you would lượt thích vĩ đại upload files from a lab computer, the easiest way vĩ đại tự this is vĩ đại place the files you would lượt thích vĩ đại transfer into your Z:\ drive. These files will be automatically backup into your NextCloud storage under the Windows Home thư mục. After that, you can move them into the main NextCloud storage or choose vĩ đại keep them in your Z:\drive.

Uploading Files vĩ đại NextCloud from a VM or Other PC

If you would lượt thích vĩ đại upload files from either a VM or any other computer, you can log in vĩ đại the NextCloud service using any of the available interfaces, such as the trang web interface. Press the “+” icon in the top left of the tệp tin browser and select Upload File. From here, you can choose vĩ đại keep it in the main NextCloud storage, move it into your Windows Account storage (the Windows Home folder), or into your Linux Account storage (the Linux trang chủ folder).

Downloading NextCloud Files vĩ đại a VM or Other PC

Once your files are uploaded, you will be able vĩ đại tải về those files onto any machine, which can connect vĩ đại NextCloud. First, log in vĩ đại your preferred NextCloud interface (e.g. the trang web interface). Navigate vĩ đại the thư mục which contains the files you would lượt thích vĩ đại tải về. Once you are in the target thư mục, click the checkbox next vĩ đại each tệp tin you would lượt thích vĩ đại tải về. Above the tệp tin listing, you should notice the context bar changing vĩ đại tell you how many files you have selected and a button labelled Actions. Click Actions > Download.

If you selected a single tệp tin, it will prompt you vĩ đại confirm the tải về. If you have chosen more than vãn one tệp tin, NextCloud will place all of the selected files into a zip archive. Before you can use the files, you will need vĩ đại extract them from the archive. Once you have downloaded your tệp tin or extracted your archive, you are ready vĩ đại use your files on your machine.

Share: Twitter, Facebook
Short URL: https://aqv.edu.vn/scs/?p=6502

Xem thêm: vì sao quân minh xâm lược nước ta

Tác giả

Bình luận