Installation guide

The steps will be further discussed in the next sections.
3.1.1. Creating a Private Channel
Before local packages can be provided through the Red Hat Network Proxy Server, a private channel is
needed to store them. Perform the following steps to create a private channel:
1. Log in to the Red Hat Network Web interface at https://rhn.redhat.com or to the local Red Hat
Satellite server in the network.
2. Click Channels on the top navigation bar. If the Manage Channels option is not present in the
left navigation bar, ensure that this user has channel editing permissions set. Do this through the
Users category accessible through the top navigation bar.
3. In the left navigation bar, click Manage Software Channels and then the create new
channel button at the top-right corner of the page.
4. Select a parent channel and base channel architecture, then enter a name, label, summary, and
description for the new private channel. T he channel label must: be at least six characters long,
begin with a letter, and contain only lowercase letters, digits, dashes (-), and periods(.). Also enter
the URL of the channel's GPG key. Although this field is not required, it is recommended to
enhance security. For instructions on generating GPG keys, see the Red Hat Network Channel
Management Guide.
5. Click Create Channel.
3.1.2. Uploading Packages
Note
You must be an Organization Administrator to upload packages to private Red Hat Network
channels. T he script will prompt you for your Red Hat Network username and password.
After creating the private channel, upload the package headers for the binary and source RPMs to the
Red Hat Network Server and copy the packages to the Red Hat Network Proxy Broker Server. T o upload
the package headers for the binary RPMs, issue the following command:
rhn_package_manager -c "label_of_pri vate_channel" pkg-list
This command will upload the header of the package to the channel name specified, and the package
itself to /var/spool/rhn-proxy/rhn.
pkg-list is the list of packages to be uploaded. Alternatively, use the -d option to specify the local
directory that contains the packages to add to the channel. Ensure that the directory contains only the
packages to be included and no other files. Red Hat Network Package Manager can also read the list of
packages from standard input (using --stdin).
To upload the package headers for the source RPMs:
rhn_package_manager -c "label_of_pri vate_channel" --source pkg-list
If you have more than one channel specified (using -c or --channel), the uploaded package headers
will be linked to all the channels listed.
Chapter 3. Red Hat Satellite Proxy Information
57