The identification of an OSD / Disk serial number in Ceph is especially important in the event of disk failure. This can be achieved with a couple of commands: ceph-volume…
Find OSD serial in Ceph Proxmox
Block WordPress Login and XMLRPC attacks for cPanel and DirectAdmin using CSF
Any web hosting admin will tell you that a lot of server resources are wasted due to attacks on WordPress instances. A quick and effective solution is to create a…
Resize/increase Proxmox Backup datastore disk
Suppose you created a datastore of 5TB in the new Proxmox Backup and wish to increase this, the process isn't quite as simple as in Proxmox VE. If you're running…
Remove files/directories starting with certain string
In Linux if you want to remove all files and folders starting with the string "2020" you can run the following command: rm -rf 2020*
Redirect www to non-www htaccess
Using www in web addresses is definitely a thing of the past, and if you want everything starting with www to be redirected to non-www you can use the following…
Run MySQL commands from Bash
Add option to php memory_limit CloudLinux
By default CloudLinux only allows a memory limit in the PHP Selector of up to 512M. To add more options you can edit the following file: nano /etc/cl.selector/php.conf And then…
Deny direct access to php files
If you have a contact form or any other form that communicates with a php file in order to send you an email etc, but you don't want that php…
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…
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…









