By: Suriyal
In this tutorial we will learn how to install Amazon Linux 2 on VirtualBox in window based system.
Platform , software/application, etc. used :
(i) Make sure that you have VirtualBox on you window system, if not download from here https://www.virtualbox.org/wiki/Downloads and install.
(ii) Make sure your system support virtualisation and enable it in your system .
If possible use the following configuration else use default minimum system requirements for running Amazon Linux 2
(a) Open Oracle VirtualBox and Click on New button as shown in the following image
(b) Enter the name for your amazon Linux Virtual Machine. Select Linux and Red Hat (64-bit) and click on next
(c) Select the RAM size (if possible for you select >= 4gb) and click on next button
(d) We have downloaded the .vdi file to our local system hence select “Use an existing virtual hard disk file”
(e) If you have not added your .vdi file yet click on the add button and add the .vdi file (amzn2-virtualbox-2.0.20220426.0-x86_64.xfs.gpt.vdi). Once added just click on choose button.
(f) Now click on create button
(g) Select VM and Click on setting to add seed.iso file
(h) Add Seed.iso boot image file that contains configurations details (like user data) which are required to boot new vm. Follow the steps mentioned in the following image and finally click on choose button.
(i) Now as you can see we have successfully added Seed.iso file. Just click ok to move to next step
(j) We have done all required configurations now start the vm. Click on the start button as shown in the following image
(k) Keep default option selected and press enter
(l) After successful installation you will see the login window as shown in the following image.
Login now – user name = ec2-user & password = amazon
(k) After successful login you will see similar scree as shown in the following image
Extra : You can remove seed.iso file using device menu and add root user password using the following command. This will remove the dependency of seed.iso file.
sudo passwd root
Leave a Reply