Ansible now available as an RPM

Ansible is now available as an RPM from the EPEL repo. It pulls in all the dependencies needed by Ansible (Python libraries, libyaml and sshpass). The RPM provides Ansible version 2.0.2.0 which includes a number of bug fixes including a security one (CVE-2016-3096). This is a lot easier to handle than fiddling with Python’s package manager of the day.

$ sudo yum install ansible
...
=============================================================================================================
Package                         Arch                 Version                       Repository          Size
=============================================================================================================
Installing:
ansible                         noarch               2.0.2.0-1.el6                 epel               2.9 M
Installing for dependencies:
PyYAML                          x86_64               3.10-3.1.el6                  base               157 k
libyaml                         x86_64               0.1.3-4.el6_6                 base                52 k
python-babel                    noarch               0.9.4-5.1.el6                 base               1.4 M
python-crypto                   x86_64               2.0.1-22.el6                  base               159 k
python-crypto2.6                x86_64               2.6.1-2.el6                   epel               513 k
python-httplib2                 noarch               0.7.7-1.el6                   epel                70 k
python-jinja2-26                noarch               2.6-3.el6                     epel               527 k
python-keyczar                  noarch               0.71c-1.el6                   epel               219 k
python-paramiko                 noarch               1.7.5-2.1.el6                 base               728 k
python-pyasn1                   noarch               0.0.12a-1.el6                 base                70 k
python-simplejson               x86_64               2.0.9-3.1.el6                 base               126 k
python-six                      noarch               1.9.0-2.el6                   base                28 k
sshpass                         x86_64               1.05-1.el6                    epel                19 k

Transaction Summary
=============================================================================================================
Install      14 Package(s)

Total download size: 6.9 M
Installed size: 33 M
Is this ok [y/N]:

Key references for various tools

The following post was contributed by Mike Weilgart who has recently joined the ranks of Linux system administrators.

For bash and POSIX shell scripting:

Variable quoting

Miscellaneous

For vi and Vim:

For git:

cgroups:

Training program to make a Novice System Administrator

I’ve put together a program to make entry-level Linux system administrators because we need more to maintain the IT fabric of modern civilization.
 
The program is self-paced, using online resources.  This is not training I deliver personally, rather I will guide you to quality training resources, in the correct sequence, and work with you to debug any stops. There is no fee to me for this program. The training takes 2-3 months full-time and costs about USD 1,000 for the online training courses and books. You’ll need a practice computer you can install Linux on.
 
Pre-requisites: Aspirants need to know how to use a computer for basic tasks (e.g., Web, email, word processing).
 
Part I – Linux Essentials
 
342 pages
$25.80
 
Online course
40-60 hours
Free
 
Part II – The Linux Command Line
 
537 pages
Free
 
Part III – Linux System Administration
 
Online course
40-50 hours
$499 (includes certification exam)
  
Do Cricket Liu’s DNS course from the Linux Sysadmin Basics
Video training from oreilly.com
Free with a 10 day Safari trial
 
 Part IV – Certification (optional) 
  
 
 Part V – Introduction to Computer Science (can be done after starting work) 
  
 
Introduction to Computer Science (CS50x) online training from edX.org
100 – 200 hours
Free
  
Professional Library
 
In addition, I recommend the following professional library (you can build it up as you start earning in your new profession):
 
 
Total: $229.43
 
Summary of All Costs
 
Total cost: $1029.72
Time investment needed: 2-4 months full-time or 6-12 months part-time
 
Code of Ethics
  
As a professional system administrator, study and commit yourself to our Code of Ethics.
 
Tips for Success
   
Mike Weilgart completed the program and adds:
And a crucial ingredient to success (and I’m being entirely serious): Spend plenty of time during your training reading up on what you’re studying on the Unix & Linux Stack Exchange.
 

Elective – Learn How to Make a Web Site

Exercise: Setup a personal site, e.g., like Mark Burgess has

There is an excellent WordPress tutorial at http://websitesetup.org/

To learn the underlying technology, HTML/CSS, I recommend http://websitesetup.org/html-beginners-guide/

Also, you can write in Markdown and use pandoc to convert to HTML. Try it!

 

Elective – Learn How to Use strace to Spy on Your Programs

Click to access strace-zine-unfolded.pdf

 

Elective – Postgres Database Administration

“The Accidental DBA” (or, Administering PostgreSQL When It’s Not Your Job) to those just getting into Postgres database server administration. Josh Berkus, from the PostgreSQL Core Team, presented it in 2015 (https://www.youtube.com/watch?v=qoQRGl_P2aQ (2.5 hour video)) and the original (2012) slides by Christophe Pettus at http://thebuild.com/blog/2012/06/04/postgresql-when-its-not-your-job-at-djangocon-europe/