[LINUX] Steps to install CentOS 8.1 in Virtual Box

Prerequisites

-** VirtualBox 6.0 ** installed --Downloaded CentOS-8.1.1911-x86_64-dvd1.iso --Host OS: ** Windows7 ** (fixed IP address: 192.169.0.2/24) --Guest OS: ** CentOS-8.1.1911 ** (fixed IP address: 192.168.0.10/24)

Installation procedure

1. Start VirtualBox

Double-click the VirtualBox launch shortcut to launch VirtualBox.

01.png

2. Create a new virtual machine

Click New in Oracle VM VirtualBox Manager.

02.png

3. Create a virtual machine

Enter the following and click the "Create" button.

item Settings
name CentOS-8.1.1911
Machine folder C:\DK\VirtualBox
type Linux
version Red-Hat (64bit)
Memory size 2048MB
hard disk 仮想hard diskを作成する

03.png

4. Create a virtual hard disk

Enter the following and click the "Create" button.

item Settings
File location C:/DK/VirtualBox/CentOS-8.1.1911/CentOS-8.1.1911.vdi
file size 16GB
Hard disk file type VDI (VirtualBox Disk Image)
File disk storage in physical files Fixed size

04.png

Creation of the virtual machine will start. (It will take some time.)

05.png

5. Virtual machine creation completed

"** CentOS-8.1.1911 **" is added.

06.png

6. Virtual machine settings

With "** CentOS-8.1.1911 **" selected, click the "Set" button.

07.png

7. Virtual machine (system) settings

Select "System" and the "Boot Order" is (1) "Floppy" (2) "Optics" (3) "Hard disk" In the order of (1) "Floppy" (2) "Hard disk" (3) "Optics" Change in the order of.

08.png

09.png

8. Virtual machine (storage) settings

Set the DVD image CentOS-8.1.1911-x86_64-dvd1.iso as the boot disk.

Select "Storage" and click the "Add Optical Drive" icon in "Controller: IDE".

10.png

Click the "Select Disc" button.

11.png

Click the Add button on the media.

12.png

Select the downloaded CentOS-8.1.1911-x86_64-dvd1.iso.

13.png

Make sure that CentOS-8.1.1911-x86_64-dvd1.iso has been added and click Select.

14.png

Controller: Make sure that CentOS-8.1.1911-x86_64-dvd1.iso is added to the IDE.

15.png

9. Virtual machine (network) settings

Select "Network", select "Bridge Adapter" as the adapter, and click the "OK" button.

16.png

10. Start the created virtual machine

With "** CentOS-8.1.1911 **" selected, click the "Start" button. (CentOS-8.1.1911-x86_64-dvd1.iso will be started as the installation media at startup.)

17.png

11. Menu selection

Select "Install CentOS Linux 8.0.1905" and press the "Enter" key.

18.png

12. Select the language to use during installation

Select "Japanese" as the language to use during installation and click the "Continue" button.

19.png

13. Keyboard settings

Click "Keyboard".

20.png

Make sure it is in Japanese and click the "Finish" button.

21.png

14. Language support settings

Click Language Support.

22.png

Make sure Japanese is selected and click the "Finish" button.

23.png

15. Installation source settings

Click "Install Source".

24.png

Make sure that "Auto-detected installation media" is checked and click the "Finish" button.

25.png

16. Software selection settings

Click Select Software.

26.png

Select "Base environment", "Other software in the selected environment" and click the "Finish" button. (Here, select "Server (using GUI)" as the base environment, and select "FTP server", "Development tool" and "Graphical management tool" as other software in the selected environment to install.)

27.png 28.png

17. Installation destination settings

Click "Install to".

29.png

Check the contents of the installation destination and click the "Finish" button. (Here, "Automatic configuration" is selected as the storage setting, but it is also possible to select "Custom" to set the partition.)

30.png

18. KDUMP settings

Click "KDUMP".

31.png

Uncheck "Enable kdump" and click the "Finish" button. (This time it is for trial use, so I unchecked it, but if you want to refer to the kernel dump when a problem occurs, check it.)

32.png

19. Network and host name settings

Click Network and Hostname.

33.png

Turn Ethernet on and click the Settings button.

34.png

Open the "IPv4 Settings" tab, select "Manual" as the method, enter the address, netmask, gateway, and DNS server, and click the "Save" button. When setting multiple DNS servers, enter them separated by ,.

35.png

Enter the "Host Name", click the "Apply" button, and then click the "Finish" button.

36.png

20. Date and time settings

Click Date and Time.

37.png

Select "Region" and "City", set "Network Time" to "On", and click the "Set" button. (Here, "Asia" is set for the region and "Tokyo" is set for the city.)

38.png

After setting the NTP server, click the "OK" button. The following Japanese NTP servers are set here.

