21st Century System Administration (Or: How I learned to stop worrying and love systemd)
Let me introduce myself. I saw an article here encouraging others to write their first (and maybe subsequent?) articles about open source. I've been interested...
Is cron Obsolete?
Is cron obsolete? See what I think.
Replacing rc.local in systemd Linux systems
Missing rc.local for adding commands to run on startup?
The rc.local file was—and in some cases still is—the place for Linux sysadmins to put commands that need to be run at startup. Use of the rc.local file is not only deprecated but after a couple of hours worth of attempts, was not working in any event. This despite the fact that the systemd documentation mentions the use of a “generator” that generates systemd services from an rc.local file if one exists.
Here’s how to set up similar functionality with today’s systemd.
systemd — #13: Why I support the systemd plan to take over the world
There is no nefarious plan, just one to bring System Management into the 21st century.
systemd — #12: Fixing systemd-resolved name service failures using Ansible
Name resolution and the ever-changing networking landscape.
systemd — #11: Managing resources with cgroups in systemd
Cgroups manage resources per application rather than by the individual processes that make up an application.
systemd — #10: Analyze Linux startup performance
Use systemd-analyze to get insights and solve problems with Linux startup performance.
systemd — #9: Using systemd journals to troubleshoot transient problems
Find the root cause of hard-to-track errors by diving into your systemd journals.
systemd — #8: Analyzing systemd calendar and timespans
Learn how systemd uses calendar time, timestamps, and timespans to control when things happen.
systemd — #7: Use systemd timers instead of cronjobs
systemd timers provide a more fine-grained control of events than cronjobs and offer more scheduling possibilities.
systemd — #6: Control your computer time and date with systemd
Keep your computer time in sync with NTP, Chrony, and systemd-timesyncd.
systemd — #5: How I manage startup using systemd
systemd starts as many services as possible in parallel during the Linux startup sequence. Learn how to create a new systemd service and how to determine the order in which services start within that parallelism.
systemd — #4: How to use systemd as a troubleshooting tool
systemd is powerful troubleshooting tool. The information we can extract from it points the way toward solving problems.
systemd — #3: Using the systemctl command to manage systemd units
Units are the basis of everything in systemd so we’ll explore them in more detail and use the systemctl command to investigate and manage units.
systemd — #2: Understanding Linux startup with systemd
systemd’s startup provides important clues to help you solve problems when they occur.
systemd — #1: Learning to love systemd
systemd is the mother of all processes, responsible for bringing the Linux host up to a state where productive work can be done.