Take the tour ×  Possible Duplicate: Hardening Linux Server  I
recently started to manage my own server with a cloud-based
server. Recently I got hacked somehow and the server was used
for phising. On the server it was installed CentOs, cPanel/WHM
and CSF with medium security settings.  After being hacked I
realize the need for more security. How can I make a secure
server with CentOS?  share|improve this question The hardening
tag is a good starting point for 'how to secure X' type
questions. Closed as a dupe, but you could ask a question on
'how to secure cPanel' as I don't think we have one of them. – 
Rory Alsop Aug 10 '12 at 16:00 add comment  marked as duplicate
by Rory Alsop Aug 10 '12 at 15:59   3 Answers    • CloudLinux
delivers CPanel hardening with file-system virtualization.   •
SELinux - enable it with booleans for user folders and suexec
and whatever needed plus train new rules thru training mode -
per user writable tmp folders etc, this one is complex as it
works system-wide, but also that's wh