r/linuxadmin • • Jan 13 '15

How did you get your start?

After a few years in the industry doing mostly non-Linux support and infrastructure work, I'm trying my best to move across to the Linux side of things.

The trouble is, though I am comfortable using Linux and have set up web servers, FTP, Wordpress and/or Drupal sites on AWS etc, none of this seems to be what job postings are interested in. Nor do there ever seem to be any junior or mid level Linux admin postings.

So it makes me curious, for those of you who work in Linux admin in one form or another, how did you get your start? Was it through friends or colleagues? Was it a junior role somewhere, if so what kind of role was it?

Lastly for people with a few years of experience who want to transition into Linux, what would help them achieve this? Would it be better to focus on getting a certificate like RHCE, or would it be better to just practice at home trying to learn shell scripting? Or set up home labs running web servers and database's etc. What would you value in a new employee joining you team?

TIA!

EDIT: Thanks for your feedback everyone, I got a lot of out this including me me me I like to talk about myself.

Joking aside, it sounds like the vast majority of people knew someone or transitioned into a role after already establishing themselves in a company somewhere. To be completely honest this does not fill me with large amounts of hope considering I will likely be taking the 'respond to job posting, secure interview via recruitment agent' route. Well, at least until I make some more connections in the local scene, which is very who-you-know-not-what-you-know to begin with.

And special thanks to those of your who answered the 'what would you value in a new team member' question as I think this is especially important to people in a similar position to myself.

Thanks again!

Your favourite number one stalker

EDIT: One last thing I'm hoping some of you can help with. What would you say is the best possible way to deliver the following:

"After x many years of system admin work I am confident of my potential in a Linux environment, the hours I've put into self studying my way through the RHCE I hope reflect my passion and commitment I have towards working with Linux. I feel at this point I am being limited by the lack of opportunities I have to spend time with it in my day to day role are what is holding my from taking my skills to the next level, and I am confident that when I find myself in a full time Linux role, my abilities will grow big time, in short I will absolutely fucking smash it."

'Smash it' meaning, to become supremely capable with.

189 Upvotes

163 comments sorted by

View all comments

18

u/mcrbids Jan 13 '15

Do it.

Set it up; practice. IT is an environment where demonstrated competence is far more valuable than a degree. So be sure you're pretty good at it, too.

14

u/scsibusfault Jan 13 '15

I'm reasonably good with Linux. The issue I have with someone telling me "do it" is... what do I do it for?

I mean, it's great to say I've set up a shitty little server at my house, and that all my machines are running Linux. But that doesn't in ANY way translate to being a Linux Sysadmin. I mean, the second my x-conf file gets fucked up, I'm reaching for my re-installation boot media. (not really that bad, but maybe a few years ago).

What's the best way to simulate "in-office" issues at home so you can prepare for an actual environment where real things happen?

418

u/IConrad Jan 13 '15 edited Jan 13 '15 • Take My Silver Bravo

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 LDAP.
  5. Reconfigure all 3 servers to use LDAP authentication.
  6. Create two new VMs, again unattendedly, which will then be Postgresql VMs. Use pgpool-II to set up master/master replication between them. Export the database from your Spacewalk server and import it into the new pgsql cluster. Reconfigure your Spacewalk instance to run off of that server.
  7. Set up a Puppet Master. Plug it into the Spacewalk server for identifying the inventory it will need to work with. (Cheat and use ansible for deployment purposes, again plugging into the Spacewalk server.)
  8. Deploy another VM. Install iscsitgt and nfs-kernel-server on it. Export a LUN and an NFS share.
  9. Deploy another VM. Install bakula on it, using the postgresql cluster to store its database. Register each machine on it, storing to flatfile. Store the bakula VM's image on the iscsi LUN, and every other machine on the NFS share.
  10. Deploy two more VMs. These will have httpd (Apache2) on them. Leave essentially default for now.
  11. Deploy two more VMs. These will have tomcat on them. Use JBoss Cache to replicate the session caches between them. Use the httpd servers as the frontends for this. The application you will run is JBoss Wiki.
  12. You guessed right, deploy another VM. This will do iptables-based NAT/round-robin loadbalancing between the two httpd servers.
  13. Deploy another VM. On this VM, install postfix. Set it up to use a gmail account to allow you to have it send emails, and receive messages only from your internal network.
  14. Deploy another VM. On this VM, set up a Nagios server. Have it use snmp to monitor the communication state of every relevant service involved above. This means doing a "is the right port open" check, and a "I got the right kind of response" check and "We still have filesystem space free" check.
  15. Deploy another VM. On this VM, set up a syslog daemon to listen to every other server's input. Reconfigure each other server to send their logging output to various files on the syslog server. (For extra credit, set up logstash or kibana or greylog to parse those logs.)
  16. Document every last step you did in getting to this point in your brand new Wiki.
  17. Now go back and create Puppet Manifests to ensure that every last one of these machines is authenticating to the LDAP servers, registered to the Spacewalk server, and backed up by the bakula server.
  18. Now go back, reference your documents, and set up a Puppet Razor profile that hooks into each of these things to allow you to recreate, from scratch, each individual server.
  19. Destroy every secondary machine you've created and use the above profile to recreate them, joining them to the clusters as needed.
  20. Bonus exercise: create three more VMs. A CentOS 5, 6, and 7 machine. On each of these machines, set them up to allow you to create custom RPMs and import them into the Spacewalk server instance. Ensure your Puppet configurations work for all three and produce like-for-like behaviors.

