Solved

CentOS 5.3: how to update Linux via CLI remotely?

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

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. …
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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 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