Upgrade CentOS 7 to CentOS 8 inplace

I wanted to upgrade one of my servers from CentOS 7 to CentOS 8. The following are the steps I followed : Check the kernel version Before we start the upgrade process, let us see the kernel version. # uname -a Linux centostest 3.10.0-1127.el7.x86_64 #1 SMP Tue…

Solution to `linker` error while building `bat`

I was trying to install bat, from source, the clone of cat command with syntax highlighting and Git integration, in a CentOS machine, via cargo, Rust package installer. But it gave me this error: error: linker `cc` not found | = note: No such file or directory (os error 2) error: aborting…

Difference between chcon and semanage

SELinux Security Enhanced Linux, SELinux is the discretionary access control in the Linux distribution. This extra layer of security keeps the user's data safe in the system. SELinux context contains additional information, labels attached to each process, and files to determine the SELinux policy. The extra details about user, role,…