Solved

CentOS 5.3: how to update Linux via CLI remotely?

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
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 …
This video discusses moving either the default database or any database to a new volume.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now