39.png

Click the "Finish" button.

40.png

21. Start installation

Click the "Start Installation" button.

41.png

22. Setting root password

Click Root Password.

42.png

Enter the root password and click the Finish button.

43.png

If you also want to perform "Create User", click "Create User" and enter the user information.

45.png

The installation will continue.

46.png

23. Reboot after installation is complete

After the installation is complete, click the "Restart" button.

47.png

You can see that there is an error at startup. This error will be addressed later.

48.png

24. License agreement

Click License Information.

49.png

Check the contents, check "I accept the license agreement", and click the "Finish" button.

CentOS8 Linux EULA

CentOS 8 Linux comes with no guarantees or warranties of any sorts, either written or implied.

The Distribution is released as GPLv2, Individual packages in the distribution come with their own licences. A copy of the GPLv2 licences is included with the distrobution media.   
CentOS8 Linux EULA

CentOS 8 Linux disclaims any kind of warranty, written or implied.

The distribution is released as GPLv2, and each package in the distribution comes with its own license. A copy of the GPLv2 license is included on the distribution media.

50.png

Click the "Finish Settings" button.

51.png

25. Log in as root to check

Click "Can't find your account?"

52.png

Enter "root" as the user name and click the "Next" button.

53.png

Enter your password and click the Sign In button.

54.png

Make sure that "Japanese" is checked on the "Welcome" screen, and click the "Next" button.

55.png

Make sure that "Japanese" is checked on the "Input" screen, and click the "Next" button.

56.png

On the "Privacy" screen, set "Location services" to "Off" and click the "Next" button.

57.png

Click the "Skip" button on the "Online Account" screen.

58.png

Click the "Get Started with CentOS Linux" button on the "Ready" screen.

59.png

The "For first-time users" screen will be displayed. Click the "x" button to close it.

60.png

Click "▼" and then click the "Power" button.

61.png

Click Power Off.

62.png

26. Resolve startup errors

Eliminates the startup error that occurred in "** 23. Reboot after installation is complete **".

With ** CentOS-8.1.1911 ** selected in Oracle VM VirtualBox Manager, click the Settings button.

63.png

After selecting "Display", select "Vbox VGA" as the graphic controller and click the "OK" button.

64.png

With ** CentOS-8.1.1911 ** selected in Oracle VM VirtualBox Manager, click the Launch button.

65.png

Make sure it starts without any errors.

66.png


that's all

Recommended Posts

Steps to install CentOS 8.1 in Virtual Box
Steps to install MySQL 8.0 on CentOS 8.1
Steps to install Ubuntu in VirtualBox
Steps to install VirtualBox on CentOS
Steps to deploy EMLauncher on CentOS 8
Steps to install matplotlib on Mac
How to install PyPy on CentOS
How to install Maven on CentOS
Steps to install python3 on mac
Install Django in a pipenv virtual environment
Install Pyaudio to play wave in python
[5 steps] Apply anaconda virtual environment to VScode
Steps to install Python environment on Ubuntu
How to install Apache (httpd) on CentOS7
How to install Eclipse GlassFish 5.1.0 on CentOS 7
Manage python packages to install in containers
How to install Apache (httpd) on CentOS8
How to install python3 with docker centos
First steps to try Google CloudVision in Python
How to install pip, numpy in Autodesk MAYA
3 steps to put Python + mecab in yum only
CentOS8 --Install --Django
Error when trying to install psycopg2 in Python
CentOS8 --Install --Python3
Steps to install your own library with pip
What to do if pip install fails in Xcode 5.1
How to run python in virtual space (for MacOS)
Steps to install the latest Python on your Mac
Procedure to install TensorFlow in fish shell environment (Anaconda 4.0.0)
How to install Git GUI and Gitk on CentOS
How to install Google Test / Google Mock in Visual Studio 2019
How to install poetry (error handling) in zsh environment
Put matplotlib in Centos7.
Install Faiss on CentOS 7
How to install Python
install diagrams in wsl
How to install pip
How to install archlinux
Install numba on CentOS 7.2
How to install python
How to virtual host
Install Python3.4 on CentOS 6.6
How to install BayesOpt
virtual environment in python
Introducing Python 2.7 to CentOS 6.6
Install mecab-python on CentOS
Install Python 2.7.3 on CentOS 5.4
How to install Prover9
Install awscli on centos7
Install Chainer on CentOS 6.7
Install The Virtual Brain
How to install Python2.7 python3.5 with pyenv (on RHEL5 CentOS5) (2016 Nov)
[Road to intermediate Python] Install packages in bulk with pip
Steps to install a Git cloned package locally with pip
A note on how to load a virtual environment in PyCharm
How to develop in a virtual environment of Python [Memo]
Procedure memo to put AWS command line interface in CentOS6