This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:jbrant:csit1320:project1 [2010/02/03 23:01] – jbrant | user:jbrant:csit1320:project1 [2010/05/15 21:21] (current) – jbrant | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== Virtual Server Install ==== | ||
+ | Upon bootup hit **F12** | ||
+ | |||
+ | Goto **System Setup** | ||
+ | |||
+ | **Chose Integrated Devices** | ||
+ | |||
+ | **Select Integrated NIC** set option to **On w/ PXE** | ||
+ | |||
+ | Reboot: | ||
+ | |||
+ | You should seen a screen with 4 option chose **32-Bit (i386) < | ||
+ | |||
+ | The next screen has 4 options, the one required is:\\ | ||
+ | **Debian/ | ||
+ | |||
+ | Choose a language: **English** | ||
+ | |||
+ | Choose a country: **United States | ||
+ | ** | ||
+ | Keymap: **American English** | ||
+ | |||
+ | Host Name: **vmseverXY** \\ | ||
+ | X=bank number (0 or 1) and Y= system number is system in bank (1-4) | ||
+ | |||
+ | Domain Name: | ||
+ | |||
+ | Debian archive mirror country: Scroll to the top, chose **' | ||
+ | |||
+ | Next **mirror** | ||
+ | |||
+ | NOTE: Use the default settings for the next 3 options | ||
+ | Debian archive mirror hostname: ** mirror** | ||
+ | |||
+ | Debian archive mirror directory: **/ | ||
+ | |||
+ | HTTP proxy information: | ||
+ | |||
+ | Time Zone: **Eastern** | ||
+ | |||
+ | ==== Partitioning the Hard Drive ==== | ||
+ | |||
+ | Partitioning method: | ||
+ | |||
+ | Select disk to partition: **IDE1 master (hda**) | ||
+ | |||
+ | Partitioning Scheme: **All files in partition ** | ||
+ | |||
+ | Write the changes to the disk: **Yes** | ||
+ | |||
+ | Root password: **<enter password> | ||
+ | |||
+ | Verify: **< | ||
+ | |||
+ | Name of user: **<A> < | ||
+ | This will be removed later but you are forced to enter a user id | ||
+ | |||
+ | Verify user account: ** < | ||
+ | |||
+ | Username of account: **<A> < | ||
+ | |||
+ | Password for the user: **<A> < | ||
+ | |||
+ | Verify Password: **<A> < | ||
+ | |||
+ | Participate in the package usage survey: **No < | ||
+ | |||
+ | Software Selection Screen : **< | ||
+ | |||
+ | Install Grub on Master Boot Sector: **Yes < | ||
+ | |||
+ | Once the system is done installing the operating system it will reboot | ||
+ | |||
+ | At the login screen: | ||
+ | |||
+ | Password: **<root password> | ||
+ | |||
+ | ==== Finale configuration of the system to turn it into a virtual server ==== | ||
+ | |||
+ | **userdel -r A < | ||
+ | This removes the userid we created earlier. | ||
+ | |||
+ | Next we need to get an update the systems package database and preform upgrades. | ||
+ | |||
+ | **cd /etc/apt < | ||
+ | |||
+ | **mv sources.list sources.list.bak < | ||
+ | |||
+ | < | ||
+ | |||
+ | **aptitude update < | ||
+ | |||
+ | **aptitude upgrade < | ||
+ | |||
+ | **aptitude search ssh < | ||
+ | |||
+ | **aptitude install openssh-client openssh-server < | ||
+ | |||
+ | Do you want to contine (Y/n) chose **Y** | ||
+ | |||
+ | **aptitude install xen-linux-system-2.6.26-2-xen-686 | ||
+ | |||
+ | Do you want to contine (Y/n) chose **Y** | ||
+ | |||
+ | **cd /etc < | ||
+ | |||
+ | **Vi modules < | ||
+ | |||
+ | Move down to loop and concatenate **max_loop= 255** to the end of the line. Then save the file. **!wq** | ||
+ | |||
+ | Line looks like **' | ||
+ | |||
+ | **cd /etc/xen < | ||
+ | |||
+ | **vi xend-config.sxp < | ||
+ | |||
+ | verify that these two lines are un-commented | ||
+ | |||
+ | (network-script network-bridge) | ||
+ | (vif-script vif-bridge) | ||
+ | |||
+ | Comment out this line ( inserting a **#** as the first character | ||
+ | |||
+ | (network-script network-dummy) | ||
+ | |||
+ | Save file: **!wq** | ||
+ | |||
+ | **cd / | ||
+ | |||
+ | **vi menu.lst** | ||
+ | |||
+ | Edit the following line as indicated: | ||
+ | |||
+ | < | ||
+ | title | ||
+ | root | ||
+ | Add text in quotes==> | ||
+ | module | ||
+ | module | ||
+ | |||
+ | Delete title | ||
+ | Delete root | ||
+ | Delete kernel | ||
+ | Delete Initrd | ||
+ | |||
+ | Delete title | ||
+ | Delete root | ||
+ | Delete kernel | ||
+ | Delete initrd | ||
+ | |||
+ | </ | ||
+ | |||
+ | **Save file: !wq** | ||
+ | |||
+ | **cd / | ||
+ | |||
+ | **vi xen-tools.conf** | ||
+ | |||
+ | Make changes to file so the output look like: | ||
+ | < | ||
+ | dir = /xen | ||
+ | install-method = debootstrap | ||
+ | size = 2Gb # Disk image size. | ||
+ | memory = 128Mb # Memory size | ||
+ | swap = 128Mb # Swap size | ||
+ | fs = ext3 # use the EXT3 filesystem for the disk image. | ||
+ | dist = lenny # Default distribution to install. | ||
+ | image = full # Specify sparse vs. full disk images. | ||
+ | dhcp = 1 | ||
+ | passwd = 1 | ||
+ | kernel | ||
+ | initrd | ||
+ | mirror = http:// | ||
+ | ext3_options | ||
+ | ext2_options | ||
+ | xfs_options | ||
+ | reiser_options = defaults | ||
+ | serial_device = hvc0 #default | ||
+ | disk_device = xvda #default | ||
+ | output | ||
+ | extension = .cfg | ||
+ | |||
+ | NOTE: These lines are not all together in the file please but are in this order. | ||
+ | |||
+ | </ | ||
+ | **Save file: !wq** | ||
+ | |||
+ | **mkdir /xen** | ||
+ | |||
+ | **mkdir / | ||
+ | |||
+ | **mkdir /xen/boot** | ||
+ | |||
+ | **mkdir /xen/conf** | ||
+ | |||
+ | **mkdir /xen/save** |