background image

Using Red Hat Network with Red Hat Linux 6.2

61

7

Using Red Hat Network with Red Hat

Linux 6.2

Red Hat Linux 6.2 shipped with a program named Red Hat Update Agent (

up2date

). However,

this version of Red Hat Update Agent can not be used to connect to Red Hat Network to receive
package updates. You need a new version of the

Red Hat Update Agent

and the

Red Hat Network

Registration Client

to use Red Hat Network on a Red Hat Linux 6.2 system.

To download and install these programs, use the following steps:

1.

In a shell prompt, login as root and execute the command

mkdir rhnpackages

to create a

new directory in which to download the packages.

2.

In the same shell prompt, execute the command

cd rhnpackages

to change to the new direc-

tory.

3.

Download the following packages in the new

rhnpackages

directory: (You might need hold

down the

[Shift]

key and then left-click on the filename to save it or right-click the file and choose

Save.)

http://www.redhat.com/network/service/RHL_62/RPMS/up2date-2.1.7-0.6.x.i386.rpm

http://www.redhat.com/network/service/RHL_62/RPMS/python-xmlrpc-1.2.1-

0.6.x.i386.rpm

http://www.redhat.com/network/service/RHL_62/RPMS/python-1.5.2-27.6.x.i386.rpm

http://www.redhat.com/network/service/RHL_62/RPMS/rhn_regis-

ter-1.0.2-0.6.x.noarch.rpm

http://www.redhat.com/network/service/RHL_62/RPMS/openssl-0.9.5a-2.6.x.i386.rpm

http://www.redhat.com/network/service/RHL_62/RPMS/rpm-4.0.1-0.6x.i386.rpm

http://www.redhat.com/network/service/RHL_62/RPMS/rpm-python-4.0.1-0.6x.i386.rpm

If you want to use the graphical versions of the Red Hat Network Registration Client and the
Red Hat Update Agent, you will also need the following packages. If you are not running the X
Window System, do not download these packages:

http://www.redhat.com/network/service/RHL_62/RPMS/up2date-gnome-2.1.7-

0.6.x.i386.rpm

http://www.redhat.com/network/service/RHL_62/RPMS/rhn_register-gnome-1.0.2-

0.6.x.noarch.rpm

Содержание NETWORK - USER 1.3

Страница 1: ...Red Hat Network User Reference Guide 1 3...

Страница 2: ...unless prior permission is obtained from the copyright holder Red Hat Red Hat Network the Red Hat Shadow Man logo RPM Maximum RPM the RPM logo Linux Library PowerTools Linux Undercover RHmember RHmemb...

Страница 3: ...tering a System Profile 21 2 4 Finishing Registration 25 2 5 Text Mode RHN Registration Client 27 Chapter 3 Red Hat Update Agent Configuration 29 3 1 Configuring the Red Hat Update Agent 29 3 2 Genera...

Страница 4: ...file 48 5 4 Viewing Your Network Group 50 5 5 Viewing Individual System Pages 51 5 6 Downloading Updated Packages 52 5 7 Customizing Preferences 52 5 8 Searching Errata 54 5 9 Viewing Online Help 55 5...

Страница 5: ...c different words are represented in the same style to indicate their inclusion in a specific category The types of words that are represented this way include the following command Linux commands and...

Страница 6: ...tify a particular GUI screen or an element on a GUI screen e g text associated with a checkbox or field Examples On the GNOME Control Center screen you can customize your GNOME window manager Select t...

Страница 7: ...hing will be shown in this style Examples stephen maturin stephen leopard login user input Text that the user has to type either on the command line or into a text box on a GUI screen is displayed in...

Страница 8: ...do routine tasks as root use a regular user account unless you need to use the root account to administer your system WARNING If you choose not to partition manually a server class installation will...

Страница 9: ...Section 0 2 More to Come ix rhn feedback redhat com...

Страница 10: ...x Introduction...

Страница 11: ...urity patches bug fixes and software package enhancements can be downloaded directly from Red Hat using the Red Hat Update Agent standalone application or through a Web browser using the Red Hat Netwo...

Страница 12: ...ns During registration you can configure Red Hat Network to send you email notifications of new and updated software packages Automated notifications of the latest updates Reduce the time and effort r...

Страница 13: ...to Red Hat Linux 7 you might not have the Red Hat Network Registration Client or the Red Hat Update Agent installed To verify that the Red Hat Network Registration Client is installed type the follow...

Страница 14: ...the Red Hat Update Agent runs if the X Window System is available If the packages are not installed they can be found on the Red Hat Linux 7 CD 1 in the RedHat RPMS directory or downloaded from the R...

