There are quite a few paid plugins that do a few simple things which can be done for free. header.tpl The first step is to add your Google Tag Manager…
Add Google Tag Manager code to WHMCS
IPSet hash is full csf
When blocking or allowing a large number of IPs with csf and ipset, you may have come across this error: To increase this you can edit the following file: Increase…
Javascript split string based on first occurrence of a character
This guy has a really nice method for splitting a string based on the first occurrence of a character in Javascript: Calling this method can yield the first occurrence of…
How to update DNS TTL for all domains in WHM
How to format drive to ext4 and mount
Find the path of your drive with the following: This will show you the name of the drive such as sda, sdb etc. Assuming the drive name is sdb, you…
How to enable quotas for ext4 Ubuntu 22.04
The first step is to edit your /etc/fstab file as follows: After the discard option, add usrquota and grpquota as follows: Reboot your machine. Finally, run the following command to…
How to remove lock on RBD image (watchers)
When trying to remove an image with rbd, you might have encountered this error: To try and remove this lock is a nightmare when Googling around for a solution. The…
How to install Windows 11 on Proxmox 7
There are a couple of important steps that need to be followed in order to install Windows 11 on Proxmox 7. One the main changes between installing Windows 11 and…
Change hostname Ubuntu 22.04
Most guides will suggest one of the following ways to change the hostname: You’ll find that if you’re running cloud-init, that none of these methods persist the hostname after a…