“Plot twist: Not every Linux is Ubuntu. Also, KodeKloud’s UI is testing my patience like a buffering Netflix video at 3%. 📡💀”
Week two of the 100 Days challenge, and I got hit with a reality check: Ubuntu isn’t the only Linux distro. After years of Ubuntu-centric DevOps tutorials, KodeKloud threw CentOS Stream at me and watched me flail.
Here’s what I learned (and broke) this week.
Day 5: SELinux Configuration – The “Wait, This Isn’t Ubuntu?” Moment
Turns out I was on CentOS Stream, not Ubuntu. Different package manager, different everything.
# Check your OS FIRST (lesson learned) cat /etc/os-release # CentOS uses dnf, not apt sudo dnf install -y selinux-policy selinux-policy-targeted # Edit SELinux config sudo vi /etc/selinux/config # Change SELINUX=enforcing to SELINUX=disabled
Enter fullscreen mode
Exit fullscreen mode
Why this surprised me: Every DevOps tutorial I’ve ever done uses Ubuntu. AWS tutorials? Ubuntu. Docker labs? Ubuntu. Kubernetes courses? Ubuntu. So encountering CentOS felt like showing up to a JavaScript class and being handed Assembly code.
Lesson learned: Always check /etc/os-release before assuming you know what distro you’re on. Package managers are not interchangeable, despite what my Ubuntu-trained muscle memory believes.
Day 6: Cron Jobs – Easier Than Expected
Set up a cron job to echo “hello” to /tmp/cron_text every 5 minutes.
Following this challenge? Drop your “wrong distro” moment in the comments. The first time you tried Ubuntu commands on CentOS, or vice versa. We’ve all been there. 😅
For further actions, you may consider blocking this person and/or reporting abuse
Залишити відповідь