Skip to content

Instantly share code, notes, and snippets.

View Yesfinethankyou's full-sized avatar

Admiral Cowtail Yesfinethankyou

View GitHub Profile
@rpxio
rpxio / linux-admin.md
Last active May 25, 2023 06:53
steps to become a linux admin - from reddit

This is what I tell people to do, who ask me "how do I learn to be a Linux sysadmin?"

  1. Set up a KVM hypervisor.
  2. Inside of that KVM hypervisor, install a Spacewalk server. Use CentOS 6 as the distro for all work below. (For bonus points, set up errata importation on the CentOS channels, so you can properly see security update advisory information.)
  3. Create a VM to provide named and dhcpd service to your entire environment. Set up the dhcp daemon to use the Spacewalk server as the pxeboot machine (thus allowing you to use Cobbler to do unattended OS installs). Make sure that every forward zone you create has a reverse zone associated with it. Use something like "internal.virtnet" (but not ".local") as your internal DNS zone.
  4. Use that Spacewalk server to automatically (without touching it) install a new pair of OS instances, with which you will then create a Master/Master pair of LDAP servers. Make sure they register with the Spacewalk server. Do not allow anonymous bind, do not use unencrypted