• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 713
  • Last Modified:

CentOS 5.3: how to update Linux via CLI remotely?

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
epifanio67
Asked:
epifanio67
  • 3
  • 2
1 Solution
 
FrozeniceCommented:
hi,

you can simple use yum...

yum clean all
yum update


regards,
0
 
epifanio67Author Commented:
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
 
FrozeniceCommented:
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
 
epifanio67Author Commented:
Thank you so much expert!!!!
0
 
FrozeniceCommented:
epifanio67:

your welcome.



br
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now