Solved

CentOS 5.3: how to update Linux via CLI remotely?

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

732 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