운영체제 깨알지식 | 웹핵.다이누.넷 |
---|
#주인OS #CentOS #CentOS 8 #가상머신 #가상화 소프트웨어 #버추얼박스 #VirtualBox #VirtualBox 6.1 #VirtualBox Extension Pack [2020년 01월 24일]CentOS 8 리눅스에서 VirtualBox 6.1 설치하기요약
CentOS 8의 Gnome GUI 환경 갖추기
CentOS 8의 기본 데스크톱 환경은
이미 기본 환경을 " [jinsuk@centos8 ~]$ sudo dnf groupinstall "Server with GUI"
또는 [jinsuk@centos8 ~]$ sudo systemctl set-default graphical 기본 운영체제의 데스크톱 환경을 GUI로 설정한다. [jinsuk@centos8 ~]$ sudo reboot 시스템을 재시동한다. CentOS 8에 VirtualBox 설치하기[jinsuk@centos8 ~]$ sudo dnf config-manager --add-repo=https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo [sudo] jinsuk의 암호: ************** 다음 위치에서 레포 추가 : https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo [jinsuk@centos8 ~]$ [jinsuk@centos8 ~]$ sudo rpm --import https://www.virtualbox.org/download/oracle_vbox.asc [jinsuk@centos8 ~]$ [jinsuk@centos8 ~]$ sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y CentOS-8 - AppStream 3.6 kB/s | 4.3 kB 00:01 CentOS-8 - Base 4.5 kB/s | 3.8 kB 00:00 CentOS-8 - Extras 1.5 kB/s | 1.5 kB 00:01 Oracle Linux / RHEL / CentOS-8 / x86_64 - Virtu 180 B/s | 181 B 00:01 Oracle Linux / RHEL / CentOS-8 / x86_64 - Virtu 813 B/s | 1.7 kB 00:02 GPG키 0x98AB5139를 불러옵니다: 사용자 : "Oracle Corporation (VirtualBox archive signing key) [jinsuk@centos8 ~]$ sudo dnf install binutils kernel-devel kernel-headers libgomp make patch gcc glibc-headers glibc-devel dkms -y 마지막 메타 데이터 만료 확인 : 0:01:46 전에 2020년 01월 24일 (금) 오전 02시 30분 29초. Package binutils-2.30-58.el8.0.1.x86_64 is already installed. Package libgomp-8.3.1-4.5.el8.x86_64 is already installed. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: gcc x86_64 8.3.1-4.5.el8 AppStream 23 M glibc-devel x86_64 2.28-72.el8 BaseOS 1.0 M glibc-headers x86_64 2.28-72.el8 BaseOS 469 k kernel-devel x86_64 4.18.0-147.3.1.el8_1 BaseOS 13 M kernel-headers x86_64 4.18.0-147.3.1.el8_1 BaseOS 2.7 M make x86_64 1:4.2.1-9.el8 BaseOS 498 k patch x86_64 2.7.6-9.el8_0 BaseOS 138 k dkms noarch 2.7.1-2.el8 epel 79 k Installing dependencies: cpp x86_64 8.3.1-4.5.el8 AppStream 10 M isl x86_64 0.16.1-6.el8 AppStream 841 k elfutils-libelf-devel x86_64 0.176-5.el8 BaseOS 54 k libxcrypt-devel x86_64 4.1.1-4.el8 BaseOS 25 k zlib-devel x86_64 1.2.11-10.el8 BaseOS 56 k Transaction Summary ================================================================================ 설치 13 Packages Total download size: 53 M Installed size: 146 M 패키지 다운로드중: (1/13): isl-0.16.1-6.el8.x86_64.rpm 483 kB/s | 841 kB 00:01 (2/13): elfutils-libelf-devel-0.176-5.el8.x86_6 25 kB/s | 54 kB 00:02 (3/13): cpp-8.3.1-4.5.el8.x86_64.rpm 1.3 MB/s | 10 MB 00:07 (4/13): gcc-8.3.1-4.5.el8.x86_64.rpm 2.1 MB/s | 23 MB 00:11 (5/13): glibc-headers-2.28-72.el8.x86_64.rpm 51 kB/s | 469 kB 00:09 (6/13): glibc-devel-2.28-72.el8.x86_64.rpm 74 kB/s | 1.0 MB 00:13 (7/13): libxcrypt-devel-4.1.1-4.el8.x86_64.rpm 86 kB/s | 25 kB 00:00 (8/13): make-4.2.1-9.el8.x86_64.rpm 42 kB/s | 498 kB 00:11 (9/13): patch-2.7.6-9.el8_0.x86_64.rpm 40 kB/s | 138 kB 00:03 (10/13): zlib-devel-1.2.11-10.el8.x86_64.rpm 58 kB/s | 56 kB 00:00 (11/13): dkms-2.7.1-2.el8.noarch.rpm 50 kB/s | 79 kB 00:01 (12/13): kernel-headers-4.18.0-147.3.1.el8_1.x8 56 kB/s | 2.7 MB 00:49 (13/13): kernel-devel-4.18.0-147.3.1.el8_1.x86_ 98 kB/s | 13 MB 02:20 -------------------------------------------------------------------------------- 합계 351 kB/s | 53 MB 02:35 경고: /var/cache/dnf/epel-6519ee669354a484/packages/dkms-2.7.1-2.el8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 2f86d6a1: NOKEY Extra Packages for Enterprise Linux 8 - x86_64 1.6 MB/s | 1.6 kB 00:00 GPG키 0x2F86D6A1를 불러옵니다: 사용자 : "Fedora EPEL (8) [jinsuk@centos8 ~]$ sudo dnf search virtaulbox Extra Packages for Enterprise Linux 8 - x86_64 767 kB/s | 5.3 MB 00:07 마지막 메타 데이터 만료 확인 : 0:00:04 전에 2020년 01월 24일 (금) 오전 02시 30분 29초. ====================== Name & Summary Matched: virtualbox ====================== VirtualBox-5.2.x86_64 : Oracle VM VirtualBox VirtualBox-6.0.x86_64 : Oracle VM VirtualBox VirtualBox-6.1.x86_64 : Oracle VM VirtualBox [jinsuk@centos8 ~]$ [jinsuk@centos8 ~]$ sudo dnf install VirtualBox-6.1 -y 마지막 메타 데이터 만료 확인 : 0:06:27 전에 2020년 01월 24일 (금) 오전 02시 30분 29초. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: VirtualBox-6.1 x86_64 6.1.2_135662_el8-1 virtualbox 94 M Installing dependencies: SDL x86_64 1.2.15-36.el8_1 AppStream 218 k qt5-qtbase x86_64 5.11.1-7.el8 AppStream 3.3 M qt5-qtbase-common noarch 5.11.1-7.el8 AppStream 39 k qt5-qtbase-gui x86_64 5.11.1-7.el8 AppStream 6.0 M qt5-qtx11extras x86_64 5.11.1-2.el8 AppStream 34 k xcb-util-image x86_64 0.4.0-9.el8 AppStream 21 k xcb-util-keysyms x86_64 0.4.0-7.el8 AppStream 16 k xcb-util-renderutil x86_64 0.3.9-10.el8 AppStream 19 k xcb-util-wm x86_64 0.4.1-12.el8 AppStream 32 k pcre2-utf16 x86_64 10.32-1.el8 BaseOS 228 k Transaction Summary ================================================================================ 설치 11 Packages Total download size: 104 M Installed size: 237 M 패키지 다운로드중: (1/11): qt5-qtbase-common-5.11.1-7.el8.noarch.r 126 kB/s | 39 kB 00:00 (2/11): SDL-1.2.15-36.el8_1.x86_64.rpm 524 kB/s | 218 kB 00:00 (3/11): qt5-qtx11extras-5.11.1-2.el8.x86_64.rpm 371 kB/s | 34 kB 00:00 (4/11): xcb-util-image-0.4.0-9.el8.x86_64.rpm 207 kB/s | 21 kB 00:00 (5/11): xcb-util-keysyms-0.4.0-7.el8.x86_64.rpm 79 kB/s | 16 kB 00:00 (6/11): xcb-util-renderutil-0.3.9-10.el8.x86_64 141 kB/s | 19 kB 00:00 (7/11): xcb-util-wm-0.4.1-12.el8.x86_64.rpm 142 kB/s | 32 kB 00:00 (8/11): qt5-qtbase-5.11.1-7.el8.x86_64.rpm 1.8 MB/s | 3.3 MB 00:01 (9/11): qt5-qtbase-gui-5.11.1-7.el8.x86_64.rpm 2.4 MB/s | 6.0 MB 00:02 (10/11): pcre2-utf16-10.32-1.el8.x86_64.rpm 76 kB/s | 228 kB 00:03 (11/11): VirtualBox-6.1-6.1.2_135662_el8-1.x86_ 1.0 MB/s | 94 MB 01:32 -------------------------------------------------------------------------------- 합계 1.1 MB/s | 104 MB 01:36 트랜잭션 점검 실행 중 트랜잭션 검사가 성공했습니다. 트랜잭션 테스트 실행 중 트랜잭션 테스트가 완료되었습니다. 거래 실행 중 준비 중입니다 : 1/1 Installing : pcre2-utf16-10.32-1.el8.x86_64 1/11 Installing : qt5-qtbase-common-5.11.1-7.el8.noarch 2/11 스크립틀릿 실행: qt5-qtbase-5.11.1-7.el8.x86_64 3/11 Installing : qt5-qtbase-5.11.1-7.el8.x86_64 3/11 스크립틀릿 실행: qt5-qtbase-5.11.1-7.el8.x86_64 3/11 Installing : xcb-util-wm-0.4.1-12.el8.x86_64 4/11 스크립틀릿 실행: xcb-util-wm-0.4.1-12.el8.x86_64 4/11 Installing : xcb-util-renderutil-0.3.9-10.el8.x86_64 5/11 스크립틀릿 실행: xcb-util-renderutil-0.3.9-10.el8.x86_64 5/11 Installing : xcb-util-keysyms-0.4.0-7.el8.x86_64 6/11 스크립틀릿 실행: xcb-util-keysyms-0.4.0-7.el8.x86_64 6/11 Installing : xcb-util-image-0.4.0-9.el8.x86_64 7/11 스크립틀릿 실행: xcb-util-image-0.4.0-9.el8.x86_64 7/11 Installing : qt5-qtbase-gui-5.11.1-7.el8.x86_64 8/11 스크립틀릿 실행: qt5-qtbase-gui-5.11.1-7.el8.x86_64 8/11 Installing : qt5-qtx11extras-5.11.1-2.el8.x86_64 9/11 Installing : SDL-1.2.15-36.el8_1.x86_64 10/11 스크립틀릿 실행: SDL-1.2.15-36.el8_1.x86_64 10/11 스크립틀릿 실행: VirtualBox-6.1-6.1.2_135662_el8-1.x86_64 11/11 Installing : VirtualBox-6.1-6.1.2_135662_el8-1.x86_64 11/11 스크립틀릿 실행: VirtualBox-6.1-6.1.2_135662_el8-1.x86_64 11/11 Creating group 'vboxusers'. VM users must be member of that group! 확인 중 : SDL-1.2.15-36.el8_1.x86_64 1/11 확인 중 : qt5-qtbase-5.11.1-7.el8.x86_64 2/11 확인 중 : qt5-qtbase-common-5.11.1-7.el8.noarch 3/11 확인 중 : qt5-qtbase-gui-5.11.1-7.el8.x86_64 4/11 확인 중 : qt5-qtx11extras-5.11.1-2.el8.x86_64 5/11 확인 중 : xcb-util-image-0.4.0-9.el8.x86_64 6/11 확인 중 : xcb-util-keysyms-0.4.0-7.el8.x86_64 7/11 확인 중 : xcb-util-renderutil-0.3.9-10.el8.x86_64 8/11 확인 중 : xcb-util-wm-0.4.1-12.el8.x86_64 9/11 확인 중 : pcre2-utf16-10.32-1.el8.x86_64 10/11 확인 중 : VirtualBox-6.1-6.1.2_135662_el8-1.x86_64 11/11 설치됨: VirtualBox-6.1-6.1.2_135662_el8-1.x86_64 SDL-1.2.15-36.el8_1.x86_64 qt5-qtbase-5.11.1-7.el8.x86_64 qt5-qtbase-common-5.11.1-7.el8.noarch qt5-qtbase-gui-5.11.1-7.el8.x86_64 qt5-qtx11extras-5.11.1-2.el8.x86_64 xcb-util-image-0.4.0-9.el8.x86_64 xcb-util-keysyms-0.4.0-7.el8.x86_64 xcb-util-renderutil-0.3.9-10.el8.x86_64 xcb-util-wm-0.4.1-12.el8.x86_64 pcre2-utf16-10.32-1.el8.x86_64 완료되었습니다! [jinsuk@centos8 ~]$ [jinsuk@centos8 ~]$ sudo usermod -aG vboxusers jinsuk [jinsuk@centos8 ~]$ [jinsuk@centos8 ~]$ virtualbox [선택 사항] 버추얼박스 확장팩 설치
다음과 같은 기능이 필요하면
먼전 [jinsuk@centos8 ~]$ virtualbox -h Oracle VM VirtualBox VM Selector v6.1.2 (C) 2005-2020 Oracle Corporation All rights reserved. No special options. If you are looking for --startvm and related options, you need to use VirtualBoxVM. [jinsuk@centos8 ~]$ Oracle VM VirtualBox 누리집에서 버추얼박스 확장팩(VirtualBox Extension Pack)을 내려받는다. [jinsuk@centos8 ~]$ cd 다운로드/ [jinsuk@centos8 다운로드]$ wget https://download.virtualbox.org/virtualbox/6.1.2/Oracle_VM_VirtualBox_Extension_Pack-6.1.2.vbox-extpack --2020-01-24 05:24:00-- https://download.virtualbox.org/virtualbox/6.1.2/Oracle_VM_VirtualBox_Extension_Pack-6.1.2.vbox-extpack Resolving download.virtualbox.org (download.virtualbox.org)... 23.36.52.102 Connecting to download.virtualbox.org (download.virtualbox.org)|23.36.52.102|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 10925771 (10M) [text/plain] Saving to: ‘Oracle_VM_VirtualBox_Extension_Pack-6.1.2.vbox-extpack’ Oracle_VM_VirtualBo 100%[===================>] 10.42M 3.00MB/s in 4.6s 2020-01-24 05:24:06 (2.28 MB/s) - ‘Oracle_VM_VirtualBox_Extension_Pack-6.1.2.vbox-extpack’ saved [10925771/10925771] [jinsuk@centos8 다운로드]$
다운로드 받은 확장팩은 버추얼박스의 [처음 작성한 날: 2020.01.24] [마지막으로 고친 날: 2020.01.24] < 이전 글 : VirtualBox 가상머신으로 GSM CE 6.0.2 설치 설명서 (OpenVAS) - Webhack 본문으로 이동 (2020.01.25) > 다음 글 : 맥OS에서 복수의 파일에 대한 일괄적인 파일 이름 변경 - |