0% found this document useful (0 votes)
168 views5 pages

NT-TRN-V1.1-Devops-VM Box Lab and Network Setup

This document provides instructions for setting up a virtual machine (VM) using Oracle VM VirtualBox and installing CentOS 7. It outlines downloading and installing VirtualBox, downloading the CentOS 7 image, creating a new VM configuration, and mapping the CentOS image to the configuration. It also describes how to enable virtualization in the system BIOS if needed and how to install and configure the CentOS 7 operating system and network settings within the VM.

Uploaded by

SANA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
168 views5 pages

NT-TRN-V1.1-Devops-VM Box Lab and Network Setup

This document provides instructions for setting up a virtual machine (VM) using Oracle VM VirtualBox and installing CentOS 7. It outlines downloading and installing VirtualBox, downloading the CentOS 7 image, creating a new VM configuration, and mapping the CentOS image to the configuration. It also describes how to enable virtualization in the system BIOS if needed and how to install and configure the CentOS 7 operating system and network settings within the VM.

Uploaded by

SANA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

VM Box Setup

* For Devops practise need a Desktop/Laptop with Dual Core support, 8 GB RAM,
Virtualisation Support

* Any desktop/Laptop that is manufactured after 2006 - it will support virtualization


however, we are not sure if it is enabled or enabled, in BIOS

Step 1: install oracle VM box

https://www.virtualbox.org/wiki/Downloads

under VirtualBox 6.1.18 platform packages--> download only "windows hosts"

download it. --> install it... --> next ... next ..finish

note: get a pop up says about do you want to disconnect network and configure ..

select Yes.

Step 2: have to download the centos 7 image

link : https://www.centos.org/download/

make sure that we have to download centos linux 7 image --"x86_64 ", click on it,

then, in new page select "CentOS-7-x86_64-Minimal-2009.iso" and download it.

Step 3: open the oracle VM box and create the image configuration.
if redhat 64 bit option is not available, then it confirm that virtualisation is disabled
in BIOS

step 4: we have to map the download centos image to image configuration

Step 5: to install the OS...

we linux in CUI format - like real time.

ESC key on keyboard...

boot: linux text

[X] - already configured

[!] - have to configure - mandatory

[ ] - have to configure -optional

Like in windows -- create an administrator password...

In linux /unix -- root

4GB - 20 minutes

8GB - 10 minutes

12 GB - 7/8 minutes
Solution : issue with REDHAT 64 bit option is not available.

1. uninstall oracle VM box

2. Youtube/google : how to enable virtualisation in BIOS <model of laptop>

3. Virtualisation : enable it

4. save the bios and come out

5. install oracle vm box and try it,

VM BOX NETWORK SETUP STEPS

Step 1: identify your network - wired or wireless

step 2. Right click on the network connection that is identified and select the option
"Open Network and Sharing Center", it will open a new window.

step 3: In new windows, look for the option, "Change Adapter Settings" and then click
on it.

Step 4 : Identification

Wired --> Realtek

Wireless --> Qualcomm

Step 5 : In VM Box, Please select the image that is required , & click on settings, it will
open a window, in that , select "Network"
- Make sure we check the option Enable Network Adapter

- Attached to should be Bridged Adapter

- Select "Name" based on the network Connection Type( wired or Wireless)

- Then expand "Advanced", then change the value of "Promiscuous mode to Allow All

- Make sure that "Cable connected" is checked whether it is a wired or wireless


connection.

Step 6 : Start the Image(Linux), and login into PC

Step 7 : enter command to activate the network, # nmtui

- we will get a window, --> select "Activate a Connection"

- Make sure that we activate it.

- Quit from nmtui window.

Step 8 : to get IP address use command, # hostname -I

or

# ip addr show

....
....

identify network adapter(enp0s3) --> inet value

or

# ifconfig

note: to install this # yum install net-tools

You might also like