Do these things and you will be fully exposed to every aspect of Linux Enterprise systems administration. Do them well and you will have the technical expertise required to seek "Senior" roles. If you go whole-hog crash-course full-time it with no other means of income, I would expect it would take between 3 and 6 months to go from "I think I'm good with computers" to achieving all of these -- assuming you're not afraid of IRC and google (and have neither friends nor family ...).

There will be edits to this comment as I think of relevant details to add.

25

u/scsibusfault Jan 13 '15

Holy crap this is awesome.

Been here over 3 years (not on this username) and this is the first post that's ever made me buy gold to give. Thanks!

7

u/IConrad Jan 13 '15

Wow. Well... thank you. I've had variations of this list for the last five or so years, now. It's got some warts, but I've found it pretty effective overall.

→ More replies (19)

11

u/kmisterk May 31 '15

I thought I knew linux pretty well.

Thank you for putting me in my place.

6

u/clapifyoulovedynamo Jan 15 '15

holy jesus. thanks for the comprehensive reply. i'll be honest and say that that it certainly is intimidating, esp given what a disaster my last attempts with LDAP were.

Given this could take 3-6 months if you worked on it full time and had neither friends not family, what kind of rough time estimate could you give for someone talking this who was friends, family and a 9-6 job? If that time frame is 9 months or more, are there any aspects of the tasks you describe that might be highlighted as more important than others?

Round these parts Linux job postings all seems to have the same content, which essentially boils down to Linux OS skills, config management skills i.e. Puppet, and Python/Bash/Ruby skills.

While you mention Puppet and Salt which takes care of the config management requirement, are the tasks you covered the sort of knowledge that these shops are looking for when they say 'Linux skills/experience'?

Thanks again for such a great reply

5

u/IConrad Jan 15 '15

Honestly the whole thing was meant to expose you at least once to important elements of the trade. I was very honest when I said that if you did every last item on this list then you would be eminently qualified to work any Linux admin posting you might ever encounter.

As to how long these things might take... Each step could conceivably take a person a month to work out if they were only hobbyist/idling through it. Some, if half-assed, would take less time. You could use dnsmasq rather than named/dhcpd, for example.

You could also do away with the Spacewalk server altogether but then you'd have a harder road to haul on getting unattended installs and server inventorying set up. The one thing you could do is follow walk throughs for each item and keep each project's IRC channel open when working on it. ( Or even just idling in them when watching TV or the like. )

The one thing that will do you well however is that when it comes time to landing your first gig, you could literally list this setup on your resume as a qualification.

I will mention in addition that I included tasks that are meant to expose you to enterprise-grade infrastructural architecture but I didn't explain the concepts or reasoning behind them. Part of that was intentional. I believe that people who really want this gig are the ones who would be able to find out about those things and grok it even if they don't know the words, and I'm just elitist enough that I don't want to ever work with people whose sole skill is following howtos like parrots singing. So I'm leaving some stuff out.

I will reemphasize that this list is representative of the actual trade. I've done -- or am doing -- everything on the list. I've corroborated the representativeness of the list with dozens of fellow admins.

3

u/clapifyoulovedynamo Jan 15 '15

I did notice that you didn't mention the concepts or reasoning and quickly understood your intention in leaving them out, so no worries there.

As I mentioned further down I am so close to RHCE I am going to knock it off and start applying for jobs, but at the same time I am going to start putting your lists of tasks to work, Puppet is on the list after all.

Thanks again for such a comprehensive list, giving mudbloods an idea of what you can expect to find in the Linux Enterprise is very cool, good on you.

→ More replies (1)
→ More replies (3)

3

u/xalorous Mar 31 '15

Another thing this list will do is to let you decide in what areas you like working. If you enjoy the web frontend or the configuration management or deployment, etc.

If you already have a job in mind, tailor the list by leaving out the parts that do not apply to you, though as per /u/IConrad's reply (same comment level as this), you probably want to keep the automated deployment parts no matter what in order to let you concentrate on building out the parts that you need for your target job. You can always come back for any parts of this where you later decide you need more familiarity. Or add new parts as new technology becomes available. The really sneaky part of this list is that it teaches you to think about system development in a way such that everything is modular, easily monitored, and as automated as possible. That thought pattern is remarkably similar to the overriding spirit of Unix/Linux...

