This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:rlott:portfolio:project2 [2012/03/06 16:00] – [Background] rlott | user:rlott:portfolio:project2 [2012/03/06 16:10] (current) – [References] rlott | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Linux VM Server Install====== | ||
+ | A project for uninx/linux by rob Lott | ||
+ | This project was begun on 2/12/2012 and is anticipated to take 2/ | ||
+ | =====Objectives===== | ||
+ | This process will install a virtual machine onto target Linux machine. | ||
+ | =====Prerequisites===== | ||
+ | In order to successfully accomplish/ | ||
+ | * Desktop installation complete | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | =====Background===== | ||
+ | |||
+ | This project is to show how to install a virtual server on a linux based machine. | ||
+ | |||
+ | Xen | ||
+ | VirtualBox | ||
+ | KVM | ||
+ | VMware | ||
+ | Parallels | ||
+ | VirtualPC | ||
+ | … | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | =====Scope===== | ||
+ | |||
+ | =====Attributes===== | ||
+ | State and justify the attributes you'd like to receive upon successful approval and completion of this project. | ||
+ | |||
+ | * One should gain a since of knowledge and love for virtual machine. | ||
+ | * attribute2: why you feel your pursuit of this project will gain you this attribute | ||
+ | * etc... | ||
+ | |||
+ | =====Procedure===== | ||
+ | The actual steps taken to accomplish the project. Include images, code snippets, command-line excerpts; whatever is useful for intuitively communicating important information for accomplishing the project. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | . Install the Debian GNU/Linux 5.0 (aka “Lenny”) to a blank device via netboot onto one of the towers in the back of the room. | ||
+ | -32 bit(i386) | ||
+ | | ||
+ | - see Linux Desktop installation for turtorial if first step not complete | ||
+ | .Network configuration | ||
+ | | ||
+ | -no proxy | ||
+ | | ||
+ | .Accounts | ||
+ | -the username and password can be set to " | ||
+ | # can be changed later | ||
+ | .clock config | ||
+ | - it would be best if you config your clock to the eastern US time zone. but its your choice | ||
+ | .Disk Partition | ||
+ | - Use the entire disk for partition | ||
+ | | ||
+ | - finish up and write to drive | ||
+ | .Software | ||
+ | -ssh should be selected | ||
+ | .After Reboot | ||
+ | -Once logged on as user. enter into your superuser profile by typing su and passwd when prompt. | ||
+ | # | ||
+ | - cd /etc/apt | ||
+ | - rm source.list | ||
+ | - wget http:// | ||
+ | - Type vi sources.list | ||
+ | -In the vi Editor type ”: | ||
+ | #This will replace lenny with squeeze | ||
+ | | ||
+ | #This will save and quit all at once | ||
+ | - aptitude update | ||
+ | - aptitude upgrade | ||
+ | - aptitude install ssh | ||
+ | - aptitude install vim | ||
+ | - aptitude search xen | ||
+ | #look for xen files the are compatable with the 32 bit/ (i386) | ||
+ | - Aptitude install xen-linux-system-2.6.32-5- xen686 xen-tools xen-hypervisior-4.0-i386 | ||
+ | #When promted on a " | ||
+ | - aptitude purge xen-hypervisior-4.0-amd64 | ||
+ | - type shoutdown -r and return to your seat. | ||
+ | . external log in | ||
+ | -from a seperae terminal ssh to your vm server | ||
+ | -# ssh root@vmserver## | ||
+ | - enter passwrd | ||
+ | - vi / | ||
+ | - type / | ||
+ | - modify the line of text by removing the '#' | ||
+ | - then save and quit. | ||
+ | - vi to vi / | ||
+ | - type / | ||
+ | - hit the ' | ||
+ | - change the foling lines | ||
+ | <cli> loop | ||
+ | forcedeth max_interrupt_work=20 optimization_mode=1 poll_interval=100 | ||
+ | </ | ||
+ | #to | ||
+ | | ||
+ | <cli> | ||
+ | loop max_loop=255 | ||
+ | #forcedeth max_interrupt_work=20 optimization_mode=1 poll_interval=100 </ | ||
+ | - type :x to save and quit | ||
+ | .next | ||
+ | - type vi / | ||
+ | - delete the file's content and press ' | ||
+ | # | ||
+ | | ||
+ | <cli> # | ||
+ | # / | ||
+ | # | ||
+ | | ||
+ | ## | ||
+ | ## Virtual Machine configuration | ||
+ | ## | ||
+ | dir = /xen | ||
+ | install-method | ||
+ | | ||
+ | ## | ||
+ | ## Disk and Sizing options | ||
+ | ## | ||
+ | size = 2Gb # Disk image size. | ||
+ | memory | ||
+ | swap = 128Mb # Swap size | ||
+ | fs = ext3 # use the EXT3 filesystem for the disk image. | ||
+ | dist = squeeze | ||
+ | images | ||
+ | | ||
+ | ## | ||
+ | ## Network configuration | ||
+ | ## | ||
+ | dhcp = 1 | ||
+ | gateway | ||
+ | netmask | ||
+ | | ||
+ | ## | ||
+ | ## Password configuration | ||
+ | ## | ||
+ | passwd | ||
+ | | ||
+ | ## | ||
+ | ## Package Mirror configuration | ||
+ | ## | ||
+ | arch = i386 | ||
+ | mirror | ||
+ | mirror_squeeze | ||
+ | | ||
+ | ## | ||
+ | ## Filesystem settings | ||
+ | ## | ||
+ | ext3_options | ||
+ | ext2_options | ||
+ | xfs_options | ||
+ | reiser_options | ||
+ | | ||
+ | ## | ||
+ | ## Xen VM boot settings | ||
+ | ## | ||
+ | pygrub | ||
+ | | ||
+ | ## | ||
+ | ## Xen VM settings | ||
+ | ## | ||
+ | serial_device | ||
+ | disk_device | ||
+ | | ||
+ | ## | ||
+ | ## Xen configuration files | ||
+ | ## | ||
+ | output | ||
+ | extension | ||
+ | |||
+ | =====Code===== | ||
+ | Upon completion of the project, if there is an applicable collection of created code, place a copy of your finished code within < | ||
+ | |||
+ | |||
+ | |||
+ | =====Reflection===== | ||
+ | Comments/ | ||
+ | |||
+ | =====References===== | ||
+ | In performing this project, the following resources were referenced: | ||
+ | |||
+ | * lab46 crew | ||
+ | * google.com | ||
+ | * admin | ||
+ | * URL2 | ||
+ | * URL3 (provides useful information on topic) | ||
+ | * URL4 | ||
+ | |||
+ | Generally, state where you got informative and useful information to help you accomplish this project when you originally worked on it (from Google, other wiki documents on the Lab46 wiki, etc.) |