Using grc (Generic Colouriser) for RSyslog
Colorized output for RSyslog files I started updating my Centralised RSyslog server on Raspberry Pi the other day, and one of the things I've been meaning to research was syntax highlighting for...
View ArticleDocker module in Ansible
Docker in Ansible I have finally managed to install Docker CE on a freshly CentOS 8.1 installed dedicated server. Now is the time to learn Docker module in Ansible. Why Use a Docker Module in Ansible?...
View ArticleInstall Sublime Text 3 in Ubuntu
Editing Markdown file in Sublime Text 3 on Linux Pretty cool! Didn't realise this, but Sublime Text 3 is available for Linux as well! Today I took a few minutes to download/install it and to even make...
View ArticleVPS1 Server is Online
I have just started deploying my new VPS server online: vps1.unixtutorial.org The idea is that I'll be hosting a number of VPS servers for us you learn Linux basics. vps1 is Ubuntu, future VPS servers...
View ArticleHow To: Disable Sleep on Ubuntu Server
Ubuntu 19.10 You may remember that I have a small automation server in my home office that's running Ubiquiti UniFi Controller software and where I upgraded UniFi Controller on Ubuntu 19.04. I noticed...
View ArticleRemoved DHCP Daemons in Raspbian
Raspberry Pi 4 I got one of my Raspberry Pi servers attempting to obtain DHCP IP address, a behavior that ignored my static IP address configuration. Not sure why, but it appeared I'd be getting an...
View ArticleColorized ls with grc
Colorized output of ls command I blogged about Generic Colouriser (grc) last week, cause I'm using it now to monitor syslog messages in my centralised RSyslog setup. I also mentioned that grc suppors...
View ArticleLog fail2ban Messages to Syslog
fail2ban logging into syslog With quite a few servers accepting SSH connections and protecting themselves using fail2ban, you very quickly recognize one thing: it makes a lot of sense to centralize...
View ArticleWhy I Bought Sublime Text 3
Registered Copy of Sublime Text 3 It's taken me exactly two weeks to recognise the value of a native editor like Sublime Text 3 used for Ansible automation and Python scripting. I'm so impressed with...
View ArticleAnsible Support in SUDO
Red Hat Ansible I'm building new servers for Unix Tutorial VPS pool and for some functions within my Tech Stack Solutions consultancy, and one show stopper for Ansible onboarding is this: default...
View ArticleNEVER edit /etc/sudoers Directly
But if you do have to edit /etc/sudoers, at least follow this advice to avoid locking yourself out. How to Edit SUDOERS file Correctly The proper way of updating sudo configuration is to use visudo...
View ArticleForce Filesystem Repair in Raspbian
Raspberry Pi Raspberry Pi systems use microSD cards and therefore are more error prone than typical servers with hard disks or SSD. Such corruptions are especially tricky when the only storage...
View Articlegit push Asks for Username and Password
I've been refreshing my gleb.reys.net website recently and experienced a weird error: pushing latest changes to GitHub resulted in my username and password prompted. Figured I should write down what...
View ArticleRotating Image on Raspberry Touch Screen
I'm rebuilding my Raspberry Pi called becky, it's a centralised RSyslog server and a home office monitoring station. This system has the official Raspberry Pi 7" touch screen attached to it, and it...
View ArticleHow to Disable Graphics Mode on Raspberry Pi
set default systemd target One thing you definitely need to do on your Raspberry Pi is decide if it's going to be used as desktop. And if not, disable the graphics mode. What this will do is save you...
View ArticleUnix Tutorial Digest – March 9th, 2020
Unix Tutorial Digest Here's the monthly summary of Unix/Linux news and Unix Tutorial posts. Please get in touch to arrange a technical consultation with me or suggest a useful link for the next digest...
View ArticleBan Specific IP Manually with fail2ban
fail2ban Now that I'm monitoring my logs using cetralised RSyslog, I regularly notice SSH attacks right when and as they happen. When it becomes obvious that someone's trying to brute-force SSH, I...
View ArticleHow To Check SSL Connection with OpenSSL
I'm tidying up Centralised RSyslog setup on the newly reinstalled becky Raspberry Pi system. One of the tasks at hand was to configure TLS based encrypted log shipping from my dedicated servers to...
View ArticleMigrate iptables to nftables in CentOS 8
iptables to nftables Although Ansible provides support for managing firewall rules via module, I still find initial setup is best done with a tested batch of firewall rules instead of adding them...
View Articlersyslog parent startup failure: error reading "fork pipe"
RSyslog I've been configuring my OpenMediaVault NAS server for RSyslog shipping logs to my centralised RSyslog setver, when I experienced a cryptic error: rsyslog startup failure: error reading "fork...
View Article