TwitterFollow Me on Twitter

Learning Linux

The last few months, I have spent much of my free time really investing in learning Linux. (Free time, by the way, is time available after God, family, work, etc., and for me that has been unfortunately slim of late.) Sure, I’ve used Linux a lot in recent years and have almost always had at least one Linux VM on every machine I own, but for the most part I depended on the desktop side of Linux which, while great, isn’t really what holds the power of Linux.

Late last Fall, I converted a laptop that had a broken screen into a headless Ubuntu server. I have mostly set this up as a media and file server (to the PS3) and use it also as an HTPC hooked via HDMI to my HDTV. It’s great for both applications. But since I mostly manage the server remotely via SSH, I started getting really used to the command line.

So I started to do more there, but also on the plethora of existing external web servers that I manage, both personal and business. I’d figure out some really nifty way of doing something, like automating the backup of a MySQL database, on my personal servers, vet the process there and then incorporate them into the business side where practical.

Once I tasted the automation pie, I was thoroughly hooked on the power of Linux and the terminal. I started learning shell scripting, got pretty good at vim, firmed up some existing knowledge of CRON, and more. I also started learning more about Linux at the system and network levels, learning how to get data about running processes, analyzing RAM and CPU usage, viewing log files, manipulating data and configuring network interfaces. I’ve since set up several more web servers that are now in production for various sites, but instead of depending on a managed VPS with some prepackaged host configuration, I’m doing the work from scratch. Much more fun and rewarding.

I’ve used several distributions, mostly Ubuntu, but also Arch, Debian and CentOS, even toyed with FreeBSD. I’ve used CentOS a lot in web server environments, but I am currently using and loving Debian for home servers, web servers and just general use. It helps that my main introduction to Linux came by way of Xandros and then Ubuntu. But Debian seems to be just right for a solid server environment. It gives me the familiarity I want from my experience with Ubuntu (apt, etc.) but without all the extras that are mainly geared toward improving the desktop.

I still use Ubuntu for the main media server/HTPC in my home, but I have another server set up with Debian and have really enjoyed tweaking it for various uses. All my work servers are CentOS and that will remain. But I also have a personal hosted VPS running CentOS that I may change that out to Debian.

Now I’m into window managers, namely awesome. It’s a whole new blend of desktop and command line. I love the simplicity and speed of it. This entry is being written using Debian and awesome WM. Rad stuff.

I have a bunch of friends who love Linux and who will likely comment below to add their two cents on a fave distro or use for Linux. I’ve had some great inspiration along the way. But I have to give a lot of credit to Scott Wehrenberg (@swehren) who has been a go-to-expert for me these past few months. His full-time use of Linux and superlative command of the system has inspired me to really dig deep. And he’s always on for a 1:00 AM instant message session when I have a question about some syntax for grep or need a better approach to tune a bash script. Thanks, Scott.

The bottom line for me is that I am having a ton of fun learning Linux. Hopefully, that will inspire someone else to grab a distro and bash around a bit. :)

I have been a little torn lately with where to publish the technical side of my life. Twitter seems to be morphing into more of a place where I talk about life and ministry and lighter tech as opposed to the heavier geek stuff. But I really have a passion for the technical, even though I’ve never considered myself much of a developer. I figure if I do have an outlet for more technical conversation, this is probably the best place for it.

So I might throw up a few posts over the next few weeks about things I have learned or are learning about Linux and UNIX. Perhaps it will benefit someone else.

4 Comments

  1. John Hope

    2010-09-20 2128hrs

    Gravatar

    Fun times.. You certainly have come a long way since our days of tinkering with Xandros.

    I hate to say it but it is time to move on. So I say good bye Ubuntu and hellllllloooooooooooooo
    Linux Mint Debian Edition (LMDE). Ubuntu had become somewhat bloated and was slowing my older PC down. People can say what they want but I saw a very noticeable performance degradation when upgrading to 10.04 from 9.10. I also got tired of having to reinstall every six months for the latest and greatest. The Linux Mint Debian Edition is a Debian rolling edition. I just installed it this evening and all of my packages are updating as I am typing this.

    Check it out when you get some time… I think you might like it too.

    http://www.linuxmint.com/blog/?p=1527

  2. David Russell

    2010-09-20 2145hrs

    Gravatar

    I actually like Linux Mint a lot. I installed it a few years ago, probably around some of the early versions and it felt like a “different” execution of a Debian-based release as compared to Ubuntu.

    But I never went beyond trying it out in a VM.

    I also just heard about LMDE last week, while listening to the TuxRadar podcast (at least, I think that’s where I heard it.) I love the idea of a rolling release.

    Thanks for the heads up. I’ll get the latest ISO and see how it goes!

    Do you have any cool scripts or apps that you like?

  3. John Hope

    2010-09-22 1023hrs

    Gravatar

    I have not used scripts before and am way behind the curve on my familiarity with them. I have however been slowly working my way through Sams “Teach Yourself Perl in 24 Hours.” So to answer your question on the scripts part, I have to grab a line from Sgt. Schultz… “I know nothing!”

    As for some apps that I like on the Linux platform there are two that I will definitely mention. The first one is PDF Shuffler and has made its way into the software managers of both Ubuntu and Mint. I found PDF Shuffler almost two years ago when needing to meet the need of combining multiple PDF files into one PDF file. It is a very simple program that has drag and drop functionality. Open the app, drag/drop the PDF files to the app, select the export button, name the new file and select the location to save it and you are done. Simple as that.

    The second app that I use meets my need of a password manager that I carry on my thumb drive. Since I am in mixed environments I needed a solution that is cross platform compatible. That is where KeePassX comes in on the Linux side of things. I think you can run KeePassX off of the thumb drive in Windows but I was already using the Windows version called KeePass. For KeePass to work with KeePassX you have to use version 1.x of KeePass. That issue has to do with the data base file difference between version 1 and version 2 of KeePass. Anyway, KeePassX on Linux and KeePass v1 on my thumb drive allows me to open the file at work or home, in Windows at work or Linux at home.

    I am sure there are some more but those are the two off the top of my head. I won’t get into the Thunderbird Google Contacts and Calendar plug-ins that I use to do a three-way sync with my Linux desktop and my BlackBerry.

    Let me know if you have some insight on the app/script topics on Linux also.

  4. David Russell

    2010-09-25 1403hrs

    Gravatar

    I read an interview with Larry Wall a month or so ago and really enjoyed his perspective on why he created Perl and what he hopes it will achieve. I haven’t used Perl much, but it certainly is well-loved by many.

    Some of the stuff I like about the CLI is the simplicity in which things can be achieved. It takes time to learn and tweak, but once a process or function is in place and becomes second nature to use, it’s amazing how much productivity it adds.

    I hope to write soon about bash, shell aliases, shell scripting and other such things. Keepass sounds cool. For PDF stuff, I really like Ghostscript.

Leave a Comment

Commenting is not available in this section entry.

Twitter Status

2012-05-17 1917

@jasonmccay I think the sign meant "to 'my' left."

2012-05-16 1706

Discovered http://t.co/D88ZjV3u today and really blown away. What a genius concept and execution.

2012-05-15 2137

@Support Stuck trying to get a Twitter profile to post automatically to a Facebook Page. Can you offer assistance with this?