Linux – rhn-channel and Spacewalk

The Spacewalk server is your custom rpm server which hosts all your rpm packages. If you want to connect to an Spacewalk server, you need to viers install the following package:


You can find all my latest posts on medium.
$ yum install rhn-setup

the following lists all channels a machine is subscribed to:

# rhn-channel --list

Alternatively do:

$ spacewalk-channel --list

to register a client to a spacewalk server, you use the rhnreg_ks command:

$ rhnreg_ks --activationkey {channel name}

To subscribe to a new channel, we do:

See also:

also run the following command to check what repos you’re connected to:

$ yum repolist