DevOps Training - Day 1 Assignment
Installing Oracle VirtualBox and Running Unix Commands on Ubuntu
Step 1: Install Oracle VirtualBox
The first step is to install Oracle VirtualBox, which is software that allows you to run a virtual
computer inside your real computer.
1. Go to the VirtualBox website and download the latest version for your operating system
(Windows, macOS, or Linux).
2. Open the downloaded file and run the installer.
3. Follow the on-screen instructions to complete the installation.
After installing VirtualBox, you can use it to create and run virtual machines (VMs).
Step 2: Download Ubuntu ISO
Now, we need to download the Ubuntu operating system in ISO format.
1. Visit the official Ubuntu website and download the latest Long-Term Support (LTS) version.
2. The file will be in ISO format, which is like a digital version of a CD/DVD that we will use to
install Ubuntu inside VirtualBox.
Step 3: Create a Virtual Machine (VM)
Now, we will create a new virtual machine in VirtualBox and install Ubuntu on it.
1. Open VirtualBox and click on the "New" button to create a new VM.
2. Give your VM a name (for example, "Ubuntu DevOps") and select:
o Type: Linux
o Version: Ubuntu (64-bit)
3. Allocate 4GB of RAM (if your computer has enough memory; otherwise, choose at least
2GB).
4. Allocate 20GB of storage to install Ubuntu.
5. Click Create and then select Start to power on the VM.
6. When asked, attach the Ubuntu ISO file you downloaded earlier.
7. Follow the on-screen instructions to install Ubuntu inside the VM.
After completing the installation, restart the VM and log in to your Ubuntu system.
Step 4: Update Ubuntu
Once Ubuntu is installed, it is important to update it so that you have the latest software and security
updates.
1. Open the terminal (you can find it in the applications menu or press Ctrl + Alt + T).
2. Run the following command to update Ubuntu:
sudo apt-get update && sudo apt-get upgrade -y
o sudo gives you admin (superuser) access.
o apt-get update refreshes the list of available updates.
o apt-get upgrade -y installs the latest updates without asking for confirmation.
After running this command, Ubuntu will download and install updates. This may take a few minutes
depending on your internet speed