Category: "Rocky"
DMARC / DKIM
October 11th, 2022After some more trouble with email, I decided to set up DMARC / DKIM to help prevent major email servers from rejecting email from strav.net
How To Install and Configure DKIM with Postfix on Debian Wheezy
Setup OpenDKIM
docker-dmarc-report
How to Recover GRUB 2 Bootloader in CentOS 8
October 11th, 2022The linked article details how to recover the GRUB 2 Bootloader in Centos 8 (and likely other similar distros)
Install Java on Centos/Rocky
October 10th, 2022How To Migrate from CentOS 7 to Rocky Linux 8
October 9th, 2022This article explains how to migrate from Centos 7 to Rocky Linux 8. Note that I experienced numerous issues doing this and there is NO official way to perform this migration. The 'proper' way to do this is to install Rocky Linux 8 from scratch.
grub2 - remember last selected item
March 22nd, 2022For nearly all cases, I want the bootloader on a multi-boot machine to boot into the last selected option. I've had grub2 on a number of distros now and I always need to jump through hoops to get this to work properly. It looks like I need to do a couple things:
1. Edit the /etc/default/grub file and ensure the following two lines exist:
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
2. Update grub. For debian/ubuntu, the command is:
update-grub
for Arch/Rocky the command is:
grub2-mkconfig –o /boot/grub2/grub.cfg
Now for the hitch - on an EFI system (at least Arch and Rocky), you ALSO need to run this command (substituting the appropriate distribution name):
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
