{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

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

View Full Document Right Arrow Icon
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.]
Background image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}