7 basic steps to secure your Linux server

3 min read This tutorial will introduce you to basic Linux server security. While it focuses on Debian/Ubuntu, you can apply everything presented here to other Linux distributions. I also encourage you to research this material and extend it where applicable. 1. Update your server The first thing you should do to secure your server is to update the local repositories and upgrade the operating system and installed applications by applying the latest patches. On Ubuntu and Debian: On Fedora, CentOS, or RHEL: 2. Create a new privileged user account Next, create a new user account. You should never log into your server…

Servercheap-FirewallD-Examples

Useful FirewallD Examples

4 min read Firewalld replaced old Fedora’s firewall (Fedora 18 onwards) mechanism, RHEL/CentOS 7 and other latest distributions rely on this new mechanism. One of the biggest motive of introducing new firewall system is that the old firewall needs a restart after making each change, thus breaking all active connections. As said above, that the latest firewalld supports dynamic zones which is useful in configuring different set of zones and rules for your office or home network via a command line or using a GUI method. Initially, firewalld concept looks very difficult to configure, but services and zones makes it easier by keeping both together as covered…