i took some time to write a tutorial on the basics of securing the linux server (server hardening). Basic Linux Server Security Install Firewall (APF or CSF Firewall with BFD) ModSecurity (Web application firewall) ModEvasive (Prevent DDOS attacks) Harden SSH server Fix Open DNS Recursion Install RKhunter Install ClamAV (Antivirus) XInet Servers Hardening (Disable Telnet/Finger or unwanted services) Securing PHP PortsEntry (tool to detect portscans) Harden host.conf (against IP spoofing) Check User Uploaded files Secure /tmp Folders (noexec, nosuid) Full article: see here Leave me a feedback if you have anything to comment! thanks
Mod_Security installation for cPanel is quiet outdated. You don't enable it as a plugin, it is now part of EasyApache and can be compiled with it. But decent tutorial non the less, this are basic things that should run on every server for basic security.
nice job but one question when i do su to root how can i adduser i tried it and it doesn`t work that`s my only down fault in not using it