이 사이트는 JavaScript가 필요합니다. JavaScript를 활성화해주세요.

VMware Guest ↔ Host 복사 붙여넣기

VMware를 사용하면서 때로는 Host에 있는 파일을 VM에 있는 Guest로 옮겨야 할 경우가 있다. 방법은 VMware에 내장되어 있는 툴을 사용하면 되는데 설치 방법은 간단하다.

설치방법

VM – Install VMware Tools… 

VM - Install VMware Tools... 
DVD VMware Tools
DVD VMware Tools

DVD 아이콘의 VMware Tools가 생성된 것을 확인 할 수 있다.

ctrl+Alt+T(터미널) 눌러서 차근차근 실행하면 된다.

cd /media/cuckoo(사용자계정)/VMware Tools/
DVD VMware Tools
DVD VMware Tools

상단에 있는 그림 처럼 VMwareTools-10.0.5-3228253.tar.gz를 복사한다.

cp ./VMwareTools-10.0.5-3228253.tar.gz /home/cuckoo(사용자계정)
cd
ls
복사된 VMware Tools
복사된 VMware Tools

home/cuckoo 디렉터리에 VMwareTools-10.0.5-3228253.tar.gz 이 복사된 것을 확인할 수 있다. 복사한 압축파일은 압축을 해제해야 한다.

tar zxvf VMwareTools-10.0.5-3228253.tar.gz
ls
복사된 VMware Tools2
복사된 VMware Tools

압축해제를 하게되면 빨간 네모 박스처럼 “vmware-tools-distrib”라는 디렉터리가 생긴 것을 확인할 수 있다.하단의 1 ~ 6번줄 제외한 나머지는 그냥 “Enter” 키만 눌러서 넘어가면 된다.6번 줄은 설치할 것이냐의 물음에 “y” 입력 후 Enter

cd vmware-tools-distrib/
sudo ./vmware-install.pl
[sudo] password for cuckoo:비밀번호입력
open-vm-tools are available from the OS vendor and VMware recommends using 
open-vm-tools. See http://kb.vmware.com/kb/2073803 for more information.
Do you still want to proceed with this legacy installer? [no] y

Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files? 
[/usr/bin] 

What is the directory that contains the init directories (rc0.d/ to rc6.d/)? 
[/etc] 

What is the directory that contains the init scripts? 
[/etc/init.d] 

In which directory do you want to install the daemon files? 
[/usr/sbin] 

In which directory do you want to install the library files? 
[/usr/lib/vmware-tools] 

The path "/usr/lib/vmware-tools" does not exist currently. This program is 
going to create it, including needed parent directories. Is this what you want?
[yes] 

In which directory do you want to install the common agent library files? 
[/usr/lib] 

In which directory do you want to install the common agent transient files? 
[/var/lib] 

In which directory do you want to install the documentation files? 
[/usr/share/doc/vmware-tools] 

The path "/usr/share/doc/vmware-tools" does not exist currently. This program 
is going to create it, including needed parent directories. Is this what you 
want? [yes] 

The installation of VMware Tools 10.0.5 build-3228253 for Linux completed 
successfully. You can decide to remove this software from your system at any 
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by 
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want 
this program to invoke the command for you now? [yes] 

The VMware Host-Guest Filesystem allows for shared folders between the host OS 
and the guest OS in a Fusion or Workstation virtual environment.  Do you wish 
to enable this feature? [yes]

The vmxnet driver is no longer supported on kernels 3.3 and greater. Please 
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)

The vmblock enables dragging or copying files between host and guest in a 
Fusion or Workstation virtual environment.  Do you wish to enable this feature?
[yes] 

Would you like to enable VMware automatic kernel modules?
[no]

Thinprint provides driver-free printing. Do you wish to enable this feature? 
[yes] 

Disabling timer-based audio scheduling in pulseaudio.

Do you want to enable Guest Authentication (vgauth)? Enabling vgauth is needed 
if you want to enable Common Agent (caf). [yes] 

Do you want to enable Common Agent (caf)? [yes] 

Found VMware Tools CDROM mounted at /media/cuckoo/VMware Tools. Ejecting device
/dev/sr0 ...

설치가 완료되었으면 Restert

Host → Guest  드래그로 파일 옮기기
Host → Guest  드래그로 파일 옮기기

Host에 있는 파일을 클릭 후 드래그로 Guest 쪽으로 옮기면 쉽게 복사가 되는 것을 확인 가능하다.

Leave a Comment