<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-29917023</id><updated>2024-10-07T00:45:15.860-04:00</updated><category term="work"/><category term="linux"/><category term="aws"/><category term="openwrt"/><category term="notetoself"/><category term="apache"/><category term="web"/><category term="ec2"/><category term="anti-spam"/><category term="mail"/><category term="perl"/><category term="documentation"/><category term="cisco"/><category term="mac"/><category term="memcached"/><category term="rpm"/><category term="ubuntu"/><category term="chef"/><category term="ldap"/><category term="python"/><category term="ruby"/><category term="wheresgeorge"/><category term="C"/><category term="asa"/><category term="bash"/><category term="beer"/><category term="bigip"/><category term="ebs"/><category term="f5"/><category term="greylisting"/><category term="kernel"/><category term="lvm2"/><category term="monitoring"/><category term="nginx"/><category term="openssl"/><category term="rsync"/><category term="s3"/><category term="snmp"/><category term="voip"/><title type='text'>tony&#39;s geek stuff</title><subtitle type='html'>stuff i&#39;m working on.&#xa;&#xa;current project: chef!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.tonns.org/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>77</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-29917023.post-7045747581143871295</id><published>2014-04-05T10:32:00.000-04:00</published><updated>2014-04-26T15:38:05.204-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="documentation"/><category scheme="http://www.blogger.com/atom/ns#" term="memcached"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Enabling Markdown on your apache webserver - update 3</title><summary type="text">Last time on &quot;Enabling Markdown on your apache webserver&quot;:

I created a perl CGI handler to render Markdown into HTML
I updated (rewrote) the CGI handler to use ruby and the redcarpet gem.

And now, the exciting conclusion....

I&#39;ve updated my CGI handler yet again with a few new features and I&#39;ve posted it on my GitHub account, in the docs-on-clearance repo (get &#39;em cheap while they&#39;re all </summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/7045747581143871295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/7045747581143871295' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/7045747581143871295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/7045747581143871295'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2014/04/enabling-markdown-on-your-apache.html' title='Enabling Markdown on your apache webserver - update 3'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-3173742172764528845</id><published>2014-03-27T13:02:00.001-04:00</published><updated>2014-03-27T13:02:48.983-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="documentation"/><category scheme="http://www.blogger.com/atom/ns#" term="monitoring"/><category scheme="http://www.blogger.com/atom/ns#" term="rpm"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Building Icinga on Amazon Linux</title><summary type="text">As part of a datacenter to cloud migration for $WORK I recently needed to move our Icinga install to AWS. However, there is no current Icinga package for Amazon Linux. There exists a set of rpms when using rpmforge, but Amazon Linux is already setup for EPEL instead. The way forward? Build the rpms.

It actually wasn&#39;t very hard at all. I spun up a builder instance, built the rpms, copied them to</summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/3173742172764528845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/3173742172764528845' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/3173742172764528845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/3173742172764528845'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2014/03/building-icinga-on-amazon-linux.html' title='Building Icinga on Amazon Linux'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-770823006021815200</id><published>2014-02-03T12:12:00.003-05:00</published><updated>2014-02-03T12:12:46.311-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chef"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Automation</title><summary type="text">


From the venerable xkcd:







</summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/770823006021815200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/770823006021815200' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/770823006021815200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/770823006021815200'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2014/02/automation.html' title='Automation'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-3684886289796394487</id><published>2013-10-07T14:07:00.002-04:00</published><updated>2014-04-06T16:43:54.999-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="documentation"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Enabling Markdown on your apache webserver - redux</title><summary type="text">In&amp;nbsp;a previous post&amp;nbsp;I enabled previewing of Markdown formatted documents using the Text::Markdown perl module. However simple that module was to implement, it only implemented&amp;nbsp;daringfireball markdown. Things at $WORK have ramped up the adoption of Markdown and the atrophied standard is not enough. So, I&#39;ve had to find another renderer.

Started by looking at how GitHub renders </summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/3684886289796394487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/3684886289796394487' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/3684886289796394487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/3684886289796394487'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2013/10/enabling-markdown-on-your-apache.html' title='Enabling Markdown on your apache webserver - redux'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-1207732448582784107</id><published>2013-07-22T11:53:00.000-04:00</published><updated>2013-09-03T21:00:05.134-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="ec2"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Building a perl package for Amazon Linux, CentOS or RHEL</title><summary type="text">A previous post detailed on how to build a .deb file for a perl module on Ubuntu. However, I needed the updated module as a .rpm on an Amazon Linux system, so I created the procedure for that OS as well. It was a lot easier than I thought it would be.

