Detailed tutorial on minimizing the installation of CentOS 8.1 virtual machine in VirtualBox

Detailed tutorial on minimizing the installation of CentOS 8.1 virtual machine in VirtualBox

1. Download related tools and images

Download Link

VirtualBox: https://download.virtualbox.org/virtualbox/6.1.8/VirtualBox-6.1.8-137981-Win.exe

Centos8.1: https://mirrors.tuna.tsinghua.edu.cn/centos/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-dvd1.iso

Install VirtualBox

This is the same as normal software. Just select the location and follow along. I won’t go into details.

2. Create a new virtual machine in VirtualBox

1. Press Ctrl+N to open the new virtual machine window and fill in the relevant information

Name: Fill in according to your needs. Folder: Choose a disk with a larger space to store it. Try not to put it in the system disk such as the C drive. The system disk can be as many T as you want. Type: Choose Linux Version: Choose according to the image

insert image description here

2. Allocate corresponding memory and adjust it according to your needs

insert image description here

3. Create a virtual hard disk (you can choose the second one for the first installation. Of course, if you already have a virtual disk, you can also choose your own. Here, use the second option)

insert image description here

4. Create a virtual hard disk

insert image description here

VDI is the native format of Virtual Box

VMDK was developed by VMware and is also supported by Sun xVM, QEMU, VirtualBox, SUSE Studio, and .NET DiscUtils.

VHD is the native format of Microsoft Virtual PC and is popular in Microsoft products.

5. Choose the space allocation rule according to your needs

insert image description here

6. The path selection is usually here by default in the folder just now. Select the required size by yourself and click Create.

insert image description here

3. Partial configuration of virtual machine

1. Click the newly created virtual machine and click Settings

insert image description here

2. Configure the iso image of centos8.1 to be a virtual CD: Click Storage,點擊存儲-->點擊沒有盤片-->點擊右側紅標的光盤圖標

insert image description here

3. Select choose a disk file and find the ISO file we downloaded earlier

insert image description here

4. Click Open and then click Network, set Network Card 1 to Bridge Network Card and pay attention to the configuration information at the red mark

insert image description here

5. Now you can start the server (there is a small triangle here, it is recommended to click the separate start button to prevent the virtual machine from shutting down automatically when we close the console later)

insert image description here

6. After waiting for the first time to start, the following prompt will pop up to confirm that it is the one we selected and click Start

insert image description here

7 Select install centos linux 8

insert image description here

8 After waiting for loading, you can continue directly

insert image description here

9. Enter the configuration page and confirm the information first

  • keyboard is english(us)
  • LanguageSupport is English
  • Time & Date is Shanghai time zone (see the following figure)
  • Software Selection settings (illustration will be provided later)
  • installation destination (see diagram below)
  • Network settings () See the following diagram

insert image description here

Set the time zone

insert image description here

Set up a minimal installation (because the subsequent work is basically command line, in order to adapt to the minimal installation I choose here)

insert image description here

Confirm that the disk is checked and click done

insert image description here

Network card settings: Turn on the switch at the specified location and click done.

insert image description here

10. After confirming the above, start the installation

insert image description here

11. Wait for the installation and set the root password yourself during the process (you must set it!)

insert image description here

12. After waiting for the installation to complete, click the reboot button, select the device button on the console, click to assign the CD-ROM drive, and then remove the virtual disk (to ensure smooth entry into the system after restarting)

insert image description here

13. After the restart is complete, enter the system and enter the root account password. After successful entry, our system has been installed.

Subsequent supplement

1. If you are testing a virtual machine, it is recommended to turn off the firewall

Disable firewall systemctl stop firewalld.service
Disable boot startup systemctl disable firewalld.service
Check the firewall status and confirm that it is closed systemctl status firewalld.service

Summarize

This is the end of this article about the detailed tutorial on how to minimize the installation of Centos8.1 virtual machine in VirtualBox. For more relevant content about VirtualBox installing Centos8.1 virtual machine, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope everyone will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Detailed explanation of VirtualBox + CentOS virtual machine network card configuration
  • Detailed tutorial on installing CentOS 7 on VirtualBox virtual machine
  • How to install CentOS 7 on VirtualBox virtual machine
  • Detailed explanation of centos6.5 network settings in VirtualBox
  • Detailed explanation of network configuration for installing centOS on virtualbox virtual machine

<<:  JavaScript timer to achieve limited time flash sale function

>>:  Solution to the MySQL server has gone away error

Recommend

How to solve the problem of margin overlap

1. First, you need to know what will trigger the v...

Vue implements tree table through element tree control

Table of contents Implementation effect diagram I...

Detailed explanation of Vue router routing guard

Table of contents 1. Global beforeEach 1. Global ...

A brief analysis of the count tracking of a request in nginx

First, let me explain the application method. The...

A brief analysis of adding listener events when value changes in html input

The effect to be achieved In many cases, we will ...

JavaScript to implement the aircraft war game

This article shares with you how to use canvas an...

MySQL chooses the appropriate data type for id

Table of contents Summary of Distributed ID Solut...

Analyze the method of prometheus+grafana monitoring nginx

Table of contents 1. Download 2. Install nginx an...

Detailed explanation of MySQL EXPLAIN output columns

1. Introduction The EXPLAIN statement provides in...

A brief discussion on the whole process of Vue's first rendering

Table of contents 1. Vue initialization vue entry...

Javascript implements simple navigation bar

This article shares the specific code of Javascri...

Detailed explanation of JS browser storage

Table of contents introduction Cookie What are Co...