background image

36

Chapter 4:Red Hat Update Agent

Argument

Description

-i, --install

Install packages after they are downloaded. This argument will
override the configuraton option

Do not install packages after

retrieval.

-k, --packagedir

Specify a colon separated path of directories to look for packages
before trying to download them.

--nosig

Do not use GPG to check package signatures. This option will
override the saved configuration option.

--tmpdir=directory

Override the configured package directory. The default location
is

/var/spool/up2date

. This option is useful if you do not

have enough space in the configured location.

--justdb

Only add packages to the database and do not install them.

--dbpath

Specify a path where an alternate RPM database to use is found.

The 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 security purposes. Click

Yes

to install the key, and you will not see this message again.

Figure 4–1

Install GPG Key

After installing the Red Hat GPG key, the screen in Figure 4–2, Welcome Screen will appear. It appears
every time you start the

Red Hat Update Agent

. Click

Next

to continue.

Summary of Contents for LINUX ADVANCED SERVER 2.1 -

Page 1: ...Red Hat Network User Reference Guide 2 1...

Page 2: ...Hat Shadow Man logo RPM Maximum RPM the RPM logo Linux Library PowerTools Linux Undercover RHmember RHmember More Rough Cuts Rawhide and all Red Hat based trademarks and logos are trademarks or regis...

Page 3: ...etwork Registration Client 16 2 3 Registering a User Account 18 2 4 Registering a System Profile 21 2 5 Finishing Registration 25 2 6 Text Mode RHN Registration Client 27 Chapter 3 Red Hat Update Agen...

Page 4: ...49 5 1 Logging into Software Manager 49 5 2 Viewing Your Notifications 50 5 3 Adding a System Profile 51 5 4 Viewing Your Network Group 52 5 5 Viewing Individual System Pages 55 5 6 Customizing Prefe...

Page 5: ...represented in different fonts typefaces sizes and weights This highlighting is systematic different words are represented in the same style to indicate their inclusion in a specific category The type...

Page 6: ...s style When you see text shown in this style it is being used to identify a particular GUI screen or an element on a GUI screen e g text associated with a checkbox or field Examples On the GNOME Cont...

Page 7: ...hat it is ready for you to input something 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 tex...

Page 8: ...ine 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 remove a...

Page 9: ...Section 0 2 More to Come ix rhn feedback redhat com...

Page 10: ...x Introduction...

Page 11: ...ts can be downloaded directly from Red Hat You can even have updates automatically delivered directly to your system as soon as they are released The three main components of Red Hat Network are as fo...

Page 12: ...t is issued for your system RPM Updates automatic delivery of packages with optional automatic installation Red Hat Update Agent use the Red Hat Update Agent to download the lastest software packages...

Page 13: ...tions are encrypted using a Secure Sockets Layer SSL connection 5 All packages are tested and verified by the Red Hat Quality Assurance Team before they are added to the Red Hat errata list and Red Ha...

Page 14: ...rovides the Red Hat Update Agent command line version and the Red Hat Network Daemon up2date gnome Provides the GNOME interface graphical version for the Red Hat Update Agent runs if the X Window Syst...

Page 15: ...s and their current values 0 noSSLServerURL http www rhns redhat com XMLRPC 1 enableProxy No 2 httpProxy 3 serverURL https www rhns redhat com XMLRPC 4 debug No Enter number of item to edit return to...

Page 16: ...term or gnome terminal 4 If you are not running the X Window System type the command rhn_register at a virtual console or remote terminal Please refer to Section 2 6 Text Mode RHN Registration Client...

Page 17: ...Screen Red Hat is committed to protecting your privacy see Figure 2 3 Red Hat Privacy Statement The information gathered during the Red Hat Network Registration process is used to create a System Pro...

Page 18: ...ress In the screen shown in Figure 2 6 Create a Unique User Name and Password you must choose a user name and password Once logged into Red Hat Network you can to modify your preferences view your exi...

