Tweaking RunCloud Servers After Deployment

Here are some references for various fix ups or tweaks that I apply to servers with the RunCloud control panel. These are not all done inclusively, it depends on the need.Change root passwordThe root password initially generated by your host provider…
Turn off SSH passwords in Ubuntu, connect via SSH keys only

Once you have a successful connection to your remote instance with SSH keys, it is better practice to disable SSH Password Authentication to mitigate further bruteforce password attempts, this coupled with a service like Fail2ban will further strengthen your Virtual…
Install and configure Fail2ban for CloudPanel on Ubuntu 22.04

CloudPanel out of the box comes with an application to deal with brute force attacks on SSH, NGINX and WordPress, only SSH has a configuration, the app is called Fail2ban.Fail2ban is an app which bans access to your site from IP…
Add Monit to monitor MariaDB or MySQL database on a CloudPanel instance on Ubuntu 22.04

Get up and running with Monit on Ubuntu 22.04 on CloudPanel. Monit can be used to monitor your MariaDB or MySQL database and restart it if it is stopped – the database may be stopped due to a lack of…
Set up malware scanner LMD Maldet and ClamAV on a CloudPanel instance

How to set up a Maldet malware scanner with LMD Maldet and ClamAV on a CloudPanel server instance.One of the popular and open source malware scanners is an app called Linux Malware Detect and works well scanning any Linux web…
Adding 7G WAF Firewall for NGINX to CloudPanel

The 7G WAF firewall by Jeff Starr at Perishable Press is a great addition for server level WAF protection, here is a guide on how to add it to CloudPanel’s NGINX stack.Download the 7G WAF NGNIX versionDownload the 7G WAF…
Add a Swap Partition to a Ubuntu 22.04 instance

Below is a guide on how you can add a swap disk/partition to a Ubuntu 22.04 instance, I would recommend that you have a decent amount of hard disk space available to avoid constant use of the swap drive, a…
Set monit to monitor mariadb on a RunCloud instance on Ubuntu 22 & 24

Get up and running with Monit on Ubuntu 22.04Install MonitSSH as root into your VM instance and install Monitapt updateapt install monitStart/stop/restart and see the status of monitsystemctl status monitsystemctl start monitsystemctl stop monitsystemctl restart monitStatus will tell if it’s…
Using MySQL Tuner with MariaDB on Ubuntu 22.04

Leaving MariaDB settings out of the box may work for some people but not so productive for others, MariaDB can be a resource hog if not checked and result in issues like OOM-Killer(Out of memory) knocking it off.You can use…
Restart and view status of RunCloud services on the Command Line

Here are some command line commands to view the status as well as restart some key services such as OpenLiteSpeed, MariaDB, Redis and Memcached, after having SSH’ed in to your server as root.MySQL/MariaDBGet the status of MariaDBsystemctl status mariadbOutput will…