Here are some references for various fix ups or tweaks that I apply to  servers with a RunCloud control panel. These are not all done inclusively, depends on the need.

SSH

Change the SSH Port from the default 22

nano /etc/ssh/sshd_config

Change to desired port

#Port 22

Open new port RunCloud panel, close old 22 – redeploy firewall.

Ref

Firewall

Check running on server

firewall-cmd --state

Check open ports

firewall-cmd --list-all

Should match with RunCloud panel

How to restart Firewall on Server.

service firewalld restart

Block access to xmlrpc.php and wp-login.php via NGINX

Ref & Ref

Sudo Users

Add new user

adduser [username]

Add/remove users to the sudo group (login as root)

usermod -aG sudo [username]

Remove a user from the sudo group

deluser [username] sudo

Ref

MySQL/MariaDB

Change domain name strings and https prefix

Tweak MySQL Performance Using MySQLTuner

Postfix

Send command line server emails by tweaking Postfix

Server Domain Name

Set a server hostname and FQDN

Malware

Set up a malware scanner LMD

Share:

Leave a Reply