Solved

CentOS 5.3: how to update Linux via CLI remotely?

Posted on 2010-08-15
5
694 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
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 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