Systemd Unit Types
systemd I'm catching up on my systemd knowledge, this is almost a note to myself – a summary of the systemd unit types (yes, it's a lot more than just startup scripts!). How To Tell a systemd Unit...
View ArticleAnsible: Could Not Match Supplied Host Pattern
Red Hat Ansible I've come across this Ansible error recently. It made no sense because I had a fully populated hosts file with multiple hosts and groups. Specifically, I was running an existing...
View ArticleList Available Repositories in Red Hat
Listing repositories with subscription-manager I have finally gotten around to launching a new RHEL 8.1 virtual machine on my macOS desktop, this time I installed it from RHEL 8.1 ISO image. Although...
View ArticleHow To: check and change filesystem label with e2label
e2label command for checking ext2/ext3/ext4 filesystem label Some Linux distros (especially older ones) have preference for using filesystem labels instead of unique identifiers (UUIDs) or device...
View ArticleHow To: Use Filesystem Labels in /etc/fstab
Filesystem label in /etc/fstab Yesterday I have shown how to manage ext2/ext3/ext4 filesystem labels using e2label command. Continuing this topic, let's update /etc/fstab file on my Ubuntu VM....
View ArticleSublime Text 3
Are you guys using Sublime Text 3? Have heard and possibly even tried it before, wasn't impressed. But this time I'm doing Ansible playbooks and some light Python scripting development – and Sublime...
View ArticleUsing 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 Article