Installing a Linux OS on the VM
The procedure varies depending on the image file you use. This section uses Ubuntu 20.04 as an example to describe how to install a Linux OS on the VM.
Prerequisites
You have obtained the ISO image file, for example, Ubuntu-20.04-server.iso.
Procedure
Use the ISO file to install Linux for the empty VM.
- In VirtualBox Manager, select the new VM and click Settings.
Figure 1 Setting the VM
- Choose Storage > Empty, click in the Attributes area, and select the ISO image file Ubuntu-20.04-server.iso.
Figure 2 Selecting the ISO file to be mounted
Figure 3 Mounted ISO file
- Click OK.
- In VirtualBox Manager, select the new VM and click Start.
Figure 4 Starting the VM
- Install the OS.
- Select English and press Enter.
- Select Continue without updating.
- Retain the default settings for the keyboard. Select Done
- Retain the default settings for the installation base. Select Done.
- Retain the default settings for the network. Select Done.
The installation program will automatically identify the IP address. If the network cannot be found, the installation program can still continue and you can configure the network again after the installation is complete.
- Retain the default settings for the proxy. Select Done.
- Retain the default settings for the software source. Select Done.
- Retain the default settings for disk partitioning (use an entire disk and set up this disk as an LVM group). Select Done.
The file system information will be displayed. Check it and select Done.
Confirm the destructive action and select Continue.
- Configure the server name, username, and password. Select Done.
Your name: It is not a username for logging in to the server. You can consider it as server description.
Your Server's name: It is a unique server name on the same network. The name cannot contain uppercase letters.
Pick a username: It is a username for logging in to the server. If you forget it or its password, you will not be allowed to log in to the server.
Choose a password: It is the password for logging in to the server.
Confirm your password: Enter your password again.
- Install SSH so that you can remotely connect to the Linux server.
Select Install OpenSSH server. Then, press Tab to select Done.
- Select Done to start the OS installation.
- After the installation is complete, select Reboot to restart the system.
- Select English and press Enter.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.