10 steps to secure Linux Server for Production Environment
Securing Linux Server is essential to protect our data from the hackers. But securing a server doesn’t require to be complicated .We should adopt a method that will protect our server from the most frequent attacks along with efficient administration . However, don’t take things for granted. Even the most hardened servers can be hijacked by exploiting any vulnerable component running on that server. 1. Install what you need The first rule is to keep your server lean and mean. Install only those packages that you really need. If there are unwanted packages; purge. The fewer the packages the less chance of unpatched code. 2. Turn on SELinux Security-Enhanced Linux ( SELinux ) is an access control security mechanism provided in the kernel. SELinux provides 3 basic modes of operation : Enforcing : This is default mode which enable and enforce the SELinux security policy on the machine. Permissive : In this mode, SELinux will not enforce the security policy on t...