Upgrade kernel version in Centos

You have centos 7.9 with an old kernel, like: [root@fss-a1 ~]# uname -r 3.10.0-1160.36.2.el7.x86_64 And you want to upgrade kernel version in Centos. Just execute: rpm –import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm yum –enablerepo=elrepo-kernel -y install kernel-lt vim /etc/default/grub #change GRUB_DEFAULT=0 grub2-mkconfig -o /boot/grub2/grub.cfg reboot You should have something like (/etc/default/grub): GRUB_TIMEOUT=1 GRUB_DISTRIBUTOR=”$(sed ‘s, release .*$,,g’…

Highlight ansible YAML and Jinja syntax in vim Editor

Sometimes, I’m getting a bit confused and messing up my files because I don’t have a decent format highlight. Then I thought how great would be to highlight ansible YAML and Jinja syntax in vim Editor. Also, this will helpful to have more fun over your coding. Active syntax colors in your YAML and Jinja…

Bridge your dummy interface in centos7

I had to start using a dummy interface in my server to make it portable, like a demo in-a-box. Every time that I’ve tried to disconnect it and use other network. I had to make a lot of changes to my configuration: very messy. Basically, I will tell you how to bridge your dummy interface…