There are loads of articles on the media queries and it can sometimes be a bit of a mission to get one's hands on CSS required to target various screen…
CSS media queries for different screen sizes
Find OSD serial in Ceph Proxmox
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…
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…
Auto start Tomcat and Docker containers
If you have existing Docker containers which you'd like to update to start automatically upon boot, you can run the following command: docker update –restart=always CONTAINER_NAME There are a couple…
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…









