This assumes you have Traefik already setup in Rancher. docker-compose.yml version: '2' volumes: mongodata: driver: rancher-nfs services: mongo-cluster: image: mongo:3.4 volumes: – mongodata:/data/db environment: CATTLE_SCRIPT_DEBUG: '' MONGO_SERVICE_NAME: mongo-cluster command: -…
Setup RocketChat with Mongo Cluster Volume and Traefik – Dockerized in Rancher
Set default page cPanel/WHM
Copy index.html into the following directory: /root/cpanel3-skel/public_html
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…
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…
Check if your DNS server "works" for a domain name
dig domain-to-query.co.za @dns1.your-dns-server-domain.co.za +short
Resize/Expand Proxmox disk Centos DirectAdmin
You've found you're running out of disk space in DirectAdmin (Proxmox VM), and you'd like to allocate more disk space. One would hope that it would be as simple as…
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…
Graphics card not showing in Nvidia X Server Settings Ubuntu
It can sometimes be quite a mission to get Nvidia graphics cards working correctly with Ubuntu/Linux. I recently encountered an issue where after installing the drivers (for the GTX 1060)…
Find duplicate rows MySQL
A nice simple query to find duplicate rows in MySQL: SELECT COLUMN_NAME, COUNT(*) c FROM TABLE GROUP BY COLUMN_NAME HAVING c > 1; Credit to the Tin Man