# install general dependencies of Net::Amazon::EC2
sudo yum --enablerepo=epel install \
    perl-Net-Amazon-EC2 perl-File-Slurp perl-DBI </summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/1207732448582784107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/1207732448582784107' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/1207732448582784107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/1207732448582784107'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2013/07/building-perl-package-for-amazon-linux.html' title='Building a perl package for Amazon Linux, CentOS or RHEL'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-5399318893497740627</id><published>2013-07-09T13:43:00.000-04:00</published><updated>2013-07-09T13:43:51.549-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="notetoself"/><title type='text'>Piping STDOUT to one command but STDERR to a different command</title><summary type="text">Found this awesome stackoverflow answer and had to write it up as a note to myself:

./foobar.pl &amp;gt; &amp;gt;( logger -t stdout ) 2&amp;gt; &amp;gt;( logger -t stderr )

Specifically, I hope to use this to replicate all EBS snapshots taken on an instance, e.g.:

ec2-consistent-snapshot &amp;gt; &amp;gt;( ec2-replicate-snapshots ) 2&amp;gt; &amp;gt;( logger -t $PROGNAME )
</summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/5399318893497740627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/5399318893497740627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/5399318893497740627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/5399318893497740627'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2013/07/piping-stdout-to-one-command-but-stderr.html' title='Piping STDOUT to one command but STDERR to a different command'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-7026913567417032928</id><published>2013-07-08T16:59:00.000-04:00</published><updated>2013-07-08T16:59:31.471-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="ec2"/><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Building a perl package for Ubuntu</title><summary type="text">I recently had a need to update an Ubuntu perl module for a client at $WORK. Specifically I needed to update the Net::Amazon::EC2 module to version 0.23 to support tagging of AWS resources. Looking at CPAN, the library went un-maintained for close to 3 years before a new author picked it up. Things are looking up though as it seems this fall&#39;s release of Ubuntu will likely have the new package.

</summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/7026913567417032928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/7026913567417032928' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/7026913567417032928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/7026913567417032928'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2013/07/building-perl-package-for-ubuntu.html' title='Building a perl package for Ubuntu'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-6849103048827573520</id><published>2013-03-05T11:23:00.001-05:00</published><updated>2013-03-05T11:23:17.860-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="chef"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Forcing a service to stop during Chef execution</title><summary type="text">My latest project at work has been to get a Chef installation going for a client who is migrating a site from a traditional datacenter to Amazon Web Services. And part of the unique snowflake of a deploy process for this application is that it must be restarted on every deploy because the config files are included in the deploy - apache&#39;s httpd.conf, tomcat&#39;s server.xml, etc. etc. Most </summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/6849103048827573520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/6849103048827573520' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/6849103048827573520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/6849103048827573520'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2013/03/forcing-service-to-stop-during-chef.html' title='Forcing a service to stop during Chef execution'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-2776864759631875788</id><published>2013-02-28T16:22:00.001-05:00</published><updated>2013-02-28T16:22:15.113-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asa"/><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="openssl"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Importing a SSL/TLS Wildcard Certificate and Private Key from your webserver onto your Cisco ASA 5500 series firewall</title><summary type="text">Whoops! The self-signed certificate on the corporate Cisco ASA 5520 firewall expired a month ago and now it needs to be updated. However, we have a legitimate wildcard certificate issued from GeoTrust, so I figured out how to re-use that cert on the ASA by converting it with openssl into a format that it likes. Here are the steps:

1. convert all certs and keys to PEM format



    mkdir asa
    </summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/2776864759631875788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/2776864759631875788' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/2776864759631875788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/2776864759631875788'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2013/02/importing-ssltls-wildcard-certificate.html' title='Importing a SSL/TLS Wildcard Certificate and Private Key from your webserver onto your Cisco ASA 5500 series firewall'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-499766858322595883</id><published>2013-02-06T16:41:00.002-05:00</published><updated>2013-02-06T16:41:32.735-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="ec2"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Mageia2 on EC2: Cruising Altitude</title><summary type="text">This is my fourth post on getting Mageia2 running on Amazon Web Services&#39; Elastic Compute Cloud. See my first post in the series for an overview.

