Linux (5)

Configuring Fail2Ban

Fail2Ban is a great tool block remote IP addresses from failed authentication attempts by writing iptables rules and alerts these events via email. On CentOS, Fail2ban is part of the EPEL repository. It resolves remote IP address via whois. CentOS has pwhois (requires a symlink, ie: ln…

Docker Management

Below are some basics on Docker image and container management. Essentially you can use most commonly known Unix-like OS' such as Debian, CentOS, Fedora, etc... or install Docker Desktop on Windows or use Windows Server 2016 or greater for container hosting. The dedicated container-focused OS, CoreOS, has reached…

Logwatch Log Analyzer and Reporter

Logwatch Log Analyzer and Reporter allows you to parse service generated logs and have them emailed to you, rather than you having to manually look at them. This is handy to regularly analyses particular events to keep a close eye on them. Read more here. Begin by installing logwatch:…

MDADM - Replacing a failed disk

Before we begin and let’s be clear, RAID is not a backup! Always have a dedicated working, regularly tested backup solution in the event of some disaster or failure. Read more here and here. It is also strongly recommended to have email alerting configured when using MDADM arrays…