본문 바로가기
★━Server OS〃/1. Linux

VirtualBox에서 Shared Folder 설정하기

by Raynee 2022. 12. 21.
반응형

VirtualBox에서 컴퓨터의 폴더를 VM에 공유 하려면 

 

공유할 공유폴더를 설정 해준다. 

 

 

[ Devices ] - [Insert Guest  Additions CD image...] 를 클릭 한다. 

 

그러면 CD-ROM이 마운트 된걸 확인 할 수 있다. 

 

[root@oradb /]# mkdir /cdrom

[root@oradb /]# mount /dev/cdrom /cdrom
mount: /dev/sr0 is write-protected, mounting read-only

[root@oradb /]# cd /cdrom/
[root@oradb cdrom]# ls
AUTORUN.INF  TRANS.TBL                          VBoxLinuxAdditions.run          VBoxWindowsAdditions-x86.exe  cert
NT3x         VBoxDarwinAdditions.pkg            VBoxSolarisAdditions.pkg        VBoxWindowsAdditions.exe      runasroot.sh
OS2          VBoxDarwinAdditionsUninstall.tool  VBoxWindowsAdditions-amd64.exe  autorun.sh                    windows11-bypass.reg
[root@oradb cdrom]# ./VBoxLinuxAdditions.run
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.0.4 Guest Additions for Linux  100%
VirtualBox Guest Additions installer
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Setting up modules
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel
5.4.17-2011.6.2.el7uek.x86_64.

[root@oradb /]# ls
VirtualBox  bin  boot  cdrom  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
[root@oradb /]# cd VirtualBox/
[root@oradb VirtualBox]# ls
Oracle DB 19C & EM Server 설치  Windows 11
반응형

댓글