sysadmin

cron

May 8, 2024
sysadmin, linux

cron # References # ArchWiki - cron Crontab - Quck Reference crontab guru - “The quick and simple editor for cron schedule expressions…” Cron cheatsheet Monitoring cronjobs # Monitoring cronjobs with Prometheus … Monitor cron jobs with Prometheus, Grafana and Node exporter - Example use-case that pipes cronjob status to a Bash script that then writes to a Prometheus textfile collector. ...

GRUB2

April 18, 2024
linux, sysadmin

GRUB2 # GNU GRUB GRUB2 GRand Unified Bootloader version 2

RHCSA

November 9, 2023
sysadmin, learn

RHCSA # Red Hat Certified System Administrator RHCSA Notes # RHCSA Notes Books # Red Hat RHCSA 9 Cert Guide EX200 by Sander Van Vugt Good source. Sander Van Vugt’s courses are considered the defacto standard for prep for this exam. This source has better study materials and a pre-assessment exam which I like. RHCSA Red Hat Enterprise Linux 9: Training and Exam Preparation Guide (EX200), Third Edition by Asghar Ghori Ok source. ...

Pacemaker

September 16, 2023
ha, sysadmin, cluster, sre

Pacemaker # Official Pacemaker Documentation Pacemaker Explained Start with “Clusters from Scratch”. “Pacemaker Administration” is probably good for learning how to manage and do maintenance on clusters that are already built. “Pacemaker Explained” is the exhaustive reference, but it’s a bit dry. RHEL 8: Configuring and managing high availability clusters The RHEL documentation is how I learned to build an SAP cluster in RHEL 8. ...

DevOps

June 3, 2022
devops, sysadmin

DevOps # DevOps Roadmap Development Environment # Vagrant VirtualBox Docker Git Automation # CICD # Continuous Integration (CI) Continuous Deployment (CD) SCM CaC # Ansible IaC # Terraform Virtualization # Hypervisors # Type 1 # Proxmox VE Type 2 # VirtualBox Containerization # Docker Orchestration # Kubernetes Cloud Computing # AWS # Azure # GCP # OpenStack # Site Reliability Engineering (SRE) # Google SRE Book Systems Architecture and Design # System design and the cost of architectural complexity 851391798-MIT

RPM Package Manager

May 25, 2022
linux, sysadmin, utilities

RPM Package Manager # rpm Querying packages # Query Options Description -q (--query) Queries and displays packages -qa (--query --all) Lists all installed packages -qc (--query --configfiles) Lists configuration files in a package -qd (--query --docfiles) Lists documentation files in a package -qf (--query --file) Exhibits what package a file comes from -qi (--query --info) Shows installed package information -qip (--query --info --package) Shows installable package information -ql (--query --list) Lists all files in a package -qR (--query --requires) Lists files and packages a package depends on (requires) -q --whatprovides Lists packages that provide the specified package or file -q --whatrequires Lists packages that require the specified package or file Package management # Install/Remove Options Description -e (--erase) Removes a package --force Installs and replaces a package or files of the same version -F (--freshen) Upgrades an installed package -h (--hash) Shows installation progress with hash marks -i (--install) Installs a package --import Imports a public key -K Validates the signature and package integrity -U (--upgrade) Upgrades an installed package or loads it if it is not already installed -v (--verbose) or -vv Displays detailed information -V (--verify) Verifies the integrity of a package or package files Manually extract files from a package # rpm2cpio (8) - Extract cpio archive from RPM Package Manager (RPM) package. ...

Unix and Linux System Administration Handbook

May 25, 2022
linux, sysadmin

Software # 20220525072458-rpm Look for software on my path: which gcc Find files quickly from precompiled index of filesystem: locate signal.h Package Management # Query for presence of package on Red Hat: rpm -q python Find what package a file belongs to: # Red Hat rpm -qf /etc/httpd # FreeBSD pkg which /usr/local/sbin/httpd # Ubuntu dpkg-query -S /etc/apache2 Installing packages # # Debian sudo apt install tcpdump sudo apt-get install tcpdump # Red Hat sudo yum install tcpdump sudo dnf install tcpdump # FreeBSD sudo pkg install -y tcpdump Building from Source # STUB ...

Ansible

March 11, 2022
sysadmin, devops

Ansible # Resources # Guides & Docs # Getting started with Ansible Videos # Getting Sarted with Ansible - LearnLinuxTV * NetworkChuck - Ansible intro Books # Ansible for DevOps - Jeff Geerling Ansible Up & Running Online training # Notes # Making Ansible Fast # Enable pipelining in ansible. ...

Index

August 28, 2021
index, networking, compsci, sysadmin, dev, work, misc, linux

Index # All of my notes can now be found on my github . Search by tag . Computer Science # Development # Programming Editors Markup Documentation Strategies System Administration # Linux Networking Security Servers Data DevOps # Automation Personal Development # Learning Career Finance Mental Health Fitness Productivity Architecture # Architecture Home # Office Aesthetics Furniture Materials Music # Music Environment # Climate Change Sustainability Clean Energy Work # Notes Playbooks Training Wiki Pipeline Miscellaneous # Automotive

20220331080858-expect

sysadmin

Expect # Glue for interacting with command-line utilities that prompt the user for input. Automates what a human would do. References # Wikipedia - Expect