LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-08-2011, 06:46 AM   #1
JakesHat
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Rep: Reputation: Disabled
Production Ubuntu Server needs updates


I am a new Linux admin, and I have inherited a few machines that have been running for quite awhile without being updated. The login screen says there is 275 updates available with 150 of them security updates. I've done quite a bit of research on the apt-get command, and I don't think I'll have any problem running the updates, but I of course fear that with so many updates to be done something will not match up just right, and things will break. I've considered doing only security updates, but the number of updates is still very high. Since this is a virtual server I plan to clone it, and then run the updates on the clone first as a test run, and as long as everything goes ok then move on to the test server, and finally the production server.

Besides getting a good back up, and making another clone for a quick rollback what are some other things I should be thinking about? Are my fears well founded or do updates usually run smoothly, and not break too much? Should I update everything in one step or should I break it down and upgrade small groups of packages at a time? Any advice would be greatly appreciated.

-Jake
 
Old 11-08-2011, 10:18 AM   #2
_bsd
Member
 
Registered: Jan 2010
Location: Velveeta, USA
Distribution: Xen, Gentoo,Ubuntu,openSUSE,Debian,pfSense
Posts: 98

Rep: Reputation: 9
I've applied hundreds of updates at once on various Ubuntu installs and only had one failure, and that was an attempted upgrade to new distro.

Your plan is fine, make a backup, apply updates to the server and test.

It would take an inordinate amount of time to attempt to go through the updates and apply one but not another. If most are security, many of those are likely patches and then new fixes, which will be applied in the correct order if you accept all at once.

Can't go wrong with a complete backup, personally I make periodic backups of all of my OS using fsarchiver.
 
Old 11-08-2011, 11:05 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by JakesHat View Post
Since this is a virtual server I plan to clone it, and then run the updates on the clone first as a test run, and as long as everything goes ok then move on to the test server, and finally the production server.
In a production environment that is the way to go with every update, not only if there are many updates at once. Good plan, just try it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Copying OpenBSD Kernel from a non production to production machine lcxpics *BSD 3 05-05-2011 02:58 AM
32bit Test Server for 64bit Production Server jmxfield Linux - Newbie 4 03-21-2011 06:50 PM
Haven't rebooted Ubuntu server in 4-months with updates. This okay? Micro420 Linux - Server 3 07-27-2007 10:07 AM
How to retire a production server Jzarecta Linux - Enterprise 6 12-07-2006 11:54 PM
Production server? RusRob Debian 2 09-02-2005 01:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration