Exercises-Packages.pdf - CS260P EXERCISES-PACKAGES Boyd...

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

CS260P E XERCISES -P ACKAGES Boyd Exercises-Packages In this exercise we practice minimal skills with rpm and yum and with yum 's configuration files. Before you start this exercise, you should have cloned your P-test naming the clone P-packages as indicated in the instructions in Exercises-VMBasics . If you have not, do so now. Make sure P-test is not running, then start P-packages, log onto it, change the hostname, and restart it. (Remember, it uses the same ip address as P-test , so you should not start P-test while P-packages is running) Open two windows to your VM - either on the console or via ssh . You will devote one window to ftp and the other to operating on the packages retrieved. Become root in both windows. This VM should have a single yum repository set to our CentOS7 dvd. First, check that ftp is installed. If not, install it using yum install ftp . This first part of the exercise will show you how to install a package that has a few dependencies if you do not have a valid yum repository. Begin by disabling your single yum repository. Edit the .repo file and change the enabled option to 0 . Finally, connect to root 's home directory in both windows, and begin. 1. In ftp , open a connection to mirrors.kernel.org . The account is anonymous and the password is anything you want. Once connected, cd to centos/7 (It is a symlink to the latest CentOS7 version) and list it. You will see two important directories: os and updates . We will be using both of these directories. [Note, this server has a short timeout and you will be disconnected if you do not maintain activity. If this happens, reconnect and navigate back to where you were.]
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