Red Hat SATELLITE 5.1.0 RELEASE NOTES Instrukcja Instalacji Strona 172

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 268
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 171
154 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2
11.1 Registering your system with RHN
This section assumes you have already obtained a valid entitlement for RHEL 5 on System z,
or have completed the steps to obtain an evaluation copy. To receive a free 90-day evaluation,
visit:
http://www.redhat.com/rhel/details/eval
Select the link named Red Hat Enterprise Linux AS for IBM eServer™ zSeries and IBM
S/390® and create an account. Before using yum for the first time, you must import the Red
Hat GPG key and register your Linux guest with RHN. Use the commands below, substituting
your RHN user name, password, and host name of the Linux guest.
# rpm --import /usr/share/rhn/RPM-GPG-KEY
# rhnreg_ks --username=myuser --password=mypw --profilename=linux01.itso.ibm.com
11.2 Installing and updating packages using yum
Now that your system is registered with RHN, you can use yum to keep the system updated.
You can download and install the latest version of a package by running yum with the RPM
package name. You can also specify multiple packages on the command line separated by
spaces. The yum install command installs the package if it is not present, and the yum
upgrade command updates to the latest version if it is already installed. If a package has any
dependencies, yum automatically downloads and installs them for you.
Update the cpp package to get the latest security fixes:
# rpm -q cpp
cpp-4.1.1-30
# yum upgrade cpp
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Setting up Upgrade Process
Setting up repositories
rhel-s390x-server-5-beta 100% |=========================| 950 B 00:00
...
=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
cpp s390x 4.1.1-43.el5 RHEL5 2.6 M
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 1 Package(s)
Remove 0 Package(s)
Total download size: 2.6 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : cpp ######################### [1/2]
Cleanup : cpp ######################### [2/2]
Przeglądanie stron 171
1 2 ... 167 168 169 170 171 172 173 174 175 176 177 ... 267 268

Komentarze do niniejszej Instrukcji

Brak uwag