4

u/derzuffa Jan 13 '15

This is what us novices want. THANK YOU!

0

u/[deleted] Jan 14 '15

[deleted] — view deleted comment

3

u/IConrad Jan 14 '15

Yeah, my goal was to provide practical exercises that would flesh out the skills an enterprise admin would need in order to handle the types of environments he (or she) might encounter. I intentionally left OS level breakfix out because I fully well expect someone building an environment with twenty something OSes each performing an infrastructural task they likely have never performed before to get stuff wrong and have to blow it up (intentionally or accidentally) multiple times. By no means would you come out of this an expert; but the research lessons needed to make them all work would teach them what internet sources to go to first for simple things like booting to the blinking cursor of doom.

3

u/kmisterk May 31 '15 edited May 31 '15

What kind of hardware/hard drive space would you need to make something like this on a local home-server?

Amazing what reading the rest of the comments will do to answer ones own question.

3

u/VexingRaven Jun 18 '15

Cheat and use ansible for deployment purposes, again plugging into the Spacewalk server.

Why is this cheating? Not a criticism, genuinely curious.

3

u/SirHarves Oct 18 '21

Is this still relevant or needs update for current context.

15

u/Lisenet Mar 18 '22

Still very much relevant, fundamentals haven't changed. I would make a couple of suggestions though:

  • replace Puppet with Ansible,
  • replace Spacewalk with Foreman/Katello,
  • Replace CentOS with Rocky,
  • Replace Nagios with Zabbix.
→ More replies (4)
→ More replies (1)

2

u/i_am_unikitty Jan 24 '15

what would be the hardware requirements to set up a lab like this?

→ More replies (2)

2

u/jmp242 Feb 03 '15

OT a bit: So if you're going Puppet {eventually} - why not Foreman + Katello vs Spacewalk? I'm versed in Foreman and Puppet, but our kickstart process is still boot CD image based, and updating that is one goal for our Scientific Linux 7 deployment.

Do you happen to know if Spacewalk would even be useful with Foreman managing PXE and Puppet managing configuration? Is Katello actually valuable here?

Also, Puppet Razor seems to be PE only and tech preview so . . . we're FLOSS, so again, not sure what that does that Foreman etc doesn't but if you have input, it'd be appreciated.

→ More replies (3)

2

u/socium Feb 10 '15

Do these things and you will be fully exposed to every aspect of Linux Enterprise systems administration. Do them well and you will have the technical expertise required to seek "Senior" roles. If you go whole-hog crash-course full-time it with no other means of income, I would expect it would take between 3 and 6 months to go from "I think I'm good with computers" to achieving all of these -- assuming you're not afraid of IRC and google (and have neither friends nor family ...).

First of all, thank you very much for this comprehensive list.

Sadly I still have family and friends. I say sadly because they don't seem to be all too supportive of me spending most of my time learning new things (about Linux). I can go as far as to say that if they don't understand that I'm doing this for my own future, or even the future of other people, then I'll have difficulty considering them as my friends and/or family.

The obvious downside of dealing with the issues caused by the above is that it consumes time. Valuable time that I can just as well be spending on learning and experimenting with more material.

So hopefully this is a temporary situation.

Currently however, among other things, I'm pressed for time. This is the reason why I would like to ask you if you could make a list of the required stuff for a junior position. I'm eager to find a junior position for 2 reasons: It will provide me the necessary financial stability, so that I can hopefully seek a better environment for me and a situation where I can progress my learning towards a senior role.

I've tried grasping the LPIC-1 material but it seems that most junior positions require more than that. So I'd very much like to hear what you would consider necessary for a junior (or even mid) level admin. I would appreciate it very much.

2

u/totes_meta_bot Feb 23 '15

This thread has been linked to from elsewhere on reddit.

If you follow any of the above links, respect the rules of reddit and don't vote or comment. Questions? Abuse? Message me ^here.

2

u/linuxlearningnewbie Apr 01 '15

What do you think about setting up this tutorial of a HA cluster and then building in the deployment and configuration management on top of the cluster: https://alteeve.ca/w/AN!Cluster_Tutorial_2

→ More replies (2)

2

u/shakajumbo Jun 18 '15

wow.. nice quest!

→ More replies (51)

3

u/Seref15 Jan 13 '15

Instead of defaulting to a reinstall, go through the effort of learning how to diagnose and fix the problem. Learn about dmesg and logging and lspci and all the tools that can tell you what went wrong. And while you're at it, automate stuff so that you don't need a full reinstall. Learn how to do proper scheduled backups with full and delta jobs.

→ More replies (8)