Страница 15: ...in Menu Button on the Panel Programs System RHN Registration 2 On the KDE desktop go to the Main Menu Button on the Panel Red Hat System RHN Registration 3 Type the command rhn_register at a shell pro...

Страница 16: ...rk Registration Client gives you a brief overview of the services available and the steps required to register see Figure 2 2 Welcome Screen Click Next to continue with the registration process If you...

Страница 17: ...com Figure 2 3 Red Hat Privacy Statement 2 2 Registering a User Account Before you can create a System Profile you must create a user account The only required information in this section is a unique...

Страница 18: ...sword have the following restrictions Must be at least four characters long Are case insentitive Can not contain any spaces Can not contain any tabs Can not contain any line feeds Can not contain the...

Страница 19: ...Registration Client on the new machine you wish to add and enter your existing Red Hat Network user name and password The new machine will be added to your existing System Profile and you can log int...

Страница 20: ...s where notifications will be sent The email address can be changed at any time If you purchased Red Hat Linux 7 Deluxe Workstation or Professional Server enter your Registration Number to activate yo...

Страница 21: ...information about your Red Hat Linux system The software System Profile information is used by Red Hat Network to determine what software update notifications you receive 2 3 1 Hardware System Profil...

Страница 22: ...cation The default value is the hostname for the system You may modify this to be a more descriptive string such as Email Server for Support Team if you find it more helpful If you do not wish to incl...

Страница 23: ...e notifications about the packages in your System Profile Thus if you use an older version of a package and deselect it from the list it will not be replaced with a newer version This RPM list can be...

Страница 24: ...be updated by Red Hat Network To exclude a package uncheck the package from the list by clicking the X beside the package name For example Figure 2 11 Choose which RPM Packages to Exclude from System...

Страница 25: ...4 Finishing Registration As seen in Figure 2 12 Finished Collecting Information for System Profile the last step of registration is to confirm that you want to send your System Profile to the Red Hat...

Страница 26: ...may take some time depending on your connection speed Figure 2 13 Send System Profile to Red Hat Network You will know your System Profile has been successfully sent when you see the Registration Fini...

Страница 27: ...l to the screens for the graphical version of Red Hat Network Registration Client Some of the text in the text mode version is more concise due to lack of space in the interface However there is an eq...

Страница 28: ...28 Chapter 2 Registration Figure 2 15 Text Mode Welcome Screen...

Страница 29: ...arted using one of the following methods On the GNOME desktop go to the Main Menu Button on the Panel Programs System RHN Configuration or Update Agent Configuration for older versions of Red Hat Upda...

Страница 30: ...val Installation tab allows you to customize your software package retrieval and package installation preferences Note Even if you set the Red Hat Update Agent to install the packages automati cally i...

Страница 31: ...le Do not display packages when local configuration file has been modified if the configu ration file has been modified for a package such as Apache and Squid do not display them in the list of availa...

Страница 32: ...define a set of packages to be excluded according to the package name click the Add button next to the Package Names to Skip section and enter a character string including wild cards A wild card at th...

Страница 33: ...Section 3 4 Package Exceptions Settings 33 Figure 3 3 Package Exceptions Settings...

Страница 34: ...34 Chapter 3 Red Hat Update Agent Configuration...

Страница 35: ...ding The Red Hat Update Agent can be started using one of the following methods On the GNOME desktop go to the Main Menu Button on the Panel Programs System RHN Update Agent On the KDE desktop go to t...

Страница 36: ...he first time you run the Red Hat Update Agent the dialog window in Figure 4 1 Install GPG Key will prompt you to install the Red Hat GPG key This is used to verify the RPM packages you download for s...

Страница 37: ...nection to Red Hat Network is being established and that your customized list of updates is being retreived This might take some time depending on the speed of your connection and the number of packag...

Страница 38: ...in Figure 4 5 List of Available Updates Figure 4 5 List of Available Updates By default no packages are selected for download If you highlight each package the package de scription is displayed in th...

Страница 39: ...s of each package retrieval as shown in Figure 4 7 Re trieval Finished When they have all been retrieved the message All finished is displayed at the bottom of the screen Click Next to continue If you...

Страница 40: ...e all the packages installed automatically see Chapter 3 Red Hat Update Agent Configuration the selected packages are installed The progress of installing each package as well as the total progress is...

Страница 41: ...shed 4 4 Update Agent Finished When the Red Hat Update Agent has finished downloading the desired packages and installing them if you chose the install option you will see the screen in Figure 4 9 Upd...

Страница 42: ...mote terminal The command line version of the Red Hat Update Agent accepts the following arguments Table 4 2 Update Agent Command Line Arguments Argument Description a allpackages Show make available...

Страница 43: ...er Register as an anonymous user with Red Hat Network You can register as a full user later by running rhn_register tmpdir directory Override the configured package directory The default location is v...

