Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
11 Cards in this Set
- Front
- Back
What are the three main options when using the RPM command?
|
rpm -i Install if not already installed
rpm -U Upgrade if already installed, otherwise, install rpm -F Only upgrade if existing, otherwise do not install |
|
What are some helpful switches with regards to the rpm command?
|
v and h mean verbose and add hash marks for progress
|
|
How do you remove a package?
|
rpm -e
|
|
How do you install and RPM from an FTP server?
How about if it requires a password? |
rpm -I ftp://myhost.reef.com/pub/Server/myrpm.1.1.1x86_64.rpm
rpm -I ftp://root:password@myhost.reef.com/pub/Server/myrpm.1.1.1x86_64.rpm |
|
How do you import the RPM GPG key?
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-Key-release
|
|
How do you install a new kernel?
|
rpm -ivh newkernel
-or- yum install kernel |
|
How can you list all packages installed?
|
rpm -qa
|
|
How do you set up a local repository?
|
Install vsftpd (Don't forget to chkconfig it)
Install FTP (so you have a client) copy the /media/RHEL_6.0 x86_64 Disc 1/ of the CD into /var/ftp/pub/ - use cp * -r /var/ftp/pub Edit /etc/yum.repos.d/trigger.repo [triggerfish] name=Chucks Super Triggerix Repository baseurl=ftp://anonymous:anonymous@172.20.165.30/pub run: rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release yum clean all ym update |
|
How do you launch the RedHat Registration?
|
rhn_register
|
|
Why should you never upgrade a kernel?
|
Because a new install will install them side by side so you can revert if you have to
|
|
How can you verify all packages?
|
RPM -Va
|