I, recently, started running a Lemmy instance. I am, also, new to Linux servers.
At the advisement of some tech acquaintances, I’ve installed UnnattendedUpgrades and Fail2ban.
What would you recommend?
I, recently, started running a Lemmy instance. I am, also, new to Linux servers.
At the advisement of some tech acquaintances, I’ve installed UnnattendedUpgrades and Fail2ban.
What would you recommend?
Below a couple of ideas, some building on what has already been stated. It’s all detailed here:
Feedback really welcomed, as there’s always something to be learned in server security :)
–
General hardening:
SSH:
MySQL (if applicable):
Apache (if applicable):
PHP (if applicable):
Network security (sysctl):
Fantastic answer! Thanks so much :)
Is all of this really necessary?
Not really. Especially the antivirus. Its pretty easy to avoid such things by not installing any untrusted aoftware. Not to mentionitf youd likely be ransomwared before you detectedanhthing.
But hosting publicly facing services is always a risk.