Hello, guys. You will figure out how to install Ubuntu Server 18.04 on a virtual machine in this post. When you finish this practice, you will be able to install Ubuntu Linux on a physical computer.
Downloading Ubuntu Server 18.04 ISO File
An ISO file is required to install Ubuntu Server 18.04. You can download it from the Ubuntu website.
https://www.ubuntu.com/download/server
Click the following link to download the ISO file.
http://cdimage.ubuntu.com/releases/18.04.1/release/ubuntu-18.04.1-server-amd64.iso
Installing Ubuntu Server 18.04
Before installing Ubuntu Server, create a virtual machine with the following spec:
Virtual machine name: Ubuntu1804
Hardware compatibility: Workstation 10.x Guest operating system: Linux/Ubuntu 64-bit Processors: 1 Socket/2 Cores Memory: 2048 MB Network connection: NAT I/O controller types: LSI Logic Virtual disk type: SCSI Disk: 20 GB Display: Uncheck Accelerate 3D graphics |
Now connect the downloaded ISO file and power on the virtual machine. If the screen below appears, select a language and then select Install Ubuntu Server.
Please select your location. If you can't find it, choose other to look for it.
Select the keyboard layout you are using.
Enter hostname.
Enter a user account. This account will be used to login into the system after the installation.
Set up the password of your account.
Check the time zone set up automatically. If not correct, select No and set the correct time zone. Now it's time to partition a hard disk. select Manual for manual partitioning.
You'll see the 20GB disk you defined at the time you created the virtual machine. Select the hard disk and then press Enter.
Select FREE SPACE and Create a new partition.
Assign 1GB to create the partition for the /boot file system.
Set the file system type and mount point as shown below.
To set the root file system and swap area, select FREE SPACE and Create a new partition.
Press Enter key to allocate the remaining capacity.
Set the Use as: to physical volume for LVM. Then select Configure the Logical Volume Manager.
PV: Physical Volume
VG: Volume Group
LV: Logical Volume
Select Create volume group to set up VG.
Set the VG name and PV as follows:
select Create logical volume to create two LVs.
enter the LV name and capacity as shown below.
Now select Finish and set the swap_vol LV to swap area as shown below.
set the file system type of the root_vol LV to XFS and then set the mount point to / as shown below.
If the partitioning settings are finished, write the changes. The installation of Ubuntu will then proceed.
I did not set up HTTP proxy.
I selected No automatic updates to perform the upgrade manually.
I selected only OpenSSH server for remote connection.
This is the last step in installing the Ubuntu server. Select Yes for GRUB installation and Continue. Then the system will reboot and the login screen will appear.
After rebooting, try to log in using your account. If you are logged in normally, you will see the screen below.
Good job. You have acquired the skill to install the Ubuntu Server operating system. I encourage you to practice a few more times to become proficient. In the next post, you will find out how to install CentOS 7.6 on a virtual machine. See you next. Thank you.
No comments:
Post a Comment