You are here

Redhat Noob rhn-channel?

5 posts / 0 new
Last post
dangibbons
dangibbons's picture
Redhat Noob rhn-channel?

Hi,

I'm trying to follow the RHEL instructions but I'm stuck on this line:

6. For RHEL 6, we need to enable the optional RHN repositories (RHEL 5 users don’t need to do this):

rhn-channel --add --channel="rhel-x86_64-server-optional-6" -u rhn-username -p rhn-password 

I have absolutely no idea what this is but running it doesn't work:

[root@ip-10-53-44-52 ec2-user]# rhn-channel --add --channel="rhel-x86_64-server-                    optional-6" -u rhn-username -p rhn-password An error has occurred: <type 'exceptions.TypeError'> See /var/log/up2date for more information [root@ip-10-53-44-52 ec2-user]#   Any idea how I can get past this step?   Thanks   Dan
smarsh
smarsh's picture
Re: Redhat Noob rhn-channel?
Hi Dan,   Do you have a Red Hat subscrption? It looks like you are copying and pasting and something weird is potentially happening (i notice a big space between "-server-" and "optional-6) - the command should be:   rhn-channel --add --channel="rhel-x86_64-server-optional-6"    Hope this helps, Sam
dangibbons
dangibbons's picture
Re: Redhat Noob rhn-channel?

Hi

No we don't have a Red Hat subscription as we just spin up an AWS server at the moment.  I thought I need to provide a username/password but wasn't sure why.

Is this step required?

Thanks

Dan

smarsh
smarsh's picture
Re: Redhat Noob rhn-channel?

Hi Dan,

Not sure why your using the Red Hat build if you dont have a RHN subscription - why dont you just use Centos instead? :) 

There are ways around it by using the EPEL repositories, etc but we are getting into the realms of RHN here, not Opsview.

Best,

Sam

smarsh
smarsh's picture
Re: Redhat Noob rhn-channel?

Hi Dan,

Just to follow-up - my colleague is who is more AWS-savvy than I has pointed out that the Red Hat builds on AWS come already setup with the channels /repo's so you should be good to skip this step.

Best,

Sam