dig domain-to-query.co.za @dns1.your-dns-server-domain.co.za +short
Check if your DNS server "works" for a domain name
Create, get, delete cookie Javascript
With tons of information out there I searched for way to long to find out how to do basic cookie manipulation in Javascript / jQuery, so here goes: Create/Set cookie…
Resize Ubuntu Volume group LVM
So you've seen the light and decided to start using LVM. You'll quickly find out that by default Ubuntu doesn't allocate all available disk space to the volume group. To…
Update WordPress image URLs after URL change
If you've moved your WordPress over to another domain or changed the URL you might end up with a situation where the images that have been uploaded are pointing to…
Disable smart error for specific disk Proxmox
We recently removed a disk from Proxmox and started receiving SMART errors with the info FailedReadSmartData. All that was required was to edit the smartd.conf file as follows: nano /etc/smartd.conf…
DirectAdmin website showing as suspended
From time to time DirectAdmin shows a website as suspended even though the website is not suspended. This often happens if a client doesn't pay their hosting invoice, ends up…
Add new disk to Proxmox VM
Adding a new disk to an Ubuntu VM running on Proxmox can be achieved as follows: Click on the VM -> Hardware -> Add "Hard Disk". I always choose cahce…
Enable PHP exec and shell_exec PHP-FPM WHM/cPanel
Edit the following file (be sure to replace username.tld with the appropriate username): nano /opt/cpanel/ea-php70/root/etc/php-fpm.d/username.domain.conf This assumes we are enabling these functions for PHP version 7.0. Simply change according to…
Rename Proxmox node with existing VMs
Please note that I have only tried this on a single Proxmox node, and NOT a node joined to a cluster. Change to the new hostname in the following 3…
Proxmox node hangs – detected Hardware Unit Hang
We have had two instances of one of our Proxmox nodes hanging and upon insepecting /var/log/syslog we observed the following error before the crashes: enp0s31f6: Detected Hardware Unit Hang proxmox…
