Solved

CentOS 5.3: how to update Linux via CLI remotely?

Posted on 2010-08-15
5
698 Views
Last Modified: 2013-11-08
Hello Experts,

I installed CentOS 5.3 about 3 months ago, but I haven't done any updates. How do I update my machine via CLI remotely? using putty to SSH to it...

thx,
0
Comment
Question by:epifanio67
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:Frozenice
ID: 33441338
hi,

you can simple use yum...

yum clean all
yum update


regards,
0
 

Author Comment

by:epifanio67
ID: 33441381
thank you...

What does yum clean all do?

Also, when I do yum update, where do the patches go? where can I review in case any of them clashes with any of my app servers?

thx so much expert....
0
 
LVL 4

Accepted Solution

by:
Frozenice earned 500 total points
ID: 33441491
hi,

just 'because' and as a matter of good sysadmin
clean all...

to check first
get a list of packages that are going to be updated, enter:
# yum list updates

to verify wich of your app will need to be updated


to check everything else
# tail -f /var/log/messages
# tail -f /path/to/log/file


To view log of all updated package, enter:

tail -f /var/log/yum.log
less /var/log/yum.log
grep -i bind /var/log/yum.log


regards
0
 

Author Closing Comment

by:epifanio67
ID: 33441526
Thank you so much expert!!!!
0
 
LVL 4

Expert Comment

by:Frozenice
ID: 33441564
epifanio67:

your welcome.



br
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question