How to Secure Linux Servers
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)
This tutorial guide covers only basic linux server security tips intended for linux learners. I am writing this guide assuming that you are running Centos 5 or later versions.
Full article: see here
Similar Posts:
- Implementing Secure File Upload in PHP
- Securing your server against DNS Amplification (DoS) attacks
- Install FTP Server for Centos/RHEL
- Implementing Secure File Upload in PHP
- Install LAMP Server for Centos/RHEL
- How to unzip ZIP files with PHP
- HOWTO: Enable passive mode in FTP server with CSF firewall
- How to secure your DNS server
- How to install a local copy and configure WordPress on Ubuntu
- How to install Xvfb (X11 Server) in Linux Server


December 9, 2008
thanks for such a great guide, its really is helpful
October 10, 2009
for a newbie a its a fantastic guide, many thanks
March 19, 2010
Really appreciate this guide. I just got my first dedicated server and this really helped to secure it. Cheers.
November 29, 2010
please explain further for installing portsentry. to fix error while compiling make linux…
thanks ^_^
January 31, 2011
Great article, as above, just got my dedicated server, the support i got was not great.
March 26, 2011
“To run antivirus
clamav -r /home”
I think “clamscan -r /home” will be better