User Tools

Site Tools


user:jhammo13:portfolio:project4

Project: Creating Virtual Machine

Prerequisites

* VM Server Install

Objectives

Create a virtual machine thru the created VM server created before. I am mostly creating this in order to implement my facebook terminal install.

Background

It will be a full virtual linux install on a VM server. It will only be the install of 1 VM

Scope

I'd like to use this to implement other prjects I want to do in order to keep them away from lab46 and therefore blowing up the world.

Attributes

  • I'd like to receive a fully functioning machine that I can run test projects on so I'm not blowing up worlds.

Procedure

From the VM server..

vmserver:~# xen-create-image --hostname=vm## --mac=00:16:3e:2e:c0:## --role=udev

The ## is where the number of your VM creation will go. IE My first VM was 01. From the directory listing (put here) I am allocated slots 1 thu 6 so I will begin with 1. The pound signs are where I would put 01 thru 06 depending on which ones I already have installed.

This takes the actual image and creates the VM.

vmserver:~# xm create -c /xen/conf/vm##.cfg

This creates the VM giving it an IP address. (This is a one time process)

Execution

Log in Process

lab46:~$ ssh root@vmserver01.student.lab 
Warning: Permanently added 'vmserver01.student.lab,10.80.3.58' (RSA) to the list of known hosts.
root@vmserver01.student.lab's password: 
Linux vmserver01 2.6.26-2-xen-686 #1 SMP Wed Sep 21 09:56:47 UTC 2011 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Feb 28 21:44:04 2012 from lab46.offbyone.lan
vmserver01:~# ssh root@vm01.student.lab
root@vm01.student.lab's password: 
Linux vm01 2.6.26-2-xen-686 #1 SMP Wed Sep 21 09:56:47 UTC 2011 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Feb 29 02:44:07 2012 from vmserver01.student.lab
vm01:~# 

References

user/jhammo13/portfolio/project4.txt · Last modified: 2012/03/06 15:58 by jhammo13