Build a CentOS 8 virtual environment on your Mac with VirtualBox

Overview

Purpose

Premise

procedure

  1. Install VirtualBox
  2. Download CentOS 8
  3. Building a virtual environment
  4. Addictive points

1. Install VirtualBox

  1. Access the VirtualBox site
  2. Click the "Download VirtualBox x.y" button to move to the Download Page
  3. Click the "OS X hosts" link under "VirtualBox x.y.z platform packages" under "VirtualBox binaries" to download the .dmg file.
  4. After downloading the file, open the file and double-click "VirtualBox.pkg" in 1.
  5. Follow the steps to complete the installation

2. Download CentOS 8

  1. Access the CentOS site
  2. Click "Download" in the header to move to the Download Page
  3. Click the link where the ISO of "8 (2004)" of "CentOS Linux" is "x86_64", and click one of the links under the message "The following mirrors ..." (* You can choose any of them. )
  4. Click the .iso file containing the "dvd" string in the list to download

3. Building a virtual environment

3.1 Creating a virtual environment

  1. Start VirtualBox
  2. Click "New (N)"
  3. On the "Name and Operating System" screen, enter as shown in the table below * and click "Continue".
  4. You can leave the default "Memory size" (1024MB). Click "Continue"
  5. Leave the default "Hard Disk" (create a virtual hard disk). Click "Create"
  6. You can leave the default "Hard Disk File Type" (VDI (VirtualBox Disk Image)). Click "Continue"
  7. Leave the default (variable size) for "Storage on physical hard disk". Click "Continue"
  8. For "File location and size", leave the default location. Keep the default size (8.00GB) or change it to any size. Click "Create"
item input
name * Optional (with "CentOS 8" etc.)
Machine folder * The default is OK
type Linux
version Red Hat(64-bit)

3.2 Setting up a virtual environment

  1. Select the created virtual environment and click "Start (T)"
  2. The boot disk selection screen will appear, so select the downloaded CentOS 8 .iso file. Click "start"
  3. A black screen will appear, so select "Install CentOS Linux 8.y.z" and return.
  4. The language setting screen will appear. Select "Japanese" and click "Continue (C)".
  5. The "Installation Overview" screen will appear. Check / set the contents of 6 to 8 below.
  6. "Time and Date (T)": Change to "Asia"> "Tokyo"
  7. "Software selection (S)": * The default is OK (server (using GUI))
  8. "Installation destination": * The default is OK
  9. After completing 6-8, click "Start Installation"
  10. The installation will start, so set the "root password (R)" and "create user (U)" until the installation is completed (* When "create user (U)", select "this user" Check "Make an administrator (M)")
  11. After the installation is complete, click "Restart"
  12. Complete when the login screen appears

4. Addictive points

4.1 Small screen size

If you keep the default, the screen size is small and it is difficult to operate, so increase the screen size by the following procedure.

  1. Click "Settings"
  2. Click "Display"
  3. Increase the magnification of "Display magnification" of "Screen" (to about 200%)

4.2 Installation loop

If you keep the default, you will get into a CentOS installation loop (3.2 work loop), so change the setting according to the following procedure to avoid the loop.

  1. Click "Settings"
  2. Click "System"
  3. Change "Startup Order" from "Hard Disk" to "Optical"

Recommended Posts

Build a CentOS 8 virtual environment on your Mac with VirtualBox
Build a JMeter environment on your Mac
Build a Java development environment on Mac
[Introduction] Build a virtual environment of Vagrant + VirtualBox on Window10 [Environment construction]
Build a development environment on AWS EC2 with CentOS7 + Nginx + pm2 + Nuxt.js
Build Java development environment with VS Code on Mac
Build a Node.js environment with Docker
Build a Tomcat 8.5 environment with Pleiades 4.8
Build a XAMPP environment on Ubuntu
Prepare a transcendentally simple PHP & Apache environment on Mac with Docker
Steps to build a Ruby on Rails development environment with Vagrant
Build a PureScript development environment with Docker
Build a Wordpress development environment with Docker
Build an environment with Docker on AWS
How to build a Ruby on Rails development environment with Docker (Rails 6.x)
How to build a Ruby on Rails development environment with Docker (Rails 5.x)
Template: Build a Ruby / Rails development environment with a Docker container (Mac version)
Build a Laravel / Docker environment with VSCode devcontainer
Building a Ruby environment for classes on Mac
Build a WordPress development environment quickly with Docker
Build a streaming server on your iOS app
Build a Laravel environment on an AWS instance
[Win10] Build a JSF development environment with NetBeans
[Ruby on Rails] Let's build an environment on mac
Build a Java runtime environment on Sakura VPS
How to build a Pytorch environment on Ubuntu
Set up a CentOS virtual server with Vagrant
Build a Java development environment with VS Code
How to add a virtual disk to Linux (CentOS7) on VirtualBox to free up space
Build a development environment to create Ruby on Jets + React apps with Docker
Build Growai with Centos7
Create a Java development environment using jenv on Mac
Memo to build a Servlet environment on AWS EC2
Build a Ruby on Rails development environment on AWS Cloud9
Let's create a gcloud development environment on a centos8 container
[Note] Build a Python3 environment with Docker in EC2
[Docker] Build a Wordpress environment locally (Win, Mac) quickly
[Environment construction] Build a Java development environment with VS Code!
How to quit Docker for Mac and build a Docker development environment with Ubuntu + Vagrant
How to build a Jenkins server with a Docker container on CentOS 7 of VirtualBox and access the Jenkins server from a local PC
Build softether VPN with Centos7.
[Oracle Cloud] Build a 4-Node RAC environment of Oracle Database 19c with Docker on OCI Compute
Install Apache on CentOS on VirtualBox
Prepare Python3 environment with CentOS7
Build a "Spring Thorough Introduction" development environment with IntelliJ IDEA
Build docker environment with WSL
A memo to build Jitsi Meet on Azure with docker-compose
Build mate desktop environment on ec2 with terraform (Ubuntu 20.04LTS)
Build a Node-RED environment with Docker to move and understand
How to install GNOME as a desktop environment on CentOS 7
Ruby ① Build a Windows environment
Build a data processing environment with Google Cloud DataFlow + Pub / Sub
Build an environment where pip3 can be used with CentOS7 + Python3
Build apache7.4 + mysql8 environment with Docker (with initial data) (your own memo)
I tried to create a Spring MVC development environment on Mac
Build a development environment where Ruby on Rails breakpoints work on Windows
Building a haskell environment with Docker + VS Code on Windows 10 Home
Build a development environment for Django + MySQL + nginx with Docker Compose
Install Ubuntu Server 20.04 in VirtualBox on Mac and connect with SSH
How to get JDK 11 on your mac in a comfortable way
Create a Vue3 environment with Docker!