{"id":4273,"date":"2019-09-30T18:07:48","date_gmt":"2019-09-30T15:07:48","guid":{"rendered":"https:\/\/kifarunix.com\/?p=4273"},"modified":"2024-03-12T22:00:35","modified_gmt":"2024-03-12T19:00:35","slug":"install-centos-8-on-virtualbox","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-centos-8-on-virtualbox\/","title":{"rendered":"Install CentOS 8 on VirtualBox"},"content":{"rendered":"\n<p>So CentOS 8 is just released a few days ago and you would like to test it? Well, let us learn how to install CentOS 8 on VirtualBox.<\/p>\n\n\n\n<p>The installation of CentOS 8 on VirtualBox follows the same process you usually use to create VirtualBox VMs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Download CentOS 8 ISO file<\/h3>\n\n\n\n<p>First things first. Get the CentOS 8 iso file from <a rel=\"noreferrer noopener\" aria-label=\"CentOS Mirror (opens in a new tab)\" href=\"http:\/\/isoredirect.centos.org\/centos\/8\/isos\/\" target=\"_blank\">CentOS Mirror<\/a>. You can simply grab a download link and use wget to pull the iso file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget -c http:\/\/isoredirect.centos.org\/centos\/8\/isos\/x86_64\/CentOS-8-x86_64-1905-dvd1.iso<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Create New VirtualBox VM<\/h3>\n\n\n\n<p>Launch VirtualBox and create a new VM with your preferred settings such as networking, disk, system resources etc.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/centos-8-vm-settings.png\"><img loading=\"lazy\" decoding=\"async\" width=\"691\" height=\"481\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/centos-8-vm-settings.png\" alt=\"CentOS 8 VM settings\" class=\"wp-image-4304\" title=\"\"><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Attach CentOS 8 Installation ISO<\/h3>\n\n\n\n<p>Once you have created and setup a new VirtualBox VM for CentOS 8, click Storage &gt; Controller:IDE.<\/p>\n\n\n\n<p>Next, click the disk like icon with a plus sign to choose the CentOS 8 disk to attach.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/attach-storage.png\"><img loading=\"lazy\" decoding=\"async\" width=\"692\" height=\"480\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/attach-storage.png\" alt=\"Attach CentOS 8 iso file\" class=\"wp-image-4305\" title=\"\"><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Install CentOS 8 VM<\/h3>\n\n\n\n<p>Once you have setup your VM and attached the CentOS boot disk, start the vm to begin the installation.<\/p>\n\n\n\n<p>When it runs, select the first installation option, <strong><code>Install CentOS Linux 8.0.1905<\/code><\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/install-cent.png\"><img loading=\"lazy\" decoding=\"async\" width=\"601\" height=\"445\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/install-cent.png\" alt=\"Install CentOS 8 on VirtualBox\" class=\"wp-image-4306\" title=\"\"><\/a><\/figure>\n\n\n\n<p>Next, choose your installation language, the installation disk and click <code><strong>Begin Installation<\/strong><\/code> to proceed with installation.<\/p>\n\n\n\n<p>Want to Install the CentOS 8 minimal version instead? Click on Software Selection. (<strong>By default, Server with GUI is selected for install<\/strong>).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/11\/software-install.png\"><img loading=\"lazy\" decoding=\"async\" width=\"796\" height=\"599\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/11\/software-install.png\" alt=\"Install Minimal CentOS 8 virtualbox\" class=\"wp-image-4542\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/11\/software-install.png?v=1572672542 796w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/11\/software-install-768x578.png?v=1572672542 768w\" sizes=\"(max-width: 796px) 100vw, 796px\" \/><\/a><\/figure>\n\n\n\n<p>Next, select <strong>Minimal Install<\/strong> &gt; <strong>Done<\/strong> and begin the installation.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/11\/minimal-install.png\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"546\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/11\/minimal-install.png\" alt=\"Install Minimal CentOS 8 on Vrtualbox\" class=\"wp-image-4543\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/11\/minimal-install.png?v=1572672580 786w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/11\/minimal-install-768x533.png?v=1572672580 768w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><\/a><\/figure>\n\n\n\n<p>This guide installs server with GUI CentOS 8 edition.<\/p>\n\n\n\n<p>Set your root password and if you want, create a non-root user account and proceed.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/user-settings.png\"><img loading=\"lazy\" decoding=\"async\" width=\"796\" height=\"534\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/user-settings.png\" alt=\"CentOS 8 user settings\" class=\"wp-image-4307\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/user-settings.png?v=1569855417 796w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/user-settings-768x515.png?v=1569855417 768w\" sizes=\"(max-width: 796px) 100vw, 796px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/reboot.png\"><img loading=\"lazy\" decoding=\"async\" width=\"801\" height=\"549\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/reboot.png\" alt=\"Install CentOS 8 on VirtualBox\" class=\"wp-image-4308\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/reboot.png?v=1569855487 801w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/reboot-768x526.png?v=1569855487 768w\" sizes=\"(max-width: 801px) 100vw, 801px\" \/><\/a><\/figure>\n\n\n\n<p>After the installation completes, instead of rebooting your CentOS 8 virtual machine just power it off and detach the installation ISO file from the storage, otherwise the installation process will reinitiate.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Running CentOS 8 Server on VirtualBox<\/h3>\n\n\n\n<p>Once you have detached the installation medium, boot up your CentOS 8 virtual machine.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Accept CentOS 8 EULA<\/h3>\n\n\n\n<p>CentOS 8 requires that your accept the End User License Agreement.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/license.png\"><img loading=\"lazy\" decoding=\"async\" width=\"803\" height=\"603\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/license.png\" alt=\"CentOS 8 End User License Agreement\" class=\"wp-image-4309\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/license.png?v=1569855570 803w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/license-768x577.png?v=1569855570 768w\" sizes=\"(max-width: 803px) 100vw, 803px\" \/><\/a><\/figure>\n\n\n\n<p>Hence, click on the License Information and accept the license.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"801\" height=\"528\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/accept.png\" alt=\"Accept CentOS 8 EULA\" class=\"wp-image-4310\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/accept.png?v=1569855630 801w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/accept-768x506.png?v=1569855630 768w\" sizes=\"(max-width: 801px) 100vw, 801px\" \/><\/figure>\n\n\n\n<p>Click <strong>Done<\/strong> and finish the configuration to proceed to CentOS 8 desktop.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/login-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/login-1.png\" alt=\"CentOS 8 Login\" class=\"wp-image-4312\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/login-1.png?v=1569855716 800w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/login-1-768x576.png?v=1569855716 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/figure>\n\n\n\n<p>Login to your CentOS 8 system.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/centos-8.png\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"599\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/centos-8.png\" alt=\"CentOS 8 virtual machine\" class=\"wp-image-4313\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/centos-8.png?v=1569855732 798w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/centos-8-768x576.png?v=1569855732 768w\" sizes=\"(max-width: 798px) 100vw, 798px\" \/><\/a><\/figure>\n\n\n\n<p>That is all about how to install CentOS 8 on VirtualBox.<\/p>\n\n\n\n<p>Related Tutorials<\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/autostart-virtualbox-vms-on-system-boot-on-linux\/\" target=\"_blank\">AutoStart VirtualBox VMs on System Boot on Linux<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/resize-root-partition-of-virtualbox-vm-snapshot\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Resize Root Partition of VirtualBox VM Snapshot<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-virtualbox-guest-additions-on-debian-10-buster\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install VirtualBox Guest Additions on Debian 10 Buster<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-debian-10-buster-on-virtualbox\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install Debian 10 Buster on VirtualBox<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So CentOS 8 is just released a few days ago and you would like to test it? Well, let us learn how to install CentOS<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,46],"tags":[1142,24],"class_list":["post-4273","post","type-post","status-publish","format-standard","hentry","category-howtos","category-virtualbox","tag-centos-8","tag-virtualbox","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/4273"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=4273"}],"version-history":[{"count":7,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/4273\/revisions"}],"predecessor-version":[{"id":21209,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/4273\/revisions\/21209"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=4273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=4273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=4273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}