Author Topic: Newbie Redhat Question  (Read 523 times)

Doctor V

  • Member
  • **
  • Posts: 661
  • Kudos: 0
Newbie Redhat Question
« on: 5 March 2003, 05:58 »
When I update my redhat system at home, I just open up the redhat network while in kde, it prompts me for the root password and then does all the searching and prompts me for everything.  However, not I am to update redhat remotely, not using KDE, doing it all from the command line (need to update sendmail).  Is there an easy way to do this?  All that I know of is downloading the rpm, ftping it over, and installing it, not being able to, getting all dependancy packages, trying again, getting the dependancy files for the packages upon which sendmail depends, blah you know what I mean.  I am hoping there is a faster and easier way to update the packages using the command line.

God this makes me feel like a noobie,

Thanks in advance,

V

SAJChurchey

  • Member
  • **
  • Posts: 246
  • Kudos: 0
    • http://sajchurchey.htmlplanet.com
Newbie Redhat Question
« Reply #1 on: 5 March 2003, 06:04 »
up2date is a good command.

Although I think that is just the command to bring up the GUI.  I think u have to add different paramaters to do it all on the command line.

[ March 05, 2003: Message edited by: SAJChurchey ]

SAJChurchey                    

Doctor V

  • Member
  • **
  • Posts: 661
  • Kudos: 0
Newbie Redhat Question
« Reply #2 on: 5 March 2003, 06:08 »
I don't want to do it on a gui, I can't do it on a gui.  I'm doing it remotely.  All with the command line.

TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
Newbie Redhat Question
« Reply #3 on: 5 March 2003, 06:12 »
# up2date

Is command line. You might want to configure it: http://www.redhat.com/docs/manuals/RHNetwork/ref-guide/3.3/up2date-config-text.html

Doctor V

  • Member
  • **
  • Posts: 661
  • Kudos: 0
Newbie Redhat Question
« Reply #4 on: 5 March 2003, 06:29 »
ok, I gotcha, up2date.
without the command line is:
up2date --nox

however, when I run that, it says it needs to record the user, which I am assuming to be my redhat network login name and password.  I don't know how to set that up, it dosn't seem to be available under
up2date --nox --configure

Doctor V

  • Member
  • **
  • Posts: 661
  • Kudos: 0
Newbie Redhat Question
« Reply #5 on: 5 March 2003, 07:38 »
And to follow up on that issue, after searching I found that I needed to register the system on RHN, and the commands to do that in the command line are:

rhn_register --nox --configure
rhn_register --nox

after using that I registrerd the system, which included creating an account and giving RH all kinds of info, and took lots of time, after that running the above

up2date --nox --nosig -u

(who needs the damn key) started updating everything, lets see how it goes, I was told to update everything so its going to take a while.

V

Doctor V

  • Member
  • **
  • Posts: 661
  • Kudos: 0
Newbie Redhat Question
« Reply #6 on: 5 March 2003, 07:57 »
And in the end all is well, everything installed properly.  Not so difficult, thanks for your help SAJChurchey and TheQuirk.

  :cool:  

V