Results 1 to 2 of 2

Thread: server restart required when?? No orange icon!

  1. #1
    Join Date
    Oct 2007
    Beans
    142
    Distro
    Ubuntu 10.04 Lucid Lynx

    server restart required when?? No orange icon!

    I have got a server up and running that I'm controlling using ssh. One thing I was wondering about is basic package management and system updates.

    On my desktop machine a nice little icon pops up and notifies me that I need to update and upgrade. Furthermore, if (not that often but sometimes) a restart is required it lets me know.

    Am I expected to run aptitude update, safe-upgrade, etc just every once and a while to check? I suppose I could put a text file in the daily cron section.. but even if I had it auto update and upgrade what about restarts? How will I know if the packages upgraded will require a system restart?

  2. #2
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: server restart required when?? No orange icon!

    I personally use aptitude to check for updates once a week:

    Code:
    sudo aptitude update
    and then to upgrade:

    Code:
    sudo aptitude safe-upgrade
    I use safe upgrade as I would rather not be stuck with a server that doesn't work.

    As far as restarting, the only time you need to restart is if there is a kernel update, and I don't bother if things are working as they should.

    I wouldn't create a script for updating, as there is the chance that an unattended update could make your server unusable.

    Jim
    Last edited by cariboo; October 5th, 2008 at 01:41 AM. Reason: Forgot something

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •