Tag Archives: security updates

Red Hat 6 or CentOS 6: Yum Tips – Lock Package Versions and Only Apply Security Updates

Red Hat 6 or CentOS 6: Yum Tips – Lock Package Versions and Only Apply Security Updates | In Red Hat 6 or CentOS 6, it is possible to selectively pin or mask a particular package version to keep it from updating. It is also possible to list and apply pending security updates as opposed to security and bug fixes. This is ideal for environments that only want to push out security fixes

Combine apt-get update and apt-get upgrade in one command

Combine apt-get update and apt-get upgrade in one command | On Ubuntu or Debian, it is possible to make a small bash one-liner to fully update the host with one simple command. I’ll show you how! 1. Create a file called ‘update’ in /usr/local/bin: $ sudo nano /usr/local/bin/update 2. Type the following for the file contents, then save with Control+X. #!/bin/bash sudo apt-get update &&

Ubuntu Server MOTD Include Security Updates

Ubuntu Server MOTD Include Security Updates | Ubuntu Server can display outstanding package and security updates as the MOTD when logging in locally or via ssh. I’ll show you how! To enable this feature, install the following package: $ sudo apt-get install update-notifier-common The terminal output will look as below: $ ssh user@example.com Linux example.com 3.0.18-linode43 #1 SMP Mon Jan 30 11:44:09