How 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 ArticleInteresting Links #2
Interesting Links Here are the articles and news I read in the past week or two – will roll them into the monthly Unix Tutorial Digest next time. You can't do GitOps until you can git add – article on...
View ArticleProject: Migrate WordPress Blog to Jekyll 4
Unix Tutorial RU based on Jekyll 4 I've finally decided to try running Unix Tutorial RU, copy of this blog in Russian, in Jekyll 4 CMS instead of WordPress. Motivation for this Project There's a few...
View ArticleHow To: Filter RSyslog Messages by String
I think I'm pretty much done with the Centralised RSyslog server project – it's finally in the stage I'm happy enough with. One of the final touches I needed on the server side was to filter more...
View ArticleUnixTutorial.RU is Now Using Jekyll
Unix Tutorial I have started WordPress to Jekyll migration for the Russian version of Unix Tutorial website – meaning UnixTutorial.RU has been running on Jekyll since last Sunday. Progress Update on...
View ArticleHow To Check HTTPS Connection with OpenSSL
OpenSSL Before I forget about this little addition, I want to write a follow up to the Check SSL Connection with OpenSSL – specifically, show you how to check HTTPS connection to a typical website. I...
View ArticleJeff Geerling's Ansible Books Free until April
Ansible Books by Jeff Geerling Hi everyone, think by now most of us are settling into long-term working from home routine as part of COVID-19 social distancing. Hope you and your familiy are healthy...
View ArticleHow To Use Private Docker Registry
I'm working on another Unix Tutorial Project these days, to setup my own Docker registry. It's not quite ready yet, but some findinds are ready to be captured. How To Authenticate Against Private...
View ArticleLinux Mint Debian Edition – LMDE 4 Debbie
Cool! I didn't even know Linux Mint have a Debian Edition, so LMDE 4 Debbie released last Friday is a great opportunity to explore this. I will try it in VirtualBox first, and expect to reinstall my...
View ArticleHow To Use Ansible with SSH Jumphost
Red Hat Ansible There are many scenarios where some of your infrastructure isn't directly accessible from your Ansible deployment system (home desktop or work laptop). That's why I think it's super...
View ArticleSSH client Config for Using a Jumphost
SSH jumphost configuration in .ssh/config I needed to use a mobile 4G hotspot today and realised there's another very common reason for using SSH jumphosts. You see, when I'm on a 4G hotspot I tend to...
View ArticleConnect to VPN from macOS Command Line
macOS I knew it's possible to setup VPN connections using native System Preferences in macOS, but discovered recently that it's possible to manage them from command line. Today I'll just show you how...
View ArticleTechnical Exam Success – Mindmap
Technical Exam Success – Mindmap I'm writing an e-book on my approach to taking technical exams and obtaining relevant certifications. There's going to be two versions of the book: Technical Exam...
View ArticleCopy Disk Partition with sfdisk
I've just learned about a very old but pretty cool Linux command – sfdisk. Somehow I've always managed to use fdisk and parted, but sfdisk is also very useful. Specifically, I've learned to use it for...
View ArticleAttributeError: module has no attribute in Python
Python One very common mistake almost everyone makes in Python is this: you import a module for some additional functionality, but Python won't interpret your code and instead will return you an...
View Article