Exercises-VMBasics.pdf - CS260P EXERCISES-VMBASICS Boyd...

Info icon This preview shows pages 1–2. Sign up to view the full content.

CS260P E XERCISES -VMB ASICS Boyd VMBasics - Review of VMs and a Basic Installation Description In this lab we will do a basic installation using an ISO of a boot CD and an NFS installation source. We will then use that basic installation to prepare for a kickstart installation in the next exercise set. You should already know how to access your installed system remotely using ssh and by forwarding the GUI. If you have not already gotten your ip address range, go to our public work area ( /pub/cs/gboyd/cs260p ) on hills and run the ./allocate-ips program. Write down your range. If you are in both cs260a and cs260p this semester you will get different ranges for each course. Note: the name of all VMs in cs260p must start with P-, and they must contain your login id. Examples: P-gboyd-test, P-gboyd.kickstart, etc. Exercise 1 - Preparing the boot information 1. using anonymous ftp, copy the C7boot.iso file from 147.144.23.68 to your host's /spare/tmp directory ( not to your home directory! ). 2. Become root (using su - ) and start virt-manager. (You must always become root using su - before starting virt-manager .) Exercise 2 - Adding (or checking) a Virtual Network In this exercise we will check that the cs260p virtual network exists in the virtual machine manager. You will either have to add the network, or simply check the parameters. 1. In the Edit menu of virt-manager , choose Connection Details and then Virtual Networks 2. Look for the cs260p virtual network. If it doesnt exist, you will have to add it (use the + button). The name of the network must be cs260p , its address space is to be 192.168.110.0/24 . It should use DHCP, but DHCP start/end should be 192.168.110.200 - 240 . Select "forward to any physical device using NAT". The network should be activated automatically. These parameters are very important. If they are correct and you only use the static IPs assigned to you, you will be able to copy your VM to any classroom computer and use it without conflict. Exercise 3 - Doing a default installation 1. In virt-manager , click on the new machine icon. Create a new VM using local install media for the operating system. Then navigate to the ISO image. (It should have the 'auto-detect type' box checked and should detect the system type - if it doesnt, make sure the box to auto-detect is not checked and enter RHEL7 Linux.) Set memory to 1280MB (we will reduce it later), 1 CPU, and create a 15GB system image. Name the machine P-login-test (where login is your login). You will be deleting it after the next exercise set. Choose Customize configuration, and under Network Selection: use cs260p network. Make sure the customize configuration box is checked before you start the installation. Then go ahead and start it. 2. Review the VM parameters and click Begin Installation. When the boot cd menu comes up, type escape and then the text linux askmethod at the boot: prompt During the installation you will have to navigate from screen to screen. Sometimes the 'continue' (or done, or next) button is on the upper left, sometimes on the lower right. (This is annoying since you are viewing the console in a window with scroll bars.) 3. You will have to select your keyboard, then you will be presented with the interactive list of settings.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 2
This is the end of the preview. Sign up to access the rest of the document.
  • Fall '17

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern