Step by Step Guide to Configure Virtual Machine

16
Steps to Configure a Virtual Machine  1 Learn Share and Grow Steps to Configure a Virtual Machine Purpose of Document This document covers the information how to install virtual machine and describes the settings required to configure the network between guest and host operating system Host Operating System: Windows 7 Guest Operating System: Linux Red Hat 5.4.8 Assumptions This Guide is written assuming that you know how to install Linux and you want to configure your Linux for Apps installation. Out of Scope Installation of Linux is out of scope Prepared By Syed Farhan Ashraf Prepared Date June 7, 2013 Last Updated June 7, 2013 Author Signature and Contact Information Learn Share and Grow [email protected]

Transcript of Step by Step Guide to Configure Virtual Machine

Page 1: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 1/16

Steps to Configure a Virtual Machine  1

Learn Share and Grow

Steps to Configure a Virtual Machine

Purpose of Document This document covers the information how to install virtual machine and describes

the settings required to configure the network between guest and host operating

system

Host Operating System: Windows 7Guest Operating System: Linux Red Hat 5.4.8

Assumptions This Guide is written assuming that you know how to install Linux and you want to

configure your Linux for Apps installation.

Out of Scope Installation of Linux is out of scope

Prepared By Syed Farhan Ashraf

Prepared Date June 7, 2013

Last Updated June 7, 2013

Author Signature and

Contact Information

Learn Share and Grow

[email protected]

Page 2: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 2/16

Steps to Configure a Virtual Machine  2

Learn Share and Grow

Steps to Configure a Virtual Machine

1. 

Configure Microsoft Loop Back Adapter and give any IP e.g 192.168.1.8

2. 

Open the VM Ware Player

Page 3: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 3/16

Page 4: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 4/16

Steps to Configure a Virtual Machine  4

Learn Share and Grow

5. 

Select he guest operating system as Linux and select the version below. As I am going to install

Linux 5.4 update 8, so I have selected Red Hat Linux Version 5.

Alternatively if you select the first radio button in above screenshot and Linux CD is in the CD

ROM, System will automatically select the Linux Version.

6. 

Provide the location to install the OS and give the name and press NEXT

Page 5: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 5/16

Steps to Configure a Virtual Machine  5

Learn Share and Grow

7. 

Privide the space required along with radio option selected to make VM in one single file

8. 

Click Finish

Page 6: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 6/16

Steps to Configure a Virtual Machine  6

Learn Share and Grow

9. 

Click Edit Setting and make the RAM Size as per your system.

10. 

Make sure to select following settings for network adaptor

Page 7: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 7/16

Steps to Configure a Virtual Machine  7

Learn Share and Grow

Click OK and install Linux.

Installation steps for Linux in out of scope of this doucument and will be covered in separate document.

Once installatoion of Linux is done on virtual machine. Configure a Fixed IP on Linux Machine by logging

in through root user and opening the network interface following the mentioned below menu

navigation

Page 8: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 8/16

Steps to Configure a Virtual Machine  8

Learn Share and Grow

Following screen will open, Select the ethernet card and click edit

Page 9: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 9/16

Steps to Configure a Virtual Machine  9

Learn Share and Grow

Configure the IP as given below. Make sure that you configure the IP in same scheme as you have used

while configuing the Microsoft Loop Back Adaptor.

Page 10: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 10/16

Steps to Configure a Virtual Machine  10

Learn Share and Grow

Click OK.

Go to location /etc

Page 11: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 11/16

Steps to Configure a Virtual Machine  11

Learn Share and Grow

and make changes as follows

Page 12: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 12/16

Steps to Configure a Virtual Machine  12

Learn Share and Grow

Once you save it, this entry will be visible in HOSTS tab on network screen as follows.

Page 13: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 13/16

Steps to Configure a Virtual Machine  13

Learn Share and Grow

Now search for the hosts file in host operating system. Navigation of this file is as follows

Page 14: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 14/16

Steps to Configure a Virtual Machine  14

Learn Share and Grow

C:/Windows/

System32/Drivers/etc

 

And edit the hosts file in host operating system as follows. You need to add the entry of guest operating

system IP as follows

At this point of time, all configurations are done and both machines should ping each other.

Page 15: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 15/16

Steps to Configure a Virtual Machine  15

Learn Share and Grow

From Host to Guest Machine

From Guest to Host Machine

Page 16: Step by Step Guide to Configure Virtual Machine

8/10/2019 Step by Step Guide to Configure Virtual Machine

http://slidepdf.com/reader/full/step-by-step-guide-to-configure-virtual-machine 16/16

Steps to Configure a Virtual Machine  16

Learn Share and Grow