Linux Cloud Technologies 2013

  Build the cloud on Linux!  This year looks very promising for Linux when it comes to building your private cloud using open source technologies.  Finally, Linux-based software and application

Read More
Linux Cloud Technologies 2013

Install OpenStack Grizzly on Fedora 19 with Quantum Networking

by on August 14, 2013 at 7:35 pm

I recently registered for an watched a Red Hat online seminar, Taste of Training for the upcoming Red Hat Open Stack course.  Up until very recently, Red Hat OpenStack was only a technology preview, but now Red Hat is offering full support for OpenStack as part of it’s Red Hat Cloud Infrastructure product suite.

If you’re already familiar with OpenStack and/or Fedora, you can refer to this ’3 step’ guide from Red Hat:  http://openstack.redhat.com/Quickstart  Since you’re using Fedora 19, you’re not likely going to actually be able to complete the install in 3 steps as the guide suggests.  I have found there are numerous steps that must/should be modified for a smooth installation, and I have compiled those steps here for my readers.

What I’m going to outline here are some of the necessary tips and methods I gleaned from hours of frustration.  I also hope to include pretty screen shots for your convenience :).

I also intend to use Quantum networking, and (coming soon) GlusterFS as cinder storage.


, , , , , , ,

Connect to SQL Server with Python

by on July 5, 2013 at 2:23 pm

Recently I was tasked to rewrite some Perl cgi scripts.  My time is valuable to me, so I rewrote them in Python!  One of the functions of the cgi scripts was to connect to a Microsoft SQL Server 2008 r2 instance.  A quick glance at the perl scripts showed me we were using ODBC to connect to SQL Server.  After a few hours of reading online, I settled upon what I believe is the best method, using pyodbc.

pyodbc is an open source library for python, available at https://code.google.com/p/pyodbc/  Installation is pretty straight forward, but I will outline the steps here and help you connect to SQL Server as well.


in How-To, Red Hat

, , , ,

Ad goes here

Ajax script with python backend

by on June 10, 2013 at 3:07 pm

At my day job, I’m a Linux System Administrator.  This roughly translates to “Everything System Administrator” as I work in a lot of other capacities as well.  One of my duties is maintaining an internal web portal that runs on a RHEL 6 system.  A good portion of our portal runs on Python and Perl CGI scripts.  I wanted to dynamically update part of a page and I needed to make an Ajax call to a Python script instead of a normal PHP or ASP (etc).  I ran into a problem with a not so obvious solution compared to how people make calls to PHP backends.


in How-To

, , , , ,

Centos 6 Apache Kerberos AD SSO

by on May 21, 2013 at 7:22 pm

I recently setup a RHEL / Centos 6 Apache websever at work that integrates with Active Directory (AD) and Kerberos for a single sign on (SSO) web resource.  This took me a lot more time than I thought it would, but that’s because the tutorials I was reading were either wrong, or didn’t apply to my situation.  I am outlining the steps I took below to help others who may wish to have a similar setup.


in CentOS, How-To, Red Hat

, , , , , , ,

Install vSphere CLI in CentOS 6

by on May 7, 2013 at 4:04 pm

I recently installed VMware’s vSphere CLI 5.1 tools on a CentOS 6 x86_64 VM.  Despite the rather reassuring documentation released by VMware, installing these tools was no simple task.  I will outline the steps that I took for a successful installation of the vSphere CLI software, as some of it is not very obvious, especially for beginners.


, , , ,

Start iptables in Debian Automatically

by on February 21, 2013 at 9:47 pm

If you are trying to make iptables survive a reboot in Debian Squeeze or Wheezy, you may find the following of use.  After you get your iptables all squared away, save them to a text file with the incredibly handy /sbin/iptables-save command:

/sbin/iptables-save > /root/iptables.saved

This will create a text file in the /root directory containing lines that will be parsed by iptables when used with the  iptables-restore command.

Next, add the following script to your system:


in Debian, How-To

, , , ,

Fedora 18 won’t boot

by on February 11, 2013 at 3:27 am

Recently I filed a bug report with bugzilla regarding Fedora 18′s inability to boot after successful installation from all types of installation methods. Check the comment section of the Fedora 18 Review post for a direct link to the bug report.

Fedora 18, like many other fresh distros, utilizes GRUB2.  However, Fedora 18 is the only distro I have personally encountered this problem of not booting after a successful install.  This problem seems to be related to older hardware, or devices that lack the ability / video memory to use the highly graphical GRUB2 boot screen.  There is no science in my previous statement, just an educated guess.


in Fedora, How-To


GlusterFS Tips and Tricks CentOS

by on February 10, 2013 at 4:39 pm

I’ve been playing around with the latest stable release of GlusterFS, currently 3.3.1, for the last couple of weeks.  GlusterFS is a scale-out cluster storage system that is extremely easy to setup and get running.  However, during my short time working with it, I’ve stumble across a few items that were a little tricky to solve, and not well documented in the FAQ or elsewhere (that I found).

Problem: Attaching a Peer

The first problem I ran into was the inability to successfully attach a peer.  After running gluster peer attach gluster-node2 I would receive “Probe unsuccessful” “Probe returned with unknown errno 107″  Suffice to say that when an application gives you an “unknown error” it is very demoralizing.  Especially if you read Gluster’s documentation about how easy it is to setup.  If you check in /var/log/glusterfs/etc-glusterfs-glusterd.vol.log you can generally find some text that points to the problem.


in CentOS, How-To, Reviews

, ,

Backup MySQL database

by on January 16, 2013 at 6:44 pm

Today, we’re going to be covering the 3 most important rules for any Linux System Administrator:  Backups, Backups, Backups.

That’s right, if you don’t have backups, you have failed in your duties.  Every single thing else you may have done to secure your system cannot replace the need for backups.  Systems get cracked, hard drives fail, CPUs fail, RAM fails, password are forgotten, files get rm’d by mistake, patches break systems.

This article is about creating a simple backup script to backup your MySQL databases to an offsite location, complete with cron jobs, and encryption.


, , , ,

Ubuntu: install packages from CD

by on January 12, 2013 at 10:18 pm

Recently I installed a system with Ubuntu Server, and neglected to install openssh-server.  While I had terminal access, I didn’t have internet access, so I simply couldn’t run apt-get to install the missing packages.  I was stuck in the data center (virtually stuck, anyway) with a decision:  Spending another 40 minutes re-installing the operating system, or somehow install the packages from the installation disk.  I chose the latter, and while it took more time than just re-installing the system to figure it out, it will surely save me time in the long run as this is most likely not the last time I will encounter this missing package problem.


in Distros, How-To, Ubuntu

, , , ,