In the last post, I addressed the problem of having only a test kernel by tweaking the Mageia kernel SRPM and creating a gzipped kernel that can be used with the version of PV-GRUB supplied by Amazon. Now I&#39;ll walk through the steps of building an EBS </summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/499766858322595883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/499766858322595883' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/499766858322595883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/499766858322595883'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2013/02/mageia2-on-ec2-cruising-altitude.html' title='Mageia2 on EC2: Cruising Altitude'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-3095373076990655786</id><published>2012-12-21T10:35:00.002-05:00</published><updated>2012-12-21T10:35:44.662-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Vi IMproved</title><summary type="text">Ubuntu tweak #2 - diediedie nano die!

$ sudo update-alternatives --config editor
There are 4 choices for the alternative editor (providing /usr/bin/editor).

  Selection    Path                Priority   Status
------------------------------------------------------------
* 0            /bin/nano            40        auto mode
  1            /bin/ed             -100       manual mode
  2</summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/3095373076990655786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/3095373076990655786' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/3095373076990655786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/3095373076990655786'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2012/12/vi-improved.html' title='Vi IMproved'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-4301785938280072463</id><published>2012-12-20T15:24:00.004-05:00</published><updated>2012-12-20T15:25:11.201-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Disable dnsmasq in NetworkManager</title><summary type="text">I have recently converted my work desktop to Ubuntu 12.10. Most things were better, but I was seeing horrible DNS lag from dnsmasq. To disable it, I&#39;ve done the following:

sudo vi /etc/NetworkManager/NetworkManager.conf
# comment out&amp;nbsp;dns=dnsmasq
sudo restart network-manager

This will regenerate your resolv.conf and you&#39;ll see your DNS servers directly and not localhost.</summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/4301785938280072463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/4301785938280072463' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/4301785938280072463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/4301785938280072463'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2012/12/disable-dnsmasq-in-networkmanager.html' title='Disable dnsmasq in NetworkManager'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-5544795344429296876</id><published>2012-12-11T23:20:00.000-05:00</published><updated>2013-01-18T10:54:20.833-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="ec2"/><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Mageia2 on EC2: Stormy Weather</title><summary type="text">
This is my third post on getting Mageia2 running on Amazon Web Services&#39; Elastic Compute Cloud. See my first post in the series for an overview.



In my last post I described how to create and upload an AMI that allows you to run Mageia2 on EC2. There were two issues with that method:


The EC2 instances are using a one-off unverified kernel, obtained for testing purposes only.
The instances </summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/5544795344429296876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/5544795344429296876' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/5544795344429296876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/5544795344429296876'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2012/12/mageia2-on-ec2-stormy-weather.html' title='Mageia2 on EC2: Stormy Weather'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-7308287766792569205</id><published>2012-12-05T11:29:00.000-05:00</published><updated>2012-12-05T11:33:17.853-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="ec2"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Mageia2 on EC2: Boarding procedures</title><summary type="text">This is my second post on getting Mageia2 running on Amazon Web Services&#39; Elastic Compute Cloud. See my first post in the series for an overview.

The first step to creating a Mageia2 install on EC2 is to have a local Mageia2 system as your seed setup. Why? Because you must use&amp;nbsp;urpmi, the Mageia package installer. It is equivalent to apt-get in Ubuntu or yum in CentOS/RHEL/Amazon Linux. Yes,</summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/7308287766792569205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/7308287766792569205' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/7308287766792569205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/7308287766792569205'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2012/12/mageia2-on-ec2-boarding-procedures.html' title='Mageia2 on EC2: Boarding procedures'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-3126382191866630022</id><published>2012-11-27T09:41:00.000-05:00</published><updated>2013-02-07T22:29:30.169-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="ec2"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Mageia2 on EC2: Flying in a different direction</title><summary type="text">At $WORK, we make the claim that as a client&#39;s systems oversight service, we are &quot;distribution agnostic&quot; - meaning we&#39;ll help you out regardless of what Linux distribution you&#39;re running. Most of the time, we work with Ubuntu, RHEL, CentOS or Amazon Linux. However, a client recently decided on running Mageia2 GNU/Linux on Amazon Web Services&#39; Elastic Compute Cloud, so I had to pick up the </summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/3126382191866630022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/3126382191866630022' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/3126382191866630022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/3126382191866630022'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2012/11/mageia2-on-ec2-flying-in-different.html' title='Mageia2 on EC2: Flying in a different direction'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-2122048020218221121</id><published>2012-10-26T12:24:00.000-04:00</published><updated>2014-04-06T16:43:41.325-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="documentation"/><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Enabling Markdown on your apache webserver</title><summary type="text">At $WORK, we&#39;re toying with moving all documentation with Markdown&amp;nbsp;and git. To do that I needed to be able to render it locally to preview before pushing to GitHub,&amp;nbsp;Bitbucket&amp;nbsp;or another yet-to-be-determined repository. This setup was rather quick, easy and painless. Here&#39;s the steps:

