User Tools

Site Tools


user:jpettie:portfolio:hpcproject2

Project: CREATING VIRTUAL MACHINES

A project for HPC Fundamentals by Jacob Pettie during the Spring 2012 Semester.

This project was begun on 02/02/12 and is anticipated to take one week to complete. Project was completed on MONTH DAY, YEAR. (Not Completed Yet)

Objectives

The purpose of this project is to learn how to successful install a server with virtual machine capabilities. The point of this project is to learn and implement the install of a virtual machine server. We hope to accomplish the task of installing a virtual machine server so that we can create virtual machines for the next project.

Prerequisites

In order to successfully accomplish/perform this project, the listed resources/experiences need to be consulted/achieved:

  • ability netboot a computer.(See Project 0)
  • ability to install a linux operating system. (See Project 0)
  • ability to find an install package with aptitude.
  • ability to use vi or nano to edit a file in linux.
  • ability to request files from the lair.
  • knowledge of basic linux commands.

Background

The end result of this project is a working virtual machine server to be later used to create virtual machines to perform multiple tasks at one time with.

Virtual Machine Servers are used to perform tasks that physical computers do individually in a virtual environment. Alternatively, Virtual Machine Servers can be used to access multiple operating systems in different virtual environments at the same time remotely.

Execution Part 1

Steps to installing a Virtual Machine Server:

  1. Boot the computer you are using from the network boot.
  2. Choose the correct 32/64bit configuration.
  3. Choose to install linux version “Lenny”.
  4. Continue through each step of the install until you get to the menu to choose what to install, instead press the “Home” key and select to enter your own mirror.
  5. When prompted for the name of the mirror, enter “mirror” and then continue with the install.
  6. Continue through the steps of the install making sure to use “bob” as the password for the root user.
  7. When the install is complete and the computer has restarted, make sure to change the boot order back to the Hard Drive as the top priority in boot order.
  8. When prompted with the terminal, enter the root user with the password “bob”.
  9. In root user access, type the command “userdel “name of the user you created during install””, type “y” to confirm the delete. (This step is to clear all users from the server except the root user.)
  10. Use the command “ls” to view files and the command “rm” to remove the sources.list file in the “blank” directory, the command issued will be “rm sources.list”.
  11. Run aptitude install and aptitude upgrade next, using the commands “aptitude install” and “aptitude upgrade”.
  12. Search for the xen package for virtual machine servers using the command “aptitude search xen”.
  13. Install the appropriate xen package. (-2, -686)
  14. Install xen-tools
  15. Install ssh-server
  16. Attempt to access the virtual machine server from a remote computer location other than the computer it is installed on.
  17. Follow the Execution Examples below.

First Set of Execution Examples

lab46:~$ ssh root@vmserver02.student.lab
vmserver02:# userdel a
vmserver02:# cd /etc/apt
vmserver02:/etc/apt# rm sources.list
vmserver02:/etc/apt# wget web.lair.lan/files/student/sources.list sources.list
vmserver02:/etc/apt# aptitude install vim
vmserver02:/etc/apt# vi sources.list

Execution Part 2

- When in vi, replace all references of debversion with lenny using: :%s/debversion/lenny/g

user/jpettie/portfolio/hpcproject2.txt · Last modified: 2012/02/16 15:33 by jpettie