12.07.2015 Views

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Installing Software 127Finding the SoftwareBefore learning how to install and maintain RPM packages, you need to know where tofind the packages. With an enterprise system, it is crucial to only install software from areliable source. In the case of <strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong>, the trusted source is straight from<strong>Red</strong> <strong>Hat</strong> or a certified software partner or from a <strong>Red</strong> <strong>Hat</strong> certified ISV. If you are installingcustom software built inside your company, be sure it goes through testing beforeinstalling it on production systems. Installing software from other sources is most likelynot supported by your <strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong> support contract.NOTEFor more information on downloading software directly from <strong>Red</strong> <strong>Hat</strong>, refer to Chapter 3.For information on software from other vendors, contact the vendor directly for <strong>Linux</strong>versions of their software.Installing SoftwareInstalling an RPM package can be done via the command line or a graphical program.Because some systems such as servers do not always have a graphical desktop installed, itis important to learn at least the basics of how to use the command-line version of RPM.The command is simple to remember: It is the rpm command.5NOTERoot access is required when installing, upgrading, or removing a package with therpm command.Before installing any software, confirm that it was packaged by a trusted source and hasnot been altered since the trusted source built it. This process is done by checking theGPG signature of the package.First, as the root user, import the GPG signature of the trusted party with the rpm --import command, where is the file containing the key. If you do not knowwhere to securely obtain the key file, ask your trusted RPM source.NOTEKey files for software distributed by <strong>Red</strong> <strong>Hat</strong> can be found in the root directory of thefirst installation CD:RPM-GPG-KEY-fedoraRPM-GPG-KEY-fedora-testRPM-GPG-KEY-redhat-auxiliaryRPM-GPG-KEY-redhat-betaRPM-GPG-KEY-redhat-formerRPM-GPG-KEY-redhat-release

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!