Page 19: ...ers long Are case insentitive Can not contain any spaces Can not contain any tabs Can not contain any line feeds Can not contain the characters or If you have already registered your system and try to...

Page 20: ...m Profile and you can log into Red Hat Network with your user name and password to view all your systems simultaneously You can register one free system with Red Hat Network Software Manager To regist...

Page 21: ...anged at any time Email notifi cations are only available for systems subscribed to the Software Manager service Click Next to continue 2 4 Registering a System Profile Now that you have a user accoun...

Page 22: ...ostname 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 Optionally you can enter a computer serial or identificatio...

Page 23: ...ecting packages Gathering RPM Database Information Only those packages you choose during this part of the registration will be included in in your System Profile and you will only receive notification...

Page 24: ...System Profile will omit this information from your System Profile Figure 2 9 RPM Package Information Choosing Which RPM Packages to Exclude from the System Profile By default all RPM packages in your...

Page 25: ...inue with the regis tration process Figure 2 10 Choose which RPM Packages to Exclude from System Profile 2 5 Finishing Registration As seen in Figure 2 11 Finished Collecting Information for System Pr...

Page 26: ...his process may take some time depending on your connection speed Figure 2 12 Send System Profile to Red Hat Network You will know your System Profile has been successfully sent when you see the Regis...

Page 27: ...ed Hat Network Registration Client are almost identical 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...

Page 28: ...28 Chapter 2 Red Hat Network Registration Client Figure 2 14 Text Mode Welcome Screen...

Page 29: ...one of the following methods On the GNOME desktop go to the Main Menu Button on the Panel Programs System Update Agent Configuration On the KDE desktop go to the Main Menu Button on the Panel Red Hat...

Page 30: ...rieval 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 call...

Page 31: ...een modified for a package such as Apache and Squid do not display them in the list of available packages Retrieve source RPM along with binary package download both the source src rpm and the binary...

Page 32: ...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 the end of...

Page 33: ...as the graphical version It allows you to configure the settings used by the Red Hat Update Agent and store them in the configuration file etc sysconfig rhn up2date To run the command line version of...

Page 34: ...ystemIdPath etc sysconfig rhn systemid 17 serverURL https www rhns redhat com XMLRPC 18 pkgSkipList kernel 19 adminAddress root localhost 20 forceInstall No 21 fileSkipList 22 retrieveSource No Enter...

Page 35: ...pdate Agent as a standard user you will be prompted to enter the root password before proceeding The Red Hat Update Agent can be started using one of the following methods On the GNOME desktop go to t...

Page 36: ...l up2date This option is useful if you do not have enough space in the configured location justdb Only add packages to the database and do not install them dbpath Specify a path where an alternate RPM...

Page 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...

Page 38: ...f available updated packages is displayed as shown 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 p...

Page 39: ...when you are finished selecting packages Figure 4 6 View Advisory After choosing which packages to update the Red Hat Update Agent tests for RPM dependencies and prompt you if you have chosen to omit...

Page 40: ...eval Finished 4 3 Installing Updated Packages After downloading the packages through the Red Hat Update Agent they must be installed If you chose not to have the packages installed automatically skip...

Page 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 10 Up...

Page 42: ...ot running X you can still run the Red Hat Update Agent from a virtual console or remote terminal If you are running X but want to use the command line version you can force it not to display the grap...

Page 43: ...e downloaded This argument will override the configuraton option Do not install packages after retrieval l list Display the list of updated packages that are available for the system showall Show a li...

Page 44: ...nly specify the package name Do not include the version or release numbers For example the command up2date python downloads and optionally installs the python package if there is a newer version avail...

Page 45: ...http www redhat com about contact Type bits keyID Date User ID pub 1024D DB42A60E 1999 09 23 Red Hat Software Inc security redhat com sub 2048g 961630A2 1999 09 23 BEGIN PGP PUBLIC KEY BLOCK Version...

