ORACLE/INSTALL2024. 2. 1. 07:51
반응형

공유볼륨 설정

 

{공유볼륨 설정]

cmd 창에서 실행 파일 생성

정해진 크기로 파일 볼륨으로 만듬 추후 ASM 용으로 사용

vboxmanage createmedium --filename CRS1.vdi --size 1024--format VDI --variant Fixed
vboxmanage createmedium --filename CRS 2.vdi --size 1024 --format VDI --variant Fixed
vboxmanage createmedium --filename CRS 3.vdi --size 1024 --format VDI --variant Fixed
vboxmanage createmedium --filename REDATA1.vdi --size 30720 --format VDI --variant Fixed
vboxmanage createmedium --filename REDATA2.vdi --size 30720 --format VDI --variant Fixed
vboxmanage createmedium --filename REDATA3.vdi --size 30720 --format VDI --variant Fixed
vboxmanage createmedium --filename REFRA.vdi --size 20480 --format VDI --variant Fixed

 

-- 공유볼륨설정

vboxmanage modifymedium CRS1 .vdi --type shareable

vboxmanage modifymedium CRS2 .vdi --type shareable

vboxmanage modifymedium CRS3 .vdi --type shareable
vboxmanage modifymedium REDATA1.vdi --type shareable
vboxmanage modifymedium REDATA2.vdi --type shareable
vboxmanage modifymedium REDATA3.vdi --type shareable
vboxmanage modifymedium REFRA.vdi --type shareable

 

 

반응형
Posted by [PineTree]
OS/LINUX2023. 3. 7. 23:28
반응형

[해당 시스템 redhat 7.7 ]

버추얼 박스 7.0.6에 GUI 서버로 설치 한 후 게스트확장 이미지 설치 하려고 했으나 실패 

[root@redhat7 VBox_GAs_7.0.6]# ./VBoxLinuxAdditions.run
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.0.6 Guest Additions for Linux  100%  
VirtualBox Guest Additions installer
Removing installed version 7.0.6 of VirtualBox Guest Additions...
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 
3.10.0-1062.el7.x86_64.

This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
modprobe vboxguest failed
The log file /var/log/vboxadd-setup.log may contain further information.

 

[ make kernel-devel gcc perl 설치로 해결]

[root@redhat7 ~]#  yum install -y make kernel-devel gcc perl
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
local-repo                                                                                                                                      | 2.8 kB  00:00:00     
(1/2): local-repo/group_gz                                                                                                                      | 103 kB  00:00:00     
(2/2): local-repo/primary                                                                                                                       | 2.0 MB  00:00:00     
local-repo                                                                                                                                                   5229/5229
Package 1:make-3.82-24.el7.x86_64 already installed and latest version
Package kernel-devel-3.10.0-1062.el7.x86_64 already installed and latest version
Package 4:perl-5.16.3-294.el7_6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-39.el7 will be installed
--> Processing Dependency: cpp = 4.8.5-39.el7 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-39.el7.x86_64
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-39.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-292.el7 will be installed
--> Processing Dependency: glibc-headers = 2.17-292.el7 for package: glibc-devel-2.17-292.el7.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-292.el7.x86_64
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.17-292.el7 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-292.el7.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-292.el7.x86_64
--> Running transaction check
---> Package kernel-headers.x86_64 0:3.10.0-1062.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================================
 Package                                   Arch                              Version                                       Repository                             Size
=======================================================================================================================================================================
Installing:
 gcc                                       x86_64                            4.8.5-39.el7                                  local-repo                             16 M
Installing for dependencies:
 cpp                                       x86_64                            4.8.5-39.el7                                  local-repo                            6.0 M
 glibc-devel                               x86_64                            2.17-292.el7                                  local-repo                            1.1 M
 glibc-headers                             x86_64                            2.17-292.el7                                  local-repo                            687 k
 kernel-headers                            x86_64                            3.10.0-1062.el7                               local-repo                            8.7 M

Transaction Summary
=======================================================================================================================================================================
Install  1 Package (+4 Dependent packages)

Total download size: 33 M
Installed size: 59 M
Downloading packages:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                   66 MB/s |  33 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : cpp-4.8.5-39.el7.x86_64                                                                                                                             1/5 
  Installing : kernel-headers-3.10.0-1062.el7.x86_64                                                                                                               2/5 
  Installing : glibc-headers-2.17-292.el7.x86_64                                                                                                                   3/5 
  Installing : glibc-devel-2.17-292.el7.x86_64                                                                                                                     4/5 
  Installing : gcc-4.8.5-39.el7.x86_64                                                                                                                             5/5 
  Verifying  : glibc-devel-2.17-292.el7.x86_64                                                                                                                     1/5 
  Verifying  : gcc-4.8.5-39.el7.x86_64                                                                                                                             2/5 
  Verifying  : kernel-headers-3.10.0-1062.el7.x86_64                                                                                                               3/5 
  Verifying  : glibc-headers-2.17-292.el7.x86_64                                                                                                                   4/5 
  Verifying  : cpp-4.8.5-39.el7.x86_64                                                                                                                             5/5 

Installed:
  gcc.x86_64 0:4.8.5-39.el7                                                                                                                                            

Dependency Installed:
  cpp.x86_64 0:4.8.5-39.el7        glibc-devel.x86_64 0:2.17-292.el7        glibc-headers.x86_64 0:2.17-292.el7        kernel-headers.x86_64 0:3.10.0-1062.el7       

Complete!

 

[게스트 이미지 설치 성공]

[root@redhat7 VBox_GAs_7.0.6]# ./VBoxLinuxAdditions.run
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.0.6 Guest Additions for Linux  100%  
VirtualBox Guest Additions installer
Removing installed version 7.0.6 of VirtualBox Guest Additions...
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 
3.10.0-1062.el7.x86_64.
VirtualBox Guest Additions: Running kernel modules will not be replaced until 
the system is restarted

 

설치 완료

반응형

'OS > LINUX' 카테고리의 다른 글

linux root 패스워드 복구 방법  (0) 2011.05.21
[Linux] 설치 후 설정 변경  (0) 2010.08.11
Red Hat 에 yum 설치하는 방법 (다운부터 설치까지)  (0) 2010.07.09
ssh 포트 변경  (0) 2010.02.04
linux kernel panic에러시 복구  (0) 2010.02.02
Posted by [PineTree]