Jun
26
2017
0

How to handle Python 3 Fabric exceptions with a Decorator

Python’s Fabric module is an easy and efficient way for task based automation.  I use it to automate the installation of VoIP phone systems on CentOS 6/7.  In a nut shell, Fabric executes shell commands over SSH.  It also can be used to automate local tasks.  The purpose of this article is to highlight the […]

Jun
21
2017
0

Automate Git Repository Setup with Python & Fabric

I love Git.  I find Git to be an intuitive way to track many versions between many systems.  Now all my default config files and scripts utilize Git.  However, logging into a server and creating the Git repo, then cloning it is a number of steps that detracts from getting work done.   This tutorial […]

Jun
08
2017
0

How to Install and Configure Basic Git Server on CentOS 6

Git has changed my life.  I’m not exaggerating.  I work with a lot of ‘one off’ scripts (BASH, PHP, and Python).  They are spread out among systems and developed from my workstation and(sometimes) laptop.  I spent 15 years keeping multiple versions and copies of the same scripts spread between systems.  Looking back it seems Crazy! […]

Written by mattb in: Automation,Linux | Tags: , , , , ,
May
30
2017
4

How to Install Python 3 and pip 3 for CentOS 6

CentOS 6 doesn’t have native support for Python 3 and corresponding module management tool ‘pip’.  I prefer pip for managing my Python modules.  On CentOS 7 there is a specific yum package for pip(Python 2.7) and pip3(Python 3.4) respectively. However on COS 6 we must install the ‘epel repository’ to get Python 3.4 and there is no specific […]

Written by mattb in: Linux,Python,Scripts | Tags: , , , , ,
Oct
16
2016
1

Lono the Cat taken by cancer (2002-2016)

Lono finally succumbed to feline lymphoma after a 2+ year battle.  In the coming weeks I’ll be adding post on his care and living with cancer.  He fought til the bitter end.  We love you Lono.

Written by mattb in: Uncategorized |
Jul
02
2015
1

UPDATE – Managing Multiple Interfaces with Fedora 21, libvirt, Qemu, NetworkManager

This post is an update to a previous post on using multiple interfaces(Ethernet cards) on the LAN, – utilizing RedHat’s popular virtualization tools – QEMU, KVM, libvirt, and virt-manager.  In this article I will demonstrate with Fedora 21, but this roughly applies to CentOS 7 as well. I’ve resisted upgrading to recent versions of Fedora/CentOS for […]

Aug
04
2014
0

How to Provision Global Settings using Polycom 4.0 Firmware

Recently I’ve been tasked with figuring out how to provision Polycom phones on the 4.0 firmware.  I’ve resisted for some time because of our existing GUI and templates.  However, the time has come to make the transition.  This tutorial will cover how to create a custom settings file that used to make up sip.cfg.  We […]

Written by mattb in: Asterisk,Asterisk Post,Linux | Tags: , ,
Jun
12
2014
0

Civilization V on Fedora 20

It’s a dream come true.  Civ V on Linux!!!!!!!!!!   Let me just say this: OMG, OMG, OMG, OMG….!  Okay, deep breath. I love Civ, but my current situation only allows one computer, so I have to swap drives and boot Windows to play my most favorite of games.  It’s huge bummer, because it disrupts […]

Written by mattb in: Linux |
Jun
23
2013
0

Fedora 15, 16, 17, 18 missing system-config-network GUI – SOLVED

Recently Fedora has been a nightmare for me. Anyone that’s seen(the fairly new) GNOME 3 knows what I’m talking about.  Their design team must have dreamed up the next iteration of GNOME with only a tablet in mind.  The giant icons and dependency on keyboard shortcuts make it a must for a 7″ inch screen and a few swipes. […]

Jun
25
2012
0

Ping Test script

The script below records a ping results every 3 seconds to /var/log/ping.log.  I created this script to detemine if my NIC is losing conectivity with switch at the same time as Asterisk SIP peers are lagging out.  Enjoy!

Written by mattb in: Asterisk,Asterisk Post,Linux | Tags: , , ,