Страница 44: ...QydLhjVfU1VSl4xt6bupPbWJbyjkg5Z3P7BlUOUJmrx3wCgobNV EDGaWYJcch5z5B1of 41G8kEAKii6q7Gu vhXXnLS6m15oNnPVybyngiw 23dKjS ZVG7rKANEK2mxg1VB vc uUc4k49UxJJfCZg1gu1sPFV3GSa Y 7jsiLktQvCiLP lncQt1dV ENmHR5BdI...

Страница 45: ...6 Syncronizing Your System Profile If you configured the Red Hat Update Agent to install the latest packages automatically then your System Profile stored by Red Hat Network will be updated automatica...

Страница 46: ...46 Chapter 4 Red Hat Update Agent...

Страница 47: ...re updating and what type of updates are available by viewing the System Overview page 4 The Red Hat Network Web Application will only display errata relevant to your network 5 1 Logging into Red Hat...

Страница 48: ...k Web Application only allows you to define a system name choose your system architecture and choose whether or not to include hard ware and software information in your system profile After saving a...

Страница 49: ...ame systemid 5 Open a shell prompt for example an xterm or gnome terminal and log in as root Copy the sys temid file that you downloaded in the previous step to etc sysconfig rhn systemid 6 No hardwar...

Страница 50: ...ems Overview tab each row represents a system in your network group Currently you can register up to five systems To add a new system click the Add New System link on the first available row see Secti...

Страница 51: ...u have not yet viewed Click on the Errata Report link to display a quick summary of the issues to view which of your systems are affected and to view any new packages You can download the relevant pac...

Страница 52: ...in your list or deleted packages from your list Click the Queue Delivery button to let Red Hat Network deliver your packages through the Red Hat Update Agent and Red Hat Network Daemon The next time...

Страница 53: ...RHN session at the end of the timeout period If your session times out you will be prompted to enter your password again before continuing If you choose Never Timeout your session will stay open unti...

Страница 54: ...d Hat Linux releases 4 You can further customize your email notifications by excluding software package categories By default all packages are selected 5 Click the Update button to apply the changes a...

Страница 55: ...wing help is available by clicking the Help Desk button on the top navigation bar Security and Privacy statement FAQs Contact Customer Service Support Forums 5 10 Navigation Below is an outline of the...

Страница 56: ...list of new packages available for the system errata reports relevant to the system the hardware profile for the system and the history of events performed on the system while using the Red Hat Netwo...

Страница 57: ...Section 5 10 Navigation 57 Package Info Dependencies Change Log File List Systems Download List Search Preferences Help Desk Your RHN Account Privacy and Security FAQs Page Help...

Страница 58: ...58 Chapter 5 Red Hat Network Web Application...

Страница 59: ...s one hour 60 minutes If you set the interval below one hour it will default to two hours 120 minutes You can view the status of the rhnsd by typing the command service rhnsd status or etc rc d init d...

Страница 60: ...60 Chapter 6 Red Hat Network Daemon...

Страница 61: ...d then left click on the filename to save it or right click the file and choose Save http www redhat com network service RHL_62 RPMS up2date 2 1 7 0 6 x i386 rpm http www redhat com network service RH...

Страница 62: ...exist Red Hat Update Agent to the version that works with Red Hat Network The Red Hat Network Registration Client will also be installed with this command along with other packages your system needs...

Страница 63: ...redhat com is a destination for Linux and open source solutions of which the Red Hat Network is a key piece Q How do I sign up for Red Hat Network A If you are a member of redhat com you are automati...

Страница 64: ...ned to be user friendly with minimal Linux expertise If you need help detailed information is provided in the Red Hat Network User Reference Guide Q I am a system administrator is this just another ti...

Страница 65: ...Hat engineering After being tested by the Red Hat quality assurance team the package updates are released as part of the Red Hat errata list Notifications received from RHN include all Red Hat errata...

Страница 66: ...r email address is optional However you can not receive email notifications if you do not supply an email address And you ll need to provide additional information to access the Red Hat Network web si...

Страница 67: ...and uninstall individual software packages Please refer to http rpm redhat com for more details Q How do I change my email address for notifications A Logon to Red Hat Network from http www redhat com...

Страница 68: ...myself Can I update my System Profile to reflect the changes A Yes Type the command up2date p at a shell prompt It will update your RPM package list stored on the Red Hat Network servers Use this com...

Страница 69: ...9 Download List 52 Download Update Packages 52 Errata 51 Logging In 47 Main page 47 Navigation 55 Online Help 55 Preferences 52 General 53 Main Page 52 Notifications 53 Search Errata 54 System Detail...

Отзывы: