This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:tcolli12:projects:start [2010/02/16 21:26] – tcolli12 | user:tcolli12:projects:start [2010/03/30 19:30] (current) – tcolli12 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | =====Linux Desktop Install===== | ||
+ | -Setup Boot sequence for legacy hardware of ethernet interface, Restarted Computer | ||
+ | -Setup Boot sequence for ethernet as first boot device, Restarted Computer | ||
+ | -After Restart, I was prompted with what type of system i was running, i chose 32 bit | ||
+ | -Next I was prompted with which package of linux to install, Chose Debian | ||
+ | -Next I was prompted with which version to install, i selected Lenny/ | ||
+ | -Asked to test video mode, or continue with spacebar, chose continue | ||
+ | -Asked what language, i chose english | ||
+ | -Asked what country, Chose United States | ||
+ | -Asked what keymap to use, chose American English | ||
+ | -Several screens appeared, eventually i was aksed to create a hostname, i made mine TIM-COLLINS-DEBIAN | ||
+ | -The domain name is asked next, already inputted was the domain i was in(offbyone.lan) | ||
+ | -List of countires for mirror appeared, i procedded all the way to the top and entered manually | ||
+ | -Asked hostname of mirror, i typed in mirror | ||
+ | -Asked what mirror directory, it was already filled with /debian/ so hit enter | ||
+ | -Asked if i needed a proxy(i did not, so hit enter to continue, leaving the field blank) | ||
+ | -The install procedded to downloaded the neccissary files | ||
+ | -Asked what time zone, i chose Eastern | ||
+ | -Asked what partitioning method to use, i chose Guided - use entire disk | ||
+ | -Asked what disk partition to use, chose IDE1 master(hda) | ||
+ | -Asked which scheme of partitioning to use(chose all files ion one partition) | ||
+ | -Showed me the current partition setup, chose " | ||
+ | -Asked to write changes to disk, chose Yes | ||
+ | -Began installation | ||
+ | -Asked for root password, I set mine to root | ||
+ | -Asked to verify password, re-enterd root | ||
+ | -Asked for Full name for new user, I set mine to Tim Collins | ||
+ | -Asked for username(mine already set to tim, so i hit enter) | ||
+ | -Asked for password of new user(i set mine to tim for now) | ||
+ | -asked to verify password(re-enter tim) | ||
+ | -Begins installing | ||
+ | -During installation i was propted if i could allow the installation information to be collected for statistics, i chose yes | ||
+ | -During installation i was asked what software i wanted to install, i chose Desktop environment(already selected), Standard system(Already Selected), hit enter | ||
+ | -Installation of grub | ||
+ | -Grub prompts if it should be install as master boot, i chose yes | ||
+ | -Prompts that it needs to restart | ||
+ | -removed ethernet cord | ||
+ | -hit enter | ||
+ | -devian started up | ||
+ | =====Debian VM Server Install===== | ||
+ | - Hit F12 for the boot menu when the system starts | ||
+ | - Go to the BIOS setup and change the option for the network controller to On w/ PXE and reboot | ||
+ | - Hit F12 and boot from the integrated NIC | ||
+ | - Choose 32-Bit Debian Lenny, text install | ||
+ | - Choose the language for the install | ||
+ | - Choose United States with American English keymap | ||
+ | - Keep the hostname and domain name the same | ||
+ | - Choose manual entry of information for mirror country and enter mirror | ||
+ | - Keep the package directory and proxy information the same | ||
+ | - Choose eastern time for the time zone | ||
+ | - Choose guided partition, use entire disk | ||
+ | - Choose the only hard drive | ||
+ | - Set the partitioning to put all files in one partition | ||
+ | - Finish partitioning and write changes to disks | ||
+ | - Set root password | ||
+ | - Set the username and password for the user | ||
+ | - Select not to participate in package usage survey | ||
+ | - Uncheck all package information in the choosing functions section and reboot once complete | ||
+ | - Delete / | ||
+ | - Perform aptitude update and aptitude upgrade | ||
+ | - Change the contents of / | ||
+ | - Perform aptitude install xen-linux-system-2.6.26-2-xen-686 xen-tools | ||
+ | - Confirm vif-script and vif-bridge is set and set network-bridge and network-script in / | ||
+ | - Add ' | ||
+ | - Delete the two entries directly below the first kernel section | ||
+ | - Change the contents of / | ||
+ | - Create the directories /xen, / | ||
+ | - install openssh-server openssh-client at command line | ||
+ | |||
+ | |||
+ | =====Create Virtual Maching===== | ||
+ | - Log into the virtual server | ||
+ | - Create a virtual machine through the following command line: xen-create-image --hostname=vm## | ||
+ | - ## = number in hex(i.e: ' | ||
+ | - after it is done creating the vm server you are prompted to give root a password | ||
+ | - after that is done type: xm create -c ../ | ||
+ | - login into the virtual machine | ||
+ | - cd into /etc/apt | ||
+ | - remove the file sources.list | ||
+ | - wget 10.80.2.6/ | ||
+ | - type: aptitude update | ||
+ | - type: aptitude upgrade | ||
+ | - Now enjoy | ||
+ | |||
+ | |||
+ | |||
+ | =====Setting up a Network File System(NFS)===== | ||
+ | |||
+ | ====Setting up the server==== | ||
+ | - Log into the virtual machine that well server as root | ||
+ | - type aptitude intstall nfs-kernel-server | ||
+ | - reboot the vm, (reboot command) | ||
+ | - Log into the virtual machine again | ||
+ | - edit the file / | ||
+ | - add line: /var/ftp 10.80.3.0/ | ||
+ | - type exportfs | ||
+ | ====Setting up the client==== | ||
+ | - Log into the virtual machine that well be client as root | ||
+ | - type aptitude install nfs-common | ||
+ | - reboot the vm, (reboot command) | ||
+ | - Log into the virtual machine again | ||
+ | - mount 10.80.3.1:/ | ||
+ | |||
+ | |||
+ | ====Setting up autofs(Auto file mounting)==== | ||
+ | - Setup client and server first | ||
+ | - aptitude install autofs | ||
+ | - vi / | ||
+ | - put: /home / | ||
+ | - save and exit | ||
+ | - vm / | ||
+ | - put: * serverIP/ | ||
+ | - run: / | ||
+ | - cd into /home =-) |