Web Hosting Talk







View Full Version : Upgrade of linux Offsite via ssh. Is it possible??


ecomiscool.com
07-05-2001, 11:38 PM
Guys!!

Is it possible to upgrade from RedHat 6.1 to 6.2 on the fly via ssh. Has anyone come across a situation like this.

I may be awarded a contract from a company to upgrade their server since their tech support guy is on vacation. I've only upgraded linux onsite. However I don't want to refuse this offsite upgradation unless I am absolutely sure that it is impossible. Any links to relevant sites will also be appreciated.

Any ideas anyone !!

jks
07-06-2001, 06:44 AM
Originally posted by ecomiscool.com
Guys!!

Is it possible to upgrade from RedHat 6.1 to 6.2 on the fly via ssh. Has anyone come across a situation like this.

I may be awarded a contract from a company to upgrade their server since their tech support guy is on vacation. I've only upgraded linux onsite. However I don't want to refuse this offsite upgradation unless I am absolutely sure that it is impossible. Any links to relevant sites will also be appreciated.

Any ideas anyone !!

I don't see why it should be a problem. Just grab the RPMs and rpm -Uvh them all. I have done it several times before without problems.

(be carefull if you need to install a kernel rpm though)

--
Jens Kristian Søgaard, Mermaid Consulting I/S,
jens@mermaidconsulting.dk,
http://www.mermaidconsulting.com/

ecomiscool.com
07-06-2001, 08:24 AM
Originally posted by jks


I don't see why it should be a problem. Just grab the RPMs and rpm -Uvh them all. I have done it several times before without problems.

(be carefull if you need to install a kernel rpm though)


Is it that simple? wow... Did you do that via ssh. I consulted http://www.redhat.com/support/docs/howto/kernel-upgrade/index.html and they mentioned reboot and using boot floppy. So I am understandably jittery. I need to upgrade the complete system to 6.2.

jks
07-06-2001, 08:27 AM
Originally posted by ecomiscool.com


Is it that simple? wow... Did you do that via ssh. I consulted http://www.redhat.com/support/docs/howto/kernel-upgrade/index.html and they mentioned reboot and using boot floppy. So I am understandably jittery. I need to upgrade the complete system to 6.2.

You need the floppy and the reboot if you want to run the Redhat upgrade utility, yes...

The neat thing is, that the RedHat upgrade utility essentially just runs rpm -Uvh on the RPMs you've got... so you can do that from telnet/ssh as well.

If your RPM is new enough - try using freshen. Then you won't even have to write a perl script to only install the needed rpms.

--
Jens Kristian Søgaard, Mermaid Consulting I/S,
jens@mermaidconsulting.dk,
http://www.mermaidconsulting.com/

ecomiscool.com
07-06-2001, 08:43 AM
Thanks jks, for your all the help. . I think I shall take up the contract, but not before I try on my local server. ;) Thanks again.

DavidU
07-06-2001, 01:06 PM
I don't see why you would be upgrading a server from 6.1 to 6.2

What's in 6.2 that you need?

-davidu

ecomiscool.com
07-06-2001, 01:16 PM
This setup is not for me. My client wants me to set this up for him so that he can install a control panel whose minimum requirement is 6.2. :uhh:

Madman2020
07-07-2001, 02:23 PM
If you upgrade all of the RPMs on 6.1 to the 6.2 ones, that puts your OS basically at 6.2. I have a 6.2 system with RedHat 7.1 RPMs and it runs like 7.1. Although I have done some serious upgrading. :D