RedHat

From AdminWiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 +
== Package Management ==
 +
 +
The current choices for installing RPMs are: (listed by convience)
 +
* rpm --install: can only install a single remote rpm
 +
* up2date: you probably need an RedHat EL subscription
 +
* yum: the better up2date, still terrible to use
 +
* apt: ported from Debian, lastly a tool which does it right
 +
 +
Useful options to rpm are <tt>-vh</tt>, which give you verbose output and a progress bar when doing package installation/removal.
 +
 +
== Installing Kernels ==
 +
 +
If you install a kernel using one of the tools above, better check /boot and /etc/grub.conf afterwards. At present, updating these files is job of the package manager, and not of the kernel rpm postinst script. Of course, all tools have implemented this differently and you simply can't rely on it to work.
 +
 +
Also, always 'install' kernels (rpm -ivh) instead of updating (rpm -Uvh) them. Updating will not preserve the old version ...
 +
== Useful Links ==
== Useful Links ==
* [http://www.akadia.com/services/redhat_static_routes.html Setting up Static Routes on Redhat, past and present]
* [http://www.akadia.com/services/redhat_static_routes.html Setting up Static Routes on Redhat, past and present]

Revision as of 02:33, 4 June 2006

Package Management

The current choices for installing RPMs are: (listed by convience)

  • rpm --install: can only install a single remote rpm
  • up2date: you probably need an RedHat EL subscription
  • yum: the better up2date, still terrible to use
  • apt: ported from Debian, lastly a tool which does it right

Useful options to rpm are -vh, which give you verbose output and a progress bar when doing package installation/removal.

Installing Kernels

If you install a kernel using one of the tools above, better check /boot and /etc/grub.conf afterwards. At present, updating these files is job of the package manager, and not of the kernel rpm postinst script. Of course, all tools have implemented this differently and you simply can't rely on it to work.

Also, always 'install' kernels (rpm -ivh) instead of updating (rpm -Uvh) them. Updating will not preserve the old version ...

Useful Links

Personal tools