1.2.2 Configuring Software Channels Using Oracle Yum Server

Oracle Linux channels can be configured using the spacewalk-common-channels tool provided in the spacewalk-utils package. This tool can automatically configure the required software channels, Oracle Yum Server repositories, GPG keys, and activation keys for Oracle Linux.

The following channels can be created using the spacewalk-common-channels command:

  • For Oracle Linux 7 (x86_64):

    oraclelinux7 (base channel)

    oraclelinux7-optional

    oraclelinux7-addons

    oraclelinux7-uek-r3

    oraclelinux7-mysql55

    oraclelinux7-mysql56

    oraclelinux7-spacewalk22-client

  • For Oracle Linux 6 (i386 and x86_64):

    oraclelinux6 (base channel)

    oraclelinux6-addons

    oraclelinux6-uek

    oraclelinux6-uek-r3

    oraclelinux6-mysql

    oraclelinux6-playground

    oraclelinux6-spacewalk20-client

    oraclelinux6-spacewalk20-server

    oraclelinux6-spacewalk22-client

    oraclelinux6-spacewalk22-server

  • For Oracle Linux 5 (i386 and x86_64):

    oraclelinux5 (base channel)

    oraclelinux5-addons

    oraclelinux5-oracle-addons

    oraclelinux5-unsupported

    oraclelinux5-uek

    oraclelinux5-spacewalk20-client

    oraclelinux5-spacewalk22-client

For example, to create all the 32-bit and 64-bit software channels for Oracle Linux 6, install the spacewalk-utils package and then run the spacewalk-common-channels tool, as follows:

# yum install spacewalk-utils  
# spacewalk-common-channels -v -u swadmin -p password -a i386,x86_64 -k unlimited ‘oraclelinux6*’

Use the spacewalk-common-channels -h command to see full usage information.