Giter VIP home page Giter VIP logo

doupdates's Introduction

Linuxed-bash Package Updater

doupdates.sh is an easy to deploy BASH script shell for RPM-based Linux derives.

About doupdates.sh

There are two important points to be considered:

  1. With Linux realm, performing other jobs on the system while installing updates is a bless.
  2. If you were Windows evangelist, Seriousley! Ther are times when rebooting after installation updates is a good idea. Linux does not do that for you automatically, thanks to god!

Why Should I Care

  • Performing updates specially for couple servers requires you to babysitting them while waiting to enter next command when the previous one complete without chaos
  • This would take a great deal of your time to moniter each computer as it went through update procedures.

Requirements

  1. A Linux RPM based systems.
  2. Superuser privileges to run the script
  3. Turn on the execution bit of the file as shown:
    [user@host]$ su -
     Password:
    [root@host]# chmod 700 doupdates.sh
    
  4. A smile on your face :)

Main Structure of the Script

  • Determine whether any updates are available.
  • Determine whether a package that requires a reboot is being updated such as:
    • kernel
    • glibc
    • systemd
  • Install those updates.
  • If reboot is required, update man pages before hand; if this is not done, new and replacement man pages won't be accessible and old ones that have been removed will appear to be there even though they are not.
  • Rebuild the GRUB bootloader configuration files so that it includes recovery options for each installed kernel.
  • Finally do the reboot if it should.

License

  • Click License for more information.

doupdates's People

Contributors

sennacheribest avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.