1. Install&amp;nbsp;Text::Markdown&amp;nbsp;as your converter. The perl-Text-Markdown RPM was in the </summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/2122048020218221121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/2122048020218221121' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/2122048020218221121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/2122048020218221121'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2012/10/enabling-markdown-on-your-apache.html' title='Enabling Markdown on your apache webserver'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-62434790451252594</id><published>2012-08-23T17:52:00.001-04:00</published><updated>2012-08-23T17:52:21.786-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="notetoself"/><category scheme="http://www.blogger.com/atom/ns#" term="rpm"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Building RPMs cleanly</title><summary type="text">I recently found this script&amp;nbsp;recently to build a solr rpm and I love how it simply solves so many problems with RPM packaging with a few defines. Here&#39;s my slightly modified version for building an apache package, which leaves the SOURCES&amp;nbsp;directory untouched and keeps a log of the build so you can go back and review it later:

#!/bin/sh -x
rm -rf BUILD RPMS SRPMS tmp || true
mkdir -p </summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/62434790451252594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/62434790451252594' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/62434790451252594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/62434790451252594'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2012/08/building-rpms-cleanly.html' title='Building RPMs cleanly'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-3949760965767788081</id><published>2012-07-11T12:30:00.000-04:00</published><updated>2012-07-11T12:34:29.621-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="nginx"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="s3"/><category scheme="http://www.blogger.com/atom/ns#" term="web"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Log housekeeping with python</title><summary type="text">This week I was able to finally finish some python code I&#39;ve been writing for $WORK - a script to rotate webserver logs directly to S3. This task was similar to something I&#39;d done a long, LONG time ago (14 years since the first rev!) in a programming language far, far away. I had a much bigger chip on my shoulder then -&amp;nbsp;
site&amp;nbsp;analytics&amp;nbsp;really isn&#39;t done with log parsing anymore,&amp;</summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/3949760965767788081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/3949760965767788081' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/3949760965767788081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/3949760965767788081'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2012/07/log-housekeeping-with-python.html' title='Log housekeeping with python'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-925306505564703817</id><published>2012-06-29T14:42:00.001-04:00</published><updated>2013-02-10T22:32:21.371-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="ebs"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="lvm2"/><title type='text'>EBS snapshots and LVM2</title><summary type="text">I&#39;ve been meaning to try this for a while to see how it goes - use LVM2 to take an &quot;instantaneous&quot; snapshot&amp;nbsp;of an EBS volume and then let AWS take it&#39;s time. I found LVM wasn&#39;t as quick as I&#39;d like. Also, I have performance tested this either, so I don&#39;t know how bad the latency will be. Either way, I think it&#39;s an easy way to get a consistent backup:



# prep
export MYAZ=&quot;us-east-1a&quot;
</summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/925306505564703817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/925306505564703817' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/925306505564703817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/925306505564703817'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2012/06/ebs-snapshots-and-lvm2.html' title='EBS snapshots and LVM2'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-2686256477304584859</id><published>2011-12-29T17:20:00.000-05:00</published><updated>2012-01-10T09:35:07.207-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="voip"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>QoS for Asterisk/PiaF on CentOS with Cisco hard phones &amp; switches</title><summary type="text">Now that I&#39;m moved into the new office for $WORK, I had to diagnose some phone issues with our new Asterisk based PBX-in-a-Flash phone system. Thankfully, the new office setup is better in a few ways:


All jacks in the office are active, with PoE
All the switches are the same model number, Cisco&amp;nbsp;WS-C3560G-48PS
All the phones are the same model, Cisco SPA504G


After tweaking some SIP </summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/2686256477304584859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/2686256477304584859' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/2686256477304584859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/2686256477304584859'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2011/12/qos-for-piaf-on-centos-with-cisco-hard.html' title='QoS for Asterisk/PiaF on CentOS with Cisco hard phones &amp; switches'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-4008280871570524275</id><published>2011-05-17T23:20:00.002-04:00</published><updated>2011-05-17T23:30:28.375-04:00</updated><title type='text'>Rootless Root</title><summary type="text">ESR&#39;s UNIX Koans are always worth reading again... be enlightened!</summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/4008280871570524275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/4008280871570524275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/4008280871570524275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/4008280871570524275'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2011/05/rootless-root.html' title='Rootless Root'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-8256197617842146395</id><published>2011-04-22T19:28:00.005-04:00</published><updated>2011-04-22T19:37:59.767-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="notetoself"/><category scheme="http://www.blogger.com/atom/ns#" term="rsync"/><title type='text'>rsync + FAT32 filesystem</title><summary type="text">Found a useful nugget in the rsync FAQ: if your destination filesystem when using rsync is a FAT32 filesystem you need to add the --modify-window=1 option due to problems with the modified times on FAT32. A working example would be:rsync \ --progress \ --delete \ --verbose \ --archive \ --modify-window=1 \ /path/to/source/dir/ \ /path/to/fat32/dir/As always, remember to be careful about those </summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/8256197617842146395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/8256197617842146395' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/8256197617842146395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/8256197617842146395'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2011/04/rsync-fat32-filesystem.html' title='rsync + FAT32 filesystem'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-6183174635721067264</id><published>2011-04-14T12:04:00.004-04:00</published><updated>2011-04-14T12:30:54.576-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="notetoself"/><category scheme="http://www.blogger.com/atom/ns#" term="web"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Self-signing a certificate... quickly</title><summary type="text">I&#39;ve been using SSL/TLS certs for a long, long time - I&#39;ve even had to re-issue my personal CA cert after it expired after 5 years. However, every time I&#39;ve issued a self signed cert for an internal site, openssl prompted me interactively for the Country, State, Locality, etc. etc. blah, blah, blah. The lack of automation was exceptionally annoying. I knew the defaults could be customized so that</summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/6183174635721067264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/6183174635721067264' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/6183174635721067264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/6183174635721067264'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2011/04/self-signing-certificate-quickly.html' title='Self-signing a certificate... quickly'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-2000016253420632764</id><published>2011-04-08T13:44:00.004-04:00</published><updated>2011-04-08T17:19:43.629-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="web"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Disabling TRACE and TRACK methods</title><summary type="text">After reading a blog post about how to disable TRACE and TRACK for compliance, I&#39;ve taken an extra step - limit HTTP requests to only &quot;the big three&quot;:        RewriteEngine On        RewriteCond %{REQUEST_METHOD} !^(GET|HEAD|POST)        RewriteRule .* - [F]It&#39;s possible you might want to add &quot;OPTIONS&quot; to that list or &quot;DELETE|PUT&quot; to be RESTful, but as with most implementations, YMMV.</summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/2000016253420632764/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/2000016253420632764' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/2000016253420632764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/2000016253420632764'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2011/04/disabling-trace-and-track-methods.html' title='Disabling TRACE and TRACK methods'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29917023.post-3282610436818644193</id><published>2011-02-12T07:26:00.000-05:00</published><updated>2011-02-12T07:27:21.995-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>python!</title><summary type="text">After a break, I&#39;ve decided to pick up a new project - learn python. I have a specific work goal in mind - create a small application to create, manage, remove, map, etc. CloudFront distributions that use a custom origin server, i.e. not S3, across multiple AWS accounts. It seems that boto is way to go. It has an uphill battle - the AWS provided SDKs are really quite easy to use and are well </summary><link rel='replies' type='application/atom+xml' href='http://blog.tonns.org/feeds/3282610436818644193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/29917023/3282610436818644193' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/3282610436818644193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29917023/posts/default/3282610436818644193'/><link rel='alternate' type='text/html' href='http://blog.tonns.org/2011/02/python.html' title='python!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>