Help me (newb) configure a Linux server

Captain_Nothing

Power Member
Joined
Mar 13, 2018
Messages
620
Reaction score
240
I am running CentOS and trying to lock it down. Here's my checklist so far:
- Remove root and use ssh key for login
- Add fail2ban
- Need recommendation for how to secure FTP

Any other help is welcome. :D
 
I am running CentOS and trying to lock it down. Here's my checklist so far:
- Remove root and use ssh key for login
- Add fail2ban
- Need recommendation for how to secure FTP

Any other help is welcome. :D
Hello, I don't want to be rude or anything like that.

But I doubt someone will waste his time here telling you step by step how to do it.
If you research in Youtube and Google you will find it, just use and search with this keywords "Centos how to add fail2ban or centos install fail2ban"
"centos hardening security" "centos ssh key"

Keep in mind control panels, fail2ban and other firewalls may have incompatibility with certain OS.. For example there are minor control panels that works with FreeBSD.

Just a example
https://wordops.net/ (for example this requires Ubuntu or Debian with 16.04/ 18.04 / 20.4 versions and Debian 9 or 10 version to work..)
https://easyengine.io/

Both above helps to install wordpress fast, secure and with caching and everything securing, of course won't be protected at 100%

But I have good news here you have it fully works with CentOS and you can check all features and questions here
https://centminmod.com/ (ONLY WORKS for Centos, good way to start)

Do you want something with full control?
https://control-webpanel.com/ <(this is a control panel, centminmod is another auto-installer for wordpress and securing without "control panel" GUI which is much more secure)
 
I hope you're running all of this as a "test" of some kind and are not intending to use this as a production server?

If you're just learning there's a lot of ways, a lot of things can quickly go wrong.

Here are 40 hardening tips - https://www.cyberciti.biz/tips/linux-security.html

Yes, these are tests as I am just learning the basics of everything.

I will look into your link, thanks!

Hello, I don't want to be rude or anything like that.

But I doubt someone will waste his time here telling you step by step how to do it.
If you research in Youtube and Google you will find it, just use and search with this keywords "Centos how to add fail2ban or centos install fail2ban"
"centos hardening security" "centos ssh key"

Keep in mind control panels, fail2ban and other firewalls may have incompatibility with certain OS.. For example there are minor control panels that works with FreeBSD.

Just a example
https://wordops.net/ (for example this requires Ubuntu or Debian with 16.04/ 18.04 / 20.4 versions and Debian 9 or 10 version to work..)
https://easyengine.io/

Both above helps to install wordpress fast, secure and with caching and everything securing, of course won't be protected at 100%

But I have good news here you have it fully works with CentOS and you can check all features and questions here
https://centminmod.com/ (ONLY WORKS for Centos, good way to start)

Do you want something with full control?
https://control-webpanel.com/ <(this is a control panel, centminmod is another auto-installer for wordpress and securing without "control panel" GUI which is much more secure)

Not rude at all, I am here to learn anything I can and not looking for full on tutorials just little tips people may have.
 
Pretty good advices so far. I’d just point out that avoid centos if you can, since you said you are new to sysadmin and devops. Instead go for ubuntu/other debian based oses.
 
Thanks to those that contributed to these thread. I learnt alot.
 
Back
Top