Page 46: ...at as well as your own keys 4 6 Manual Package Installation If you chose to download the software updates with the Red Hat Update Agent over the Web through Software Manager or have RPM Updates delive...

Page 47: ...log method Thus older logs are in var log up2date 1 var log up2date 2 and var log up2date 3 The log files storeactions performed by the Red Hat Update Agent such as when your RPM database is opened w...

Page 48: ...48 Chapter 4 Red Hat Update Agent...

Page 49: ...ws you to generate custom reports detailing the health and se curity of your Network Group 3 System administrators can quickly determine if their systems require updating and what type of updates are...

Page 50: ...s page displays all Security Alerts Bug Fixes Alerts and Enhancements Alerts collectively referred to as Errata Alerts for all registered systems in your network group see Figure 5 2 Main Page Click t...

Page 51: ...This method only allows you to define a system name choose your system architecture and choose whether or not to include hardware and software information in your system profile After saving a Digita...

Page 52: ...will not appear in your network group immediately The next time the daemon connects to Red Hat Network it will send the information necessary to generate a system profile and the system will appear i...

Page 53: ...are Manager add the system and create a System Profile for it and then click the upgrade link under the Service Level column for the new system This will take you to the Assign Service Levels page Ref...

Page 54: ...port that you want to view The Errata Report page gives you a quick summary of the issues tells you which of your systems are affected and how many packages are included in the update To view the name...

Page 55: ...you can buy additional Software Manager subscriptions upgrade existing System Profiles with no service to service with Software Manager or downgrade a system from Red Hat Network Software Manager to n...

Page 56: ...system yet the Package view will be empty The Hardware Profile tab lists the hardware devices and settings for the currently selected system This information assists the Red Hat Technical Support Tea...

Page 57: ...ystems see Figure 5 5 Visual Alerts Figure 5 5 Visual Alerts 5 6 2 General Preferences Click on the General tab to customize the date time format to use your session timeout value and your session sec...

Page 58: ...Page Under Favorite Guides and Favorite Forums on the Preferences page choose which guides amd forums you want to appear in this list Click the Update button at the bottom of the page to apply the ch...

Page 59: ...rch Errata Alerts 5 8 Viewing Online Help In addition to this User Reference Guide the following help is available by clicking the Help Desk button on the top navigation bar Security and Privacy state...

Page 60: ...60 Chapter 5 Software Manager...

Page 61: ...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...

Page 62: ...62 Chapter 6 Red Hat Network Daemon...

Page 63: ...xecute the command cd rhnpackages to change to the new direc tory 3 In a Web browser download the necessary packages from http www redhat com network ser vice rhl_62 html 4 Go back to the shell prompt...

Page 64: ...64 Chapter 7 Using Red Hat Network with Red Hat Linux 6 2...

Page 65: ...urchase Red Hat Network Software Manager subscriptions A Go to http www redhat com network purchase for instructions Q Can I cancel my Red Hat Network Software Manager subscriptions A To cancel your S...

Page 66: ...address If this does not work for you please call our customer service desk Q Will Red Hat Network update packages that were not installed with the Red Hat distribution A No Red Hat Network currently...

Page 67: ...nt return the error No Route to Host A The system you are running it on is not connected to the Internet or the system is attempting to access Red Hat Network through a proxy server Proxy server setti...

Page 68: ...68 Chapter 8 Frequently Asked Questions...

Page 69: ...r with Red Hat Network Registration Client 15 with Red Hat Update Agent 29 Q Quality Assurance 12 R Red Hat Linux 6 2 Using Red Hat Network with 63 Red Hat Network Daemon 11 61 Disable 61 Status 61 Re...

Page 70: ...8 Secure Sockets Layer 13 Security 12 Software Manager 12 20 Logging In 49 System Detail 55 System Profile 21 Updating on Server 46 Systems Overview 53 U up2date See Red Hat Update Agent user account...

Reviews: