mhulse / vagrant-latmp

Vagrant LA(T)MP Stack: CentOS 7 + Apache HTTP + Apache Tomcat + MySQL + PHP + Python + Ruby + Node.js
Apache License 2.0
3 stars 3 forks source link

CentOS tips for WIKI #147

Open mhulse opened 5 years ago

mhulse commented 5 years ago
# Get version of OS:
$ cat /etc/centos-release
# See the update history of yum packages:
$ yum history
# See details of specific history entry/operation:
$ yum history info <ID>
# Check for security updates only (kernels and packages):
$ yum --security check-update
# Check all updates:
$ yum check-update
# List installed and available kernels.
# The The kernel handles the basic functions
# of the operating system: memory allocation,
# process allocation, device input and output, etc.
$ yum info kernel
mhulse commented 5 years ago

Rolling back:

https://access.redhat.com/solutions/64069

It's definitely one of those things that if you were worried, you would want to apply updates granularly so if you do just the one package during an update, you can roll back easily

And, some dude on a forum says:

just because they do not fail does not mean they do anything useful. The necessary metadata needed for yum-plugin-security to function - i.e. to know what patches fix what - is missing entirely from the CentOS supplied yum repos. This renders yum-plugin-security a noop and if you use yum update --security then it will always tell you that nothing from CentOS needs an update thus giving you a false sense of security as the reason it doesn't is because it lacks the knowledge to know that such-and-such a patch is a security update. – https://www.centos.org/forums/viewtopic.php?t=59369