Search This Blog

Monday, April 7, 2025

Disable Kernel modules in Alpine Linux Cloud image for Oracle Cloud

Download Alpine Linux Cloud Image from: https://www.alpinelinux.org/cloud/
Upload the image to OCI and create an instance from it.

I disabled some Kernel modules for security and saving memory.

Remove old drivers from: /etc/mkinitfs/mkinitfs.conf
From:
features="ata base ide scsi usb virtio ext4 nvme"
To:
features="base scsi virtio ext4"


Add 'blacklist drm' to /etc/modprobe.d/blacklist.conf
echo 'blacklist drm' >> /etc/modprobe.d/blacklist.conf
mkinitfs -c /etc/mkinitfs/mkinitfs.conf -b / 
reboot
The grub modprobe.blacklist=drm, does not work either.
updating /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash modprobe.blacklist=drm"


I will try [cloud-init] Bootstrap image next time.

Reference:
https://dev.alpinelinux.org/~clandmeter/other/forum.alpinelinux.org/forum/kernel-and-hardware/blacklist-drivers-builtin-kernel.html
https://wiki.alpinelinux.org/wiki/Initramfs_init
https://wiki.alpinelinux.org/wiki/Xen_PCI_Passthrough

Tuesday, February 11, 2025

reduce checkmk OK -> CRITICAL -> OK on host or service by maximum number of check attempts settings

Checkmk may send out numerous alerts for external hosts or services. It can be overly sensitive at times.

To reduce the frequency of Checkmk sending alerts that switch from OK to CRITICAL and then back to OK within a minute, consider adjusting the maximum number of check attempts.

maximum number of check attempts for host → 3
maximum number of check attempts for services → bigger then 3 normally 4 or 5

Wednesday, February 5, 2025

Direct link for the Zoom Web App client

The zoom desktop client is a heavy app under Linux.

If you want someone to join your meeting without installing the Zoom app, you can send them a join link for the Web Client.
You can use our Web Client as the join_url without leaving the website by replacing /j/ with /wc/.
https://zoom.us/wc/{meetingID}/join

If you like to join with having the user type in their names you can base64 their names at the end of the url.
https://zoom.us/wc/{meetingID}/join?prefer=1&un={base64-firstname-lastname}

Make sure that you’ve also enabled the Join From Your Browser link

Reference: Launch Zoom Web App client without direct.

Thursday, October 24, 2024

Hide XFCE Panel with command line

 # Hide the XFCE panel:

xfconf-query -c xfce4-panel -p /panels/panel-0/autohide-behavior --type int --set 2
xfce4-panel -r

# Show the XFCE panel:

xfconf-query -c xfce4-panel -p /panels/panel-0/autohide-behavior --type int --set 0
xfce4-panel -r

0 = never

1 = Intelligently

2 = Always