<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Shane Cunningham</title><link>https://cunninghamshane.com/</link><description>Recent content on Shane Cunningham</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 23 Oct 2026 00:00:00 -0500</lastBuildDate><atom:link href="https://cunninghamshane.com/index.xml" rel="self" type="application/rss+xml"/><item><title>Hello, world (again)</title><link>https://cunninghamshane.com/posts/hello-world-again/</link><pubDate>Fri, 23 Oct 2026 00:00:00 -0500</pubDate><guid>https://cunninghamshane.com/posts/hello-world-again/</guid><description>&lt;p&gt;This blog has been offline and online a few times since 2010, through WordPress, Ghost and Hugo. It&amp;rsquo;s back with a new look and a fresh start.&lt;/p&gt;&#10;&lt;p&gt;Everything I wrote before now is still here and marked as &lt;a href="https://cunninghamshane.com/archive/"&gt;archived&lt;/a&gt;. Those posts are kept as they were written, so expect old versions of ESXi, OpenStack and friends. New posts start here.&lt;/p&gt;&#10;&lt;p&gt;Every hello world needs a hello world, so here&amp;rsquo;s one from a Kubernetes cluster.&lt;/p&gt;</description></item><item><title>Self-hosted Kubernetes with Tectonic-Installer</title><link>https://cunninghamshane.com/posts/self-hosted-kubernetes-with-terraform-tectonic-installer/</link><pubDate>Sun, 22 Oct 2017 11:32:17 +0000</pubDate><guid>https://cunninghamshane.com/posts/self-hosted-kubernetes-with-terraform-tectonic-installer/</guid><description>&lt;p&gt;This is more of an update to my &lt;a href="https://cunninghamshane.com/posts/bare-metal-self-hosted-kubernetes/"&gt;previous post on deploying a self-hosted Kubernetes&lt;/a&gt; cluster using Bootkube/Matchbox. Since then there&amp;rsquo;s been some updates and CoreOS has open sourced their tectonic-installer project. This adds Terraform, so the full stack for the bare-metal provider is Terraform -&amp;gt; Matchbox -&amp;gt; Bootkube -&amp;gt; Tectonic assets/manifests.&lt;/p&gt;&#10;&lt;p&gt;This time I created a Container Linux VM to act as the PXE and deployment host. All of this is from readily available documentation, compiled down to what you need to get up and running quickly. I have two physical servers, one will act as the controller [node1] and the other as the worker [node2].&lt;/p&gt;</description></item><item><title>Self-hosted Kubernetes on bare-metal with Bootkube/Matchbox</title><link>https://cunninghamshane.com/posts/bare-metal-self-hosted-kubernetes/</link><pubDate>Sat, 18 Mar 2017 05:39:05 +0000</pubDate><guid>https://cunninghamshane.com/posts/bare-metal-self-hosted-kubernetes/</guid><description>&lt;p&gt;&lt;strong&gt;10/22/2017:&lt;/strong&gt; &lt;a href="https://cunninghamshane.com/posts/self-hosted-kubernetes-with-terraform-tectonic-installer/"&gt;Updated post&lt;/a&gt; on this method&lt;/p&gt;&#10;&lt;p&gt;I use a cobbler VirtualBox VM on my laptop to PXE boot my three bare-metal servers in my home lab for OpenStack. This enables me to quickly test new OpenStack deployments with setting three &amp;ldquo;&lt;code&gt;--netboot&lt;/code&gt;&amp;rdquo; cobbler values to true and then rebooting my servers. Cobbler takes care of PXE booting my servers with Ubuntu and with my specific partitioning scheme. I can then use Ansible to prepare my three nodes and then use Ansible to lay down OpenStack.&lt;/p&gt;</description></item><item><title>Scale your Kubernetes cluster with OpenStack Magnum</title><link>https://cunninghamshane.com/posts/scale-your-kubernetes-cluster-with-openstack-magnum/</link><pubDate>Wed, 08 Feb 2017 11:12:34 +0000</pubDate><guid>https://cunninghamshane.com/posts/scale-your-kubernetes-cluster-with-openstack-magnum/</guid><description>&lt;p&gt;Quick post on how easy OpenStack Magnum makes scaling your Kubernetes clusters up or down. I spun up a one controller, one worker node Kubernetes cluster. Scaling this cluster up and down, where Magnum takes care of adding and removing the worker node to the cluster, is only one command each way.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;console&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-console" data-lang="console"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gp"&gt;$&lt;/span&gt; kubectl cluster-info&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;Kubernetes master is running at https://192.168.88.233:6443&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;KubeUI is running at https://192.168.88.233:6443/api/v1/proxy/namespaces/kube-system/services/kube-ui&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="err"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gp"&gt;$&lt;/span&gt; kubectl get nodes&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;NAME STATUS AGE&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;10.0.0.3 Ready,SchedulingDisabled 6m&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;ku-ptzjkk2wew-0-b2tsvzrd63o4-kube-minion-uol3nin7zndb Ready 4m&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="err"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;root@infra01-utility-container-e6fba879:~# nova list&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;+--------------------------------------+-------------------------------------------------------+--------+------------+-------------+----------------------------------+&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;| ID | Name | Status | Task State | Power State | Networks |&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;+--------------------------------------+-------------------------------------------------------+--------+------------+-------------+----------------------------------+&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;| 643e4ad8-a9db-44c8-b236-8536efc5fc44 | ku-4b3scjlreg-0-jvxjrtd2b7lg-kube-master-wri52qlujljn | ACTIVE | - | Running | private=10.0.0.3, 192.168.88.233 |&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;| 0aa58f68-b05c-4c3d-b54b-93848132d2f4 | ku-ptzjkk2wew-0-b2tsvzrd63o4-kube-minion-uol3nin7zndb | ACTIVE | - | Running | private=10.0.0.4, 192.168.88.227 |&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;+--------------------------------------+-------------------------------------------------------+--------+------------+-------------+----------------------------------+&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;We use the cluster-update command to add another worker node.&lt;/p&gt;</description></item><item><title>Installing OpenStack Magnum using openstack-ansible</title><link>https://cunninghamshane.com/posts/installing-openstack-magnum/</link><pubDate>Wed, 07 Dec 2016 08:49:38 +0000</pubDate><guid>https://cunninghamshane.com/posts/installing-openstack-magnum/</guid><description>&lt;p&gt;An Ansible role was developed we can use with openstack-ansible to deploy &lt;a href="https://wiki.openstack.org/wiki/Magnum"&gt;OpenStack Magnum&lt;/a&gt;. This is still somewhat early in development so it&amp;rsquo;s likely these steps will change soon.&lt;/p&gt;&#10;&lt;p&gt;You&amp;rsquo;ll need an OpenStack environment already deployed with openstack-ansible and functioning correctly. In my environment I had one controller node and 1 compute. I found Kubernetes refused to deploy a worker/minion on the same compute node as the master was deployed on, so if you&amp;rsquo;re doing Kubernetes you might want at least two compute nodes.&lt;/p&gt;</description></item><item><title>Deploying and customizing OpenStack Mitaka with openstack-ansible</title><link>https://cunninghamshane.com/posts/deploying-and-customizing-openstack-mitaka-with-openstack-ansible/</link><pubDate>Fri, 19 Aug 2016 09:37:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/deploying-and-customizing-openstack-mitaka-with-openstack-ansible/</guid><description>&lt;p&gt;This guide will be similar to my other guides on how to install OpenStack using openstack-ansible, LXC containers and some simple YAML configs, but I plan to go a little more in depth with some of the configuration options and customizations that are available. This version will deploy OpenStack Mitaka.&lt;/p&gt;&#10;&lt;h3 id="overview"&gt;Overview&lt;/h3&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="#hardware"&gt;Hardware&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#setting-up-physical-hosts"&gt;Setting up physical hosts&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#downloading-openstack-ansible"&gt;Downloading openstack-ansible&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#customizing-our-openstack-cloud"&gt;Customizing our OpenStack cloud&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#installing-openstack"&gt;Installing OpenStack&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#configuring-neutron"&gt;Configuring Neutron&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#testing-our-cloud"&gt;Testing our cloud&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#next"&gt;Next&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h3 id="hardware"&gt;Hardware&lt;/h3&gt;&#10;&lt;p&gt;&lt;strong&gt;infra01&lt;/strong&gt;:&lt;br&gt;&#10;Lenovo ThinkServer TS140&lt;br&gt;&#10;Xeon E3-1225 v3 3.2 GHz&lt;br&gt;&#10;16GB ECC RAM&lt;br&gt;&#10;2 x 1Gb NICs (em1 and p4p1)&lt;/p&gt;</description></item><item><title>Deploying OpenStack Liberty with Ceph</title><link>https://cunninghamshane.com/posts/deploying-openstack-and-ceph/</link><pubDate>Sun, 10 Apr 2016 00:17:12 +0000</pubDate><guid>https://cunninghamshane.com/posts/deploying-openstack-and-ceph/</guid><description>&lt;p&gt;In this example of deploying OpenStack I&amp;rsquo;ll be adding a third server that will act as our &lt;a href="http://ceph.com/"&gt;Ceph&lt;/a&gt; storage server. With a few config changes to openstack-ansible we will setup nova, cinder and glance to use Ceph as their backend storage systems.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;infra01&lt;/strong&gt;:&lt;br&gt;&#10;Lenovo ThinkServer TS140&lt;br&gt;&#10;Xeon E3-1225 v3 3.2 GHz&lt;br&gt;&#10;16GB ECC RAM&lt;br&gt;&#10;2 x 1Gb NICs&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;text&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;IP address for em1: 192.168.88.100&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;IP address for br-mgmt: 172.29.236.51&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;IP address for br-vxlan: 172.29.240.51&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;IP address for br-storage: 172.29.244.51&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;IP address for br-vlan: none&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;&lt;strong&gt;compute01&lt;/strong&gt;:&lt;br&gt;&#10;Dell Poweredge T110 II&lt;br&gt;&#10;Xeon E3-1230 v2 3.3 GHz&lt;br&gt;&#10;32GB ECC RAM&lt;br&gt;&#10;2 x 1Gb NICs&lt;/p&gt;</description></item><item><title>Deploying OpenStack Kilo with openstack-ansible</title><link>https://cunninghamshane.com/posts/deploying-openstack-kilo-with-openstack-ansible/</link><pubDate>Sun, 18 Oct 2015 04:43:18 +0000</pubDate><guid>https://cunninghamshane.com/posts/deploying-openstack-kilo-with-openstack-ansible/</guid><description>&lt;p&gt;&lt;a href="https://github.com/openstack/openstack-ansible"&gt;openstack-ansible&lt;/a&gt; is an open source project started by &lt;a href="http://www.rackspace.com/"&gt;Rackspace&lt;/a&gt; to make deploying large OpenStack clouds easier. You describe your OpenStack environment in configuration files and openstack-ansible uses Ansible to lay down OpenStack from source and runs most OpenStack services inside LXC containers.&lt;/p&gt;&#10;&lt;p&gt;The Kilo version of openstack-ansible was released last month. With that release came some significant changes from the Icehouse/Juno openstack-ansible code. This started as a Rackspace project, the Icehouse and Juno versions have Rackspace specific bits inside. Like a playbook to make it easier for our RPC support team to interact with an environment or our monitoring as a service code that was bundled in with openstack-ansible. However, our awesome team saw an opportunity to turn this into a community driven official OpenStack project. They removed all Rackspace specific bits so that openstack-ansible can be used by anyone with no reference to Rackspace or RPC.&lt;/p&gt;</description></item><item><title>Tips for managing OpenStack with openstack-ansible</title><link>https://cunninghamshane.com/posts/tips-for-managing-openstack-with-openstack-ansible/</link><pubDate>Sat, 18 Jul 2015 22:56:06 +0000</pubDate><guid>https://cunninghamshane.com/posts/tips-for-managing-openstack-with-openstack-ansible/</guid><description>&lt;p&gt;&lt;a href="https://github.com/stackforge/os-ansible-deployment"&gt;openstack-ansible&lt;/a&gt; (OSAD), is a deployment method that uses Ansible to lay down OpenStack inside LXC containers. It makes deploying large OpenStack deployments easier. Deploying most components of OpenStack inside LXC containers also makes upgrading as easy as downloading the new playbooks and running.&lt;/p&gt;&#10;&lt;p&gt;Here are some tips on managing the cluster once you&amp;rsquo;re up and runnning. Since the inventory includes all your hosts and containers, you can use Ansible to manage OpenStack and system administration tasks.&lt;/p&gt;</description></item><item><title>Deploying OpenStack in containers: Install and Upgrade</title><link>https://cunninghamshane.com/posts/openstack-in-containers-install-and-upgrade/</link><pubDate>Sat, 21 Mar 2015 11:01:33 +0000</pubDate><guid>https://cunninghamshane.com/posts/openstack-in-containers-install-and-upgrade/</guid><description>&lt;p&gt;My post on using &lt;a href="https://github.com/stackforge/os-ansible-deployment"&gt;openstack-ansible&lt;/a&gt; to deploy OpenStack in &lt;a href="https://linuxcontainers.org/lxc/introduction/"&gt;LXC containers&lt;/a&gt; in a two-node configuration with two NICs. One NIC is used for management, API and VM to VM traffic, the other NIC is for external network access. This is just for testing and messing around with deploying OpenStack in containers. An advantage to deploying with Ansible and containers is the easier upgrade path it provides. I&amp;rsquo;ll show a simple example of that in place upgrade with going from Icehouse to Juno with just running a few playbooks.&lt;/p&gt;</description></item><item><title>OpenStack Swift and Cyberduck</title><link>https://cunninghamshane.com/posts/openstack-swift-and-cyberduck/</link><pubDate>Fri, 13 Mar 2015 09:43:35 +0000</pubDate><guid>https://cunninghamshane.com/posts/openstack-swift-and-cyberduck/</guid><description>&lt;p&gt;Just a couple notes. I recently added a &lt;a href="https://wiki.openstack.org/wiki/Swift"&gt;Swift&lt;/a&gt; node to my OpenStack deployment in my closet. For some reason I kept wanting to point Cyberduck to the infra1_swift_proxy_container at port 8080. Instead, you want to point it to port 5000 for Keystone auth, duh. By default SSL is not enabled in Swift so you can download the HTTP OpenStack profile &lt;a href="https://svn.cyberduck.ch/trunk/profiles/Openstack%20Swift%20(HTTP).cyberduckprofile"&gt;OpenstackSwift(HTTP).cyberduckprofile&lt;/a&gt;. &amp;ldquo;Username:&amp;rdquo; in Cyberduck wants tenant:user, so out of the box you could use admin:admin, and the &amp;ldquo;Secret Key&amp;rdquo; would be the admin users password.&lt;/p&gt;</description></item><item><title>RPC v9 - Two node with floating IPs</title><link>https://cunninghamshane.com/posts/rpc-v9-two-node-installation-with-floating-ips/</link><pubDate>Sat, 07 Feb 2015 05:29:57 +0000</pubDate><guid>https://cunninghamshane.com/posts/rpc-v9-two-node-installation-with-floating-ips/</guid><description>&lt;p&gt;Building on my &lt;a href="https://cunninghamshane.com/posts/how-to-rpc-v9-two-node-installation/"&gt;previous post&lt;/a&gt; on installing Rackspace Private Cloud in a two node configuration, this update changes that slightly to allow for external network access and floating IPs to work with this deployment. My previous post used all VXLAN interfaces from a single physical NIC. That would not allow external/floating IPs to work, or at least I couldn&amp;rsquo;t get it to work. Since I have two physical NICs on these servers this guide will use both - &lt;strong&gt;em1&lt;/strong&gt; for br-mgmt, br-vxlan, br-storage via VXLAN interfaces since I don&amp;rsquo;t want to use VLANs, and &lt;strong&gt;p4p1&lt;/strong&gt; for br-vlan, which has direct access to my external network, 192.168.1.0/24.&lt;/p&gt;</description></item><item><title>Use Cloud Files for Docker registry storage</title><link>https://cunninghamshane.com/posts/use-cloud-files-for-docker-registry-storage/</link><pubDate>Wed, 21 Jan 2015 06:09:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/use-cloud-files-for-docker-registry-storage/</guid><description>&lt;p&gt;If you want to run your own private Docker registry here&amp;rsquo;s a quick and easy way to do that using &lt;a href="http://www.rackspace.com/cloud/files/"&gt;Rackspace Cloud Files&lt;/a&gt; as the backend storage. Cloud Files is based on &lt;a href="https://wiki.openstack.org/wiki/Swift"&gt;OpenStack Swift&lt;/a&gt;, so it comes with all the built in features and reliability that&amp;rsquo;s designed into Swift. Since this is Docker we&amp;rsquo;ll do it with the official Docker registry container, install docker-registry-driver-swift, and pass in our Cloud Files/Rackspace information when we run the container.&lt;/p&gt;</description></item><item><title>Two node RPC v9 installation</title><link>https://cunninghamshane.com/posts/how-to-rpc-v9-two-node-installation/</link><pubDate>Sun, 11 Jan 2015 05:16:25 +0000</pubDate><guid>https://cunninghamshane.com/posts/how-to-rpc-v9-two-node-installation/</guid><description>&lt;p&gt;&lt;a href="http://www.rackspace.com/cloud/private/openstack"&gt;Rackspace Private Cloud&lt;/a&gt; powered by &lt;a href="http://www.openstack.org/"&gt;OpenStack&lt;/a&gt; was recently re-architected to be much more flexible and reliable in RPC v9 (Icehouse) and the soon to be released RPC v10 (Juno). It actually deploys OpenStack in &lt;a href="https://linuxcontainers.org/lxc/introduction/"&gt;LXC containers&lt;/a&gt; on your hosts. At first, you might think this adds a layer of complexity in an already complex process, but I&amp;rsquo;ve found it actually provides a tremendous amount of flexibility and an easier upgrade path for your OpenStack installation. Using this deployment method you should only have to edit two Ansible configuration files, so the process is not all that difficult and makes installing OpenStack simpler.&lt;/p&gt;</description></item><item><title>OpenStack Juno All in One</title><link>https://cunninghamshane.com/posts/openstack-juno-all-in-one/</link><pubDate>Sat, 08 Nov 2014 11:32:31 +0000</pubDate><guid>https://cunninghamshane.com/posts/openstack-juno-all-in-one/</guid><description>&lt;p&gt;Quick guide on setting up the &lt;a href="http://www.openstack.org/software/juno/"&gt;OpenStack Juno&lt;/a&gt; release in an all in one server with one NIC using &lt;a href="https://openstack.redhat.com/Main_Page"&gt;RDO&lt;/a&gt;. This is configured for Neutron networking with floating IPs.&lt;/p&gt;&#10;&lt;p&gt;My setup: CentOS 7 minimal, IP: 192.168.1.100&lt;/p&gt;&#10;&lt;p&gt;By default NetworkManager will be running and controlling our NICs. packstack will complain about this later so disable and stop the service.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;console&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-console" data-lang="console"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gp"&gt;[root@juno-allinone ~]#&lt;/span&gt; systemctl disable NetworkManager&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gp"&gt;[root@juno-allinone ~]#&lt;/span&gt; systemctl stop NetworkManager&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Next we&amp;rsquo;ll update some stuff, install the RDO Juno repo and install packstack.&lt;/p&gt;</description></item><item><title>Cloud Orchestration template for CoreOS and Cloud Monitoring</title><link>https://cunninghamshane.com/posts/cloud-orchestration-template-for-coreos-and-cloud-monitoring/</link><pubDate>Mon, 06 Oct 2014 08:21:02 +0000</pubDate><guid>https://cunninghamshane.com/posts/cloud-orchestration-template-for-coreos-and-cloud-monitoring/</guid><description>&lt;p&gt;&lt;a href="http://www.rackspace.com/blog/cloud-orchestration-automating-deployments-of-full-stack-configurations/"&gt;Cloud Orchestration&lt;/a&gt; is an automated deployment service provided by Rackspace Cloud. The backend for this service is &lt;a href="https://wiki.openstack.org/wiki/Heat"&gt;OpenStack Heat&lt;/a&gt;. The following is a simple template for deploying CoreOS Stable and runs a small bash script after the server is built to set it up for Cloud Monitoring. The script just performs the steps in my previous post on monitoring CoreOS with Cloud Monitoring. The template is pretty self explanatory so you can edit it to your liking.&lt;/p&gt;</description></item><item><title>Monitoring CoreOS with Rackspace Cloud Monitoring</title><link>https://cunninghamshane.com/posts/monitoring-coreos-with-rackspace-cloud-monitoring/</link><pubDate>Tue, 05 Aug 2014 11:24:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/monitoring-coreos-with-rackspace-cloud-monitoring/</guid><description>&lt;p&gt;&lt;strong&gt;Updated 8/5 to use systemd unit file.&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;Recently decided to move my blog to containers and &lt;a href="https://coreos.com"&gt;CoreOS&lt;/a&gt; for learning and fun. While setting up an &lt;a href="http://www.haproxy.org"&gt;HAProxy&lt;/a&gt; container on one of my CoreOS hosts I thought about how I would monitor the host. Luckily, smart people have already thought about this. :)&lt;/p&gt;&#10;&lt;p&gt;I use Rackspace&amp;rsquo;s Cloud Monitoring and &lt;a href="http://www.rackspace.com/knowledge_center/article/install-the-cloud-monitoring-agent"&gt;agent&lt;/a&gt; which can be setup on any server in any datacenter or cloud provider. Rackspace hosted servers get a nice GUI and &lt;a href="https://intelligence.rackspace.com/"&gt;awesome dashboard&lt;/a&gt; for the checks and monitoring data, but you could still set it all up on a non Rackspace hosted server using the &lt;a href="http://docs.rackspace.com/cm/api/v1.0/cm-devguide/content/overview.html"&gt;Cloud Monitoring API&lt;/a&gt; and &lt;a href="https://developer.rackspace.com/blog/using-raxmon-to-configure-rackspace-cloud-monitoring/"&gt;raxmon&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Migrating Cinder volumes to Icehouse</title><link>https://cunninghamshane.com/posts/migrating-cinder-volumes-to-icehouse/</link><pubDate>Fri, 09 May 2014 07:20:18 +0000</pubDate><guid>https://cunninghamshane.com/posts/migrating-cinder-volumes-to-icehouse/</guid><description>&lt;p&gt;I upgraded my all in one OpenStack Havana box to the new &lt;a href="http://www.openstack.org/software/icehouse/"&gt;Icehouse&lt;/a&gt; release. All the same steps apply as in &lt;a href="https://cunninghamshane.com/posts/my-all-in-one-openstack-deployment-at-home/"&gt;my all in one OpenStack deployment&lt;/a&gt; post except use &lt;a href="http://rdo.fedorapeople.org/rdo-release.rpm"&gt;http://rdo.fedorapeople.org/rdo-release.rpm&lt;/a&gt; which now redirects to the Icehouse RPM. I wanted to blow everything away and not perform an upgrade. The only issue I ran into was I boot my VMs with Cinder volumes for persistant storage (just use LVM to create a volume group named &amp;ldquo;cinder-volumes&amp;rdquo;) and I wanted to move those to Icehouse with the data untouched.&lt;/p&gt;</description></item><item><title>Moved to Ghost</title><link>https://cunninghamshane.com/posts/moved-to-ghost/</link><pubDate>Fri, 04 Apr 2014 10:05:25 +0000</pubDate><guid>https://cunninghamshane.com/posts/moved-to-ghost/</guid><description>&lt;p&gt;A couple days ago I moved my blog from Wordpress to &lt;a href="http://ghost.org/"&gt;Ghost&lt;/a&gt;. I found the the easiest way to get a full stack Ghost blog running is to use the &lt;a href="http://developer.rackspace.com/blog/launch-ghost-with-rackspace-deployments.html"&gt;Rackspace Ghost Deployment&lt;/a&gt;. The current version of the deployment comes with a full stack consisting of Ubuntu Server 12.04 LTS, Ghost 0.4, node.js 0.10.21, MySQL 5.5 and nginx 1.4.4 acting as the web server passing requests back to node.js.&lt;/p&gt;&#10;&lt;p&gt;I run off of a 1GB Performance Cloud Server. I don&amp;rsquo;t use the included MySQL setup, instead I use a &lt;a href="http://www.rackspace.com/cloud/databases/"&gt;Cloud Database&lt;/a&gt; with 512MB RAM - 2GB storage as the backend database and &lt;a href="http://mailgun.com" title="Mailgun"&gt;Mailgun&lt;/a&gt; to send emails. To use an external database and your own SMTP settings just make the following changes to &lt;code&gt;/var/www/vhosts/yourdomain.com/ghost/config.js&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Check_MK agent setup and configuration</title><link>https://cunninghamshane.com/posts/check_mk-agent-setup-and-configuration/</link><pubDate>Thu, 20 Feb 2014 07:40:25 +0000</pubDate><guid>https://cunninghamshane.com/posts/check_mk-agent-setup-and-configuration/</guid><description>&lt;p&gt;Setting up OMD to get a working Nagios server is really simple, but what makes this monitoring setup really awesome is how easy &lt;a href="http://mathias-kettner.com/check_mk_introduction.html"&gt;Check_MK&lt;/a&gt; makes finding, configuring and running these checks. Setup the agent on your nodes, or just monitor SNMP/ping data, then tell Nagios/Check_MK which hosts to monitor and it will inventory and monitor all available checks it can find.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;console&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-console" data-lang="console"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gp"&gt;[root@node1 ~]#&lt;/span&gt; yum install -y xinetd check-mk-agent&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;This should create a check-mk-agent config file for xinetd at /etc/xinetd.d/check-mk-agent. We can edit one option for security, I haven&amp;rsquo;t tried running this as a regular user instead of root, but I should look into that. Uncomment the following line and specify your Nagios servers IP or hostname.&lt;/p&gt;</description></item><item><title>Simple Nagios setup with Open Monitoring Distribution</title><link>https://cunninghamshane.com/posts/simple-nagios-setup-with-open-monitoring-distribution/</link><pubDate>Wed, 19 Feb 2014 06:00:21 +0000</pubDate><guid>https://cunninghamshane.com/posts/simple-nagios-setup-with-open-monitoring-distribution/</guid><description>&lt;p&gt;I&amp;rsquo;ve been a fan of &lt;a href="http://www.nagios.org/"&gt;Nagios&lt;/a&gt; for quite awhile. It has its issues, but with how easy it has become to setup with &lt;a href="http://omdistro.org/"&gt;OMD&lt;/a&gt; and check discovery using &lt;a href="http://mathias-kettner.de/check_mk.html"&gt;Check_MK&lt;/a&gt;, I don&amp;rsquo;t know of anything else this powerful and simple to use. I&amp;rsquo;ll go over this first part which is the OMD installation and setup.&lt;/p&gt;&#10;&lt;p&gt;I&amp;rsquo;m using CentOS 6.5 for my Nagios server. Download links and other distros can be found &lt;a href="http://omdistro.org/download"&gt;here&lt;/a&gt;.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;console&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-console" data-lang="console"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gp"&gt;[root@nagios ~]#&lt;/span&gt; wget http://files.omdistro.org/releases/centos_rhel/omd-1.10-rh61-31.x86_64.rpm&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="err"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gp"&gt;[root@nagios ~]#&lt;/span&gt; yum localinstall omd-1.10-rh61-31.x86_64.rpm&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;To setup your monitoring environment you will want to create a &amp;ldquo;site&amp;rdquo;. It&amp;rsquo;s possible to have multiple sites depending on what you will be monitoring. I just created a single site for my home monitoring.&lt;/p&gt;</description></item><item><title>My all in one OpenStack deployment at home</title><link>https://cunninghamshane.com/posts/my-all-in-one-openstack-deployment-at-home/</link><pubDate>Sun, 19 Jan 2014 22:33:09 +0000</pubDate><guid>https://cunninghamshane.com/posts/my-all-in-one-openstack-deployment-at-home/</guid><description>&lt;p&gt;I use XenServer 6.2 as my hypervisor at home to run anywhere from 5-10 VMs. But I wanted to change up this setup and move to &lt;a href="http://www.openstack.org/"&gt;OpenStack&lt;/a&gt; Private Cloud deployment. Yes, it&amp;rsquo;s overkill for my use but oh well.&lt;/p&gt;&#10;&lt;p&gt;I&amp;rsquo;ve messed around a few times with using OpenStack as replacement for my XenServer 6.2 setup, but always ran into an issue, usually getting the networking correct given my home network. Luckily with the OpenStack Havana release networking has become much simpler to get my head around and deploy. Also, a number of OpenStack installer scripts and how to guides have improved since the early OpenStack releases. For my deployment I used &lt;a href="http://openstack.redhat.com/"&gt;Red Hat&amp;rsquo;s RDO&lt;/a&gt; and packstack to deploy OpenStack Havana. From Red Hat, &amp;ldquo;RDO is a community of people using and deploying OpenStack on Red Hat Enterprise Linux, Fedora and distributions derived from these (such as CentOS, Scientific Linux and others).&amp;rdquo;.&lt;/p&gt;</description></item><item><title>Manage your Cloud Databases with trove and the command line</title><link>https://cunninghamshane.com/posts/manage-your-cloud-databases-with-trove-and-the-command-line/</link><pubDate>Wed, 20 Nov 2013 02:12:12 +0000</pubDate><guid>https://cunninghamshane.com/posts/manage-your-cloud-databases-with-trove-and-the-command-line/</guid><description>&lt;p&gt;&lt;a href="https://wiki.openstack.org/wiki/Trove"&gt;Trove&lt;/a&gt; is an OpenStack project to supply databases as a service. &lt;a href="http://www.rackspace.com/cloud/databases/"&gt;Rackspace&amp;rsquo;s Cloud Databases&lt;/a&gt; API are based on this and so the &lt;a href="https://github.com/openstack/python-troveclient"&gt;trove Python client&lt;/a&gt; is compatible with your Rackspace provided Cloud Databases or your own implementation of Trove.&lt;/p&gt;&#10;&lt;p&gt;This example we&amp;rsquo;ll go over using this with Rackspace&amp;rsquo;s Cloud Databases. I&amp;rsquo;m using OS X so my example will be for that OS, but the client should be compatible with most Linux distros.&lt;/p&gt;</description></item><item><title>XenServer connect to Windows console</title><link>https://cunninghamshane.com/posts/xenserver-connect-to-windows-console/</link><pubDate>Sat, 07 Sep 2013 05:47:53 +0000</pubDate><guid>https://cunninghamshane.com/posts/xenserver-connect-to-windows-console/</guid><description>&lt;p&gt;Connecting to a Linux console in XenServer is is easy as xl console, but slightly more difficult with a Windows VM since the terminal can&amp;rsquo;t display the Windows GUI. SSH tunneling and VNC to the rescue. First, grab the VNC port the Windows VM uses with the following command. You&amp;rsquo;ll need the dom-id of the Windows VM. &lt;code&gt;xl list&lt;/code&gt; or &lt;code&gt;xe vm-list name-label=YourWindowsNameLabel params=dom-id&lt;/code&gt; to find it.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;console&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-console" data-lang="console"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;xenstore-read /local/domain/dom-id/console/vnc-port&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gp"&gt;[root@xenserver ~]#&lt;/span&gt; xenstore-read /local/domain/31/console/vnc-port&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;5902&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;So the Windows VM has the console running on 127.0.0.1:5902. From your local machine we will need to setup an SSH tunnel to this port.&lt;/p&gt;</description></item><item><title>salt-cloud and Rackspace Cloud Servers: Part 2</title><link>https://cunninghamshane.com/posts/salt-cloud-and-rackspace-cloud-servers-part-2/</link><pubDate>Sat, 27 Jul 2013 17:10:07 +0000</pubDate><guid>https://cunninghamshane.com/posts/salt-cloud-and-rackspace-cloud-servers-part-2/</guid><description>&lt;p&gt;In my previous post I showed how easy it is to get salt-cloud provisioning tool working with Rackspace Cloud to spin up and bootstrap your new Cloud Server with salt. The /etc/salt/cloud.profiles.d/rackspace.conf file in that example only included one 512MB Cloud Server running Ubuntu Server 12.04. I&amp;rsquo;ve updated this file with all of the Linux distros and server sizes included in Rackspace Cloud. You can see these from your salt-master with &amp;lsquo;salt-cloud &lt;code&gt;--list-sizes&lt;/code&gt; rackspace&amp;rsquo; and to view the images list you can run &amp;lsquo;salt-cloud &lt;code&gt;--list-images&lt;/code&gt; rackspace&amp;rsquo;.&lt;/p&gt;</description></item><item><title>salt-cloud and provisioning Rackspace Cloud Servers</title><link>https://cunninghamshane.com/posts/salt-cloud-and-provisioning-rackspace-cloud-servers/</link><pubDate>Fri, 19 Jul 2013 07:47:35 +0000</pubDate><guid>https://cunninghamshane.com/posts/salt-cloud-and-provisioning-rackspace-cloud-servers/</guid><description>&lt;p&gt;This weekend I setup &lt;a href="http://saltstack.com/"&gt;SaltStack&lt;/a&gt; in a VM in my home lab, with all my home VMs and &lt;a href="http://www.rackspace.com/cloud/servers/"&gt;Rackspace Cloud Servers&lt;/a&gt; as salt-minions. Everything worked pretty well. I even used my salt-master and some salt states to install check_mk_agent on all my VMs. They all hooked into a &lt;a href="http://omdistro.org/"&gt;OMD/Nagios&lt;/a&gt; VM running in my home lab and 163 checks later I have my monitoring system working. About 3 hours of work and a few cups of coffee. I still have a lot to learn with SaltStack, especially the proper way to use and configure salt states, grains and pillars.&lt;/p&gt;</description></item><item><title>XenServer 6.2 and PCI passthrough for LSI SAS1068E</title><link>https://cunninghamshane.com/posts/xenserver-6-2-and-pci-passthrough-for-lsi-sas1068e/</link><pubDate>Mon, 01 Jul 2013 01:35:57 +0000</pubDate><guid>https://cunninghamshane.com/posts/xenserver-6-2-and-pci-passthrough-for-lsi-sas1068e/</guid><description>&lt;p&gt;I had tried to passthrough my LSI SAS1068E to a virtual machine in XenServer 6.0 or 6.1, I forget, but I couldn&amp;rsquo;t get it working for some reason. I didn&amp;rsquo;t troubleshoot it very much though, a few Google searches seemed to point to my whitebox setup and driver/support issues. Recently, XenServer 6.2 was released so I thought I would try this again on my whitebox server. To my surprise I was able to get PCI passthrough working pretty easily on 6.2. For this setup I&amp;rsquo;m using a XenServer 6.2 host with a LSI SAS1068E card set to IT mode, so RAID is disabled and the card is JBOD, with Ubuntu Server 12.04 as the guest OS using the LSI card and being able to access the drives attached to it.&lt;/p&gt;</description></item><item><title>Add Cloud Networks to existing Cloud Server</title><link>https://cunninghamshane.com/posts/add-cloud-networks-to-existing-cloud-server/</link><pubDate>Sat, 15 Jun 2013 06:14:02 +0000</pubDate><guid>https://cunninghamshane.com/posts/add-cloud-networks-to-existing-cloud-server/</guid><description>&lt;p&gt;Cloud Networks is a really cool up and coming feature in the &lt;a href="http://www.rackspace.com/cloud/"&gt;Rackspace Cloud&lt;/a&gt;. It enables you to create private networks only accessible by your Cloud infrastructure. When first released, you could only attach a &lt;a href="http://www.rackspace.com/cloud/servers/"&gt;Cloud Server&lt;/a&gt; to &lt;a href="http://www.rackspace.com/knowledge_center/article/getting-started-with-cloud-networks"&gt;Cloud Networks&lt;/a&gt; when creating a new Cloud Server or by taking an image and then creating a new Cloud Server based off of that image and attaching Cloud Networks at that time. Not the best situation if you already have a stable Cloud infrastructure. Luckily we can now attach Cloud Networks to an already running Cloud Server. Make sure the server is a NextGen Cloud Server based on OpenStack. This tutorial was run on Debian 6 Squeeze, but should be pretty much the same on other Linux distros. If you have any issues with a particular distro please let me know.&lt;/p&gt;</description></item><item><title>Cloud Block Storage and NFS</title><link>https://cunninghamshane.com/posts/cloud-block-storage-and-nfs/</link><pubDate>Sat, 25 May 2013 20:34:33 +0000</pubDate><guid>https://cunninghamshane.com/posts/cloud-block-storage-and-nfs/</guid><description>&lt;p&gt;With &lt;a href="http://www.rackspace.com/cloud/"&gt;Rackspace Cloud&lt;/a&gt; you can use &lt;a href="http://www.rackspace.com/cloud/block-storage/"&gt;Cloud Block Storage&lt;/a&gt; and NFS to create shared directories amongst your &lt;a href="http://www.rackspace.com/cloud/servers/"&gt;Cloud Servers&lt;/a&gt;. This setup was done on CentOS 6.3 and used the internal Cloud Server interfaces. First, attach your Cloud Block Storage to your Cloud Server. When I attached mine, it was designated /dev/xvdb. We will need to create a partition and format.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;console&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-console" data-lang="console"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gp"&gt;[root@nfsserver ~]#&lt;/span&gt; fdisk /dev/xvdb&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;n #create partition&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;defaults #can use defaults to use entire disk&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="go"&gt;w #write changes&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gp"&gt;[root@nfsserver ~]#&lt;/span&gt; mkfs.ext4 /dev/xvdb1 &lt;span class="c1"&gt;#create ext4 filesystem on the partition&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Here we create a directory to mount our Cloud Block Storage and mount it.&lt;/p&gt;</description></item><item><title>IPMI &amp; iKVM issues with Java 7</title><link>https://cunninghamshane.com/posts/ipmi-ikvm-issues-with-java-7/</link><pubDate>Thu, 23 May 2013 05:40:38 +0000</pubDate><guid>https://cunninghamshane.com/posts/ipmi-ikvm-issues-with-java-7/</guid><description>&lt;p&gt;Recently I made the mistake of turning off my 1U SuperMicro router running &lt;a href="http://pfsense.com/"&gt;pfSense&lt;/a&gt; because we were going on a short vacation. Of course, when I came back and turned it back on I came across some nasty DMA disk errors and a read-only filesystem. No matter what I tried with fsck and remounting could fix these errors. I had my configs saved so I decided to just try a reinstall of pfSense 2.03. One cool thing about my SuperMicro board is the IPMI that&amp;rsquo;s built in. On my Mac I use &lt;a href="http://www.supermicro.com/products/nfo/ipmi.cfm"&gt;IPMIview&lt;/a&gt; and the web interface IPMI provides to connect. Connecting with both worked fine, checking system status, all the power functions and iKVM worked for console redirection.&lt;/p&gt;</description></item><item><title>Automate Virtual Hosts creation</title><link>https://cunninghamshane.com/posts/automate-virtual-hosts-creation/</link><pubDate>Sun, 24 Mar 2013 05:25:54 +0000</pubDate><guid>https://cunninghamshane.com/posts/automate-virtual-hosts-creation/</guid><description>&lt;p&gt;These tools will help in never having to manually add virtual hosts to your Apache server. Well, maybe not ever, but they will be able to create your virtual hosts in most cases.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://justcurl.com"&gt;&lt;strong&gt;justcurl.com&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;These tools need to be run on the server you are trying to setup the vhosts on. It will autodetective your Linux distribution and work accordingly.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;bash &amp;lt;&lt;span class="o"&gt;(&lt;/span&gt; curl -H &lt;span class="s1"&gt;&amp;#39;x-docroot: /var/www/vhosts/example.com&amp;#39;&lt;/span&gt; -H &lt;span class="s1"&gt;&amp;#39;x-port: 80&amp;#39;&lt;/span&gt; -H &lt;span class="s1"&gt;&amp;#39;host: example.com&amp;#39;&lt;/span&gt; justcurl.com &lt;span class="o"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;You can set the DocumentRoot, port and ServerName in the options. You can also use this to automagically install Wordpress, but it&amp;rsquo;s still in testing so use with caution.&lt;/p&gt;</description></item><item><title>Analyze Apache and MySQL configurations</title><link>https://cunninghamshane.com/posts/analyze-apache-and-mysql-configurations/</link><pubDate>Sun, 24 Mar 2013 04:04:18 +0000</pubDate><guid>https://cunninghamshane.com/posts/analyze-apache-and-mysql-configurations/</guid><description>&lt;p&gt;I use these two tools pretty often and thought I would mention them here. They analyze your Apache and MySQL configurations and make general recommendations. That doesn&amp;rsquo;t mean you need to follow these, but they are good at showing you overviews of your configs that you can use in addition to other data to make configuration change decisions.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://github.com/gusmaskowitz/apachebuddy.pl"&gt;&lt;strong&gt;Apachebuddy.pl&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;This is a one liner you can use to run apachebuddy.pl, it will analyze your currently running Apache processes and configurations, how much memory they are using and how much memory you have on the server to make recommendations. Run as root.&lt;/p&gt;</description></item><item><title>MySQL - Reset root password and extract table from dump</title><link>https://cunninghamshane.com/posts/mysql-reset-root-password-and-extract-table-from-dump/</link><pubDate>Sat, 23 Mar 2013 02:06:15 +0000</pubDate><guid>https://cunninghamshane.com/posts/mysql-reset-root-password-and-extract-table-from-dump/</guid><description>&lt;p&gt;Just a couple MySQL notes.&lt;/p&gt;&#10;&lt;h2 id="debian-6-squeeze---reset-mysql-root-user-password"&gt;Debian 6 Squeeze - Reset MySQL root user password&lt;/h2&gt;&#10;&lt;p&gt;You&amp;rsquo;ll need to stop MySQL server for resetting it this way.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;service mysqld stop&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Start MySQL with &lt;code&gt;--skip-grant-tables&lt;/code&gt; and send to background. Press enter to get back to command line.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mysqld_safe --skip-grant-tables &lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Connect to to MySQL.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mysql -u root&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Use mysql database and run the command to update the root user password and flush privileges.&lt;/p&gt;</description></item><item><title>Install MySQL 5.6 on CentOS 6.3</title><link>https://cunninghamshane.com/posts/install-mysql-5-6-on-centos-6-3/</link><pubDate>Thu, 14 Feb 2013 07:36:21 +0000</pubDate><guid>https://cunninghamshane.com/posts/install-mysql-5-6-on-centos-6-3/</guid><description>&lt;p&gt;No guarantee this works or that it won&amp;rsquo;t completely blow up your system.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wget http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-server-5.6.10-1.el6.x86_64.rpm/from/http://cdn.mysql.com/&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wget http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-client-5.6.10-1.el6.x86_64.rpm/from/http://cdn.mysql.com/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;libaio is required so install that bad boy.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;yum install libaio&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;To make this work you need to remove mysql-libs-5.1.61-4.el6.x86_64 which also removes a few other things, please make sure you are ok with these things being removed. The programs removed are cronie, cronie-anacron, crontabs and postfix.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;yum remove mysql-libs-5.1.61-4.el6.x86_64&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Install MySQL 5.6.&lt;/p&gt;</description></item><item><title>VM not sending hostname to DNS/DHCP server</title><link>https://cunninghamshane.com/posts/vm-not-sending-hostname-to-dns-server/</link><pubDate>Wed, 13 Feb 2013 07:23:18 +0000</pubDate><guid>https://cunninghamshane.com/posts/vm-not-sending-hostname-to-dns-server/</guid><description>&lt;p&gt;On some VMs I spin up on ESXi the hostname is not sent to my DNS/DHCP server running in pfSense. Haven&amp;rsquo;t found exactly why because it seems occasionally Ubuntu VMs do send this correctly on first boot. I&amp;rsquo;m probably doing something not smart. Anyway, you can easily fix this problem by adding the following -&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;CentOS/Ubuntu&lt;/strong&gt;&lt;br&gt;&#10;Add this to /etc/sysconfig/network&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;text&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;DHCP_HOSTNAME=hostname&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Replace hostname with your servers hostname and restart networking. It should now send the hostname to your DNS/DHCP server.&lt;/p&gt;</description></item><item><title>Fedora 17 on a 2011 13" MacBook Air</title><link>https://cunninghamshane.com/posts/fedora-17-on-a-2011-13-macbook-air/</link><pubDate>Sat, 15 Dec 2012 07:29:30 +0000</pubDate><guid>https://cunninghamshane.com/posts/fedora-17-on-a-2011-13-macbook-air/</guid><description>&lt;p&gt;Decided to throw Fedora 17 on my MacBook Air to see how well it works. Actually, works pretty damn well. Wireless, backlight keyboard and trackpad all work with no modifications. I still have a lot to configure, but this seems like a very nice start to something I thought would have a lot more problems.&lt;/p&gt;&#10;&lt;p&gt;Installed &lt;a href="http://refit.sourceforge.net/"&gt;rEFIt&lt;/a&gt; on my Air. Made a &lt;a href="https://cunninghamshane.com/posts/convert-iso-to-img-and-make-bootable-usb/"&gt;USB bootable drive&lt;/a&gt; of &lt;a href="http://download.fedoraproject.org/pub/fedora/linux/releases/17/Fedora/x86_64/iso/Fedora-17-x86_64-DVD.iso"&gt;Fedora 17 ISO 64-bit&lt;/a&gt;. Rebooted and held down Option key, selected Fedora media. Installed Fedora using the entire disk, I did not want to dual boot, wanted only Fedora. After install Fedora reboots the system, my system hung, but I took out the USB stick, powered off and powered back on holding the Option key. Fedora was my only bootable device so I selected that and it booted straight into Fedora 17.&lt;/p&gt;</description></item><item><title>Monitor OpenIndiana/Solaris 11 with check_mk_agent and Nagios</title><link>https://cunninghamshane.com/posts/monitor-openindianasolaris-11-with-check_mk_agent-and-nagios/</link><pubDate>Fri, 07 Dec 2012 07:12:09 +0000</pubDate><guid>https://cunninghamshane.com/posts/monitor-openindianasolaris-11-with-check_mk_agent-and-nagios/</guid><description>&lt;p&gt;Here&amp;rsquo;s a short how-to on monitoring OpenIndiana (Solaris 11) that is running ZFS using Nagios, &lt;a href="http://mathias-kettner.com/check_mk.html"&gt;check___mk&lt;/a&gt; and &lt;code&gt;check_mk_agent&lt;/code&gt;. This awesome open source tool makes setting up your servers to be checked by Nagios super easy. In the past I would manually create or edit the Nagios .cfg files for my environment and install various agents depending on OS architecture on the servers I wanted to monitor. Even though I am not monitoring a ton of servers it still took quite a bit of time. Now I use &lt;code&gt;check_mk&lt;/code&gt; and &lt;a href="http://omdistro.org/"&gt;Open Monitoring Distribution&lt;/a&gt;. I plan to write-up a more detailed post on OMD soon, but I found it&amp;rsquo;s a very impressive bundled Nagios package with many important addons and can easily be installed on every major Linux distribution. On to monitoring Solaris 11.&lt;/p&gt;</description></item><item><title>Whitebox VM Lab &amp; OpenSolaris with napp-it All-in-One</title><link>https://cunninghamshane.com/posts/whitebox-vm-lab-opensolaris-derived-zfs-storage-server-all-in-one/</link><pubDate>Wed, 28 Nov 2012 02:23:23 +0000</pubDate><guid>https://cunninghamshane.com/posts/whitebox-vm-lab-opensolaris-derived-zfs-storage-server-all-in-one/</guid><description>&lt;p&gt;My first white box specifically for VMs was solid, but I wanted more flexibility with storage configurations. The passthrough on my ASUS M4A88T-M/USB3 would not work even when IOMMU was enabled. This seems to be quite common for AMD boards, some have the option in BIOS, but it doesn&amp;rsquo;t work. The plan was to boot ESXi off USB and use the other two controllers (on-board and LSI RAID card) for my storage configuration. So, after some research I found an AMD motherboard that had working IOMMU. The board I found was an ASRock 970 Extreme4 which works with ESXi and IOMMU for passing through devices to VMs. When I bought the ASRock motherboard I overlooked the fact it did not have onboard graphics, so make sure you have an extra GPU you can throw in for installing the hypervisor. I went with a really cheap PowerColor Green Radeon AX5450 1GB. My current build is below.&lt;/p&gt;</description></item><item><title>pfSense, Squid and logging full URLs</title><link>https://cunninghamshane.com/posts/pfsense-squid-and-logging-full-urls/</link><pubDate>Fri, 02 Nov 2012 04:18:41 +0000</pubDate><guid>https://cunninghamshane.com/posts/pfsense-squid-and-logging-full-urls/</guid><description>&lt;p&gt;By default the Squid package that pfSense installs will cut off the URLs if they are longer than a certain length. If you want it to log the full URL, add this to your squid.conf file. The config file says not to manually edit it, but I inserted this and restarted squid and everything continued working.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;text&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;strip_query_terms off&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;</description></item><item><title>Locked myself out of Wordpress</title><link>https://cunninghamshane.com/posts/locked-myself-out-of-wordpress/</link><pubDate>Thu, 25 Oct 2012 15:43:36 +0000</pubDate><guid>https://cunninghamshane.com/posts/locked-myself-out-of-wordpress/</guid><description>&lt;p&gt;Another booboo I made while moving my Wordpress blog to another server was entirely my own fault, I forgot the administrator password I had setup, myep. Here&amp;rsquo;s a way to manually correct this without using something like phpMyAdmin. I&amp;rsquo;m assuming you have root access to your web server.&lt;/p&gt;&#10;&lt;p&gt;Login to MySQL&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mysql -u root -p&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sql&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;SHOW&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;databases&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sql&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;USE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;wordpressdb&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sql&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;FROM&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;wp_users&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;To get the md5 hash for your password you have a few options, visit this &lt;a href="http://www.miraclesalad.com/webtools/md5.php"&gt;md5 Hash Generator&lt;/a&gt; or let MySQL do it for you&amp;hellip;&lt;/p&gt;</description></item><item><title>Wordpress, Nginx and Pretty Permalinks</title><link>https://cunninghamshane.com/posts/wordpress-nginx-and-pretty-permalinks/</link><pubDate>Wed, 24 Oct 2012 15:19:21 +0000</pubDate><guid>https://cunninghamshane.com/posts/wordpress-nginx-and-pretty-permalinks/</guid><description>&lt;p&gt;The only issue I had with moving my blog from Apache to Nginx was with pretty permalinks. Installation and setup was very easy. I used &lt;a href="http://www.rackspace.com/knowledge_center/article/installing-nginx-and-php-fpm-running-on-unix-file-sockets"&gt;this&lt;/a&gt; guide from Rackspace Knowledge Center. Add in MySQL server after setting up Nginx, PHP-FPM and you&amp;rsquo;re all set. My server now uses much less RAM and is better suited for serving my static content.&lt;/p&gt;&#10;&lt;p&gt;When I first had everything setup, I could login to Wordpress dashboard and make edits to my site, but when I tried visiting any links I received 404 errors. After some Googling and trying a couple solutions it still was not working. I finally found the simple solution below, it&amp;rsquo;s on the &lt;a href="http://wiki.nginx.org/WordPress"&gt;Official Nginx Wiki&lt;/a&gt; (should have gone there first!).&lt;/p&gt;</description></item><item><title>Convert .iso to .img and make bootable USB</title><link>https://cunninghamshane.com/posts/convert-iso-to-img-and-make-bootable-usb/</link><pubDate>Fri, 12 Oct 2012 18:35:01 +0000</pubDate><guid>https://cunninghamshane.com/posts/convert-iso-to-img-and-make-bootable-usb/</guid><description>&lt;p&gt;Note so I don&amp;rsquo;t have to Google this.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;diskutil list&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Find USB drive and unmount it, &lt;code&gt;diskutil unmountDisk /dev/disk1&lt;/code&gt;&lt;/p&gt;&#10;&lt;p&gt;Convert .iso to .img. This will put a .dmg extension on the .img file, but you can leave it like that and still make a bootable USB drive with it.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;hdiutil convert -format UDRW -o xenserver61.img /Downloads/XenServer-6.1-install-cd.iso&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Make bootable USB drive&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;dd &lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;xenserver61.img.dmg &lt;span class="nv"&gt;of&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/dev/rdisk1 &lt;span class="nv"&gt;bs&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;1m&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;</description></item><item><title>All-in-one ZFS SAN/NAS solution</title><link>https://cunninghamshane.com/posts/all-in-one-zfs-solution/</link><pubDate>Sun, 07 Oct 2012 03:34:35 +0000</pubDate><guid>https://cunninghamshane.com/posts/all-in-one-zfs-solution/</guid><description>&lt;p&gt;Decided to stop using Hyper-V as my main hypervisor and go with ESXi or XenServer full time. Leaning towards ESXi as I know for sure my hardware is compatible. Also, adding an &lt;a href="http://www.servethehome.com/ibm-serveraid-br10i-lsi-sas3082e-r-pciexpress-sas-raid-controller/"&gt;IBM BR10i&lt;/a&gt; controller flashed to IT mode, removes RAID and is JBOD. Plan to run ESXi/XenServer off a USB drive, use onboard controller for datastore and passthrough the IBM card for NFS access for my VMs. When my &lt;a href="http://www.monoprice.com/products/product.asp?c_id=102&amp;amp;cp_id=10254&amp;amp;cs_id=1025406&amp;amp;p_id=8186&amp;amp;seq=1&amp;amp;format=2"&gt;SAS cables&lt;/a&gt; come in I plan on going with &lt;a href="http://openindiana.org/"&gt;OpenIndiana&lt;/a&gt; and &lt;a href="http://www.napp-it.org/"&gt;napp-it&lt;/a&gt; for an all-in-one ZFS based SAN/NAS. Looking forward to trying it out, will be using &lt;a href="http://www.napp-it.org/doc/downloads/all-in-one.pdf"&gt;this&lt;/a&gt; guide.&lt;/p&gt;</description></item><item><title>Windows VM loses time sync</title><link>https://cunninghamshane.com/posts/windows-vm-loses-time-sync/</link><pubDate>Sat, 15 Sep 2012 16:19:14 +0000</pubDate><guid>https://cunninghamshane.com/posts/windows-vm-loses-time-sync/</guid><description>&lt;p&gt;I experienced a weird time sync issue today with my Windows VMs. I went to stream something to my PS3 from a network share, but I received an error. I thought the share had just lost connection and I needed to reconnect it. When I tried that I received a couple errors, extended error or something and an error stating the time in Windows was different than the server I was trying to connect to. That&amp;rsquo;s when I noticed the date being reported was 9/12/12, which was 3 days behind. I logged into my DC and tried to sync with a couple Internet time servers, but those still resulted in a date that was 3 days behind. Manually changing the time and date resulted in Windows completely ignoring what I entered and going back to 9/12/12.&lt;/p&gt;</description></item><item><title>uuencode and mail</title><link>https://cunninghamshane.com/posts/uuencode-and-mail/</link><pubDate>Sat, 08 Sep 2012 16:53:05 +0000</pubDate><guid>https://cunninghamshane.com/posts/uuencode-and-mail/</guid><description>&lt;p&gt;Needed to e-mail an attachement using only mail, after a little Googling I found the following which works great! The first .gz is the file location, the second .gz is what will show up in the body of the email allowing you to download it.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;uuencode accesslogs.gz accesslogs.gz &lt;span class="p"&gt;|&lt;/span&gt; mail -vs &lt;span class="s2"&gt;&amp;#34;Access Logs&amp;#34;&lt;/span&gt; youremail@blah.com&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;</description></item><item><title>Get IP count from access log</title><link>https://cunninghamshane.com/posts/get-ip-count-from-access-log/</link><pubDate>Wed, 15 Aug 2012 00:11:01 +0000</pubDate><guid>https://cunninghamshane.com/posts/get-ip-count-from-access-log/</guid><description>&lt;p&gt;This will list the IP and number of times that it appears in your access log if more than once.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;awk &lt;span class="s1"&gt;&amp;#39;{!a[$1]++}END{for(i in a) if ( a[i] &amp;gt;1 ) print a[i],i }&amp;#39;&lt;/span&gt; /var/pathtoyour/access.log &lt;span class="p"&gt;|&lt;/span&gt; sort -n&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;If you only want it to show the IP if it appears, for example, more than 10 times change a[i] &amp;gt;1 to a[i] &amp;gt;10.&lt;/p&gt;</description></item><item><title>CIFS VFS: cifs_mount failed w/return code = -22</title><link>https://cunninghamshane.com/posts/cifs-vfs-cifs_mount-failed-wreturn-code-22/</link><pubDate>Sun, 17 Jun 2012 21:40:25 +0000</pubDate><guid>https://cunninghamshane.com/posts/cifs-vfs-cifs_mount-failed-wreturn-code-22/</guid><description>&lt;p&gt;I am constantly forgetting one or more Samba/CIFS packages that are required to mount a Windows network share. The return codes don&amp;rsquo;t really provide very much useful info. Even when searching Google there was not a whole lot for return code -22. For CentOS, I found installing the following package solved my CIFS error.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;yum install cifs-utils&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;</description></item><item><title>pfSense box update #3</title><link>https://cunninghamshane.com/posts/pfsense-box-update-3/</link><pubDate>Fri, 01 Jun 2012 01:13:44 +0000</pubDate><guid>https://cunninghamshane.com/posts/pfsense-box-update-3/</guid><description>&lt;p&gt;I had a feeling using a &lt;a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16820239005"&gt;cheap $7 flash drive&lt;/a&gt; as the boot OS might be a bad idea. Turns out it was. The drive started throwing errors after about a month and a half of running pfSense for my network. I didn&amp;rsquo;t want to go mechanical HDD for a 24x7 low power box so I decided on a &lt;a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16820227510"&gt;OCZ Onyx 32 GB SSD&lt;/a&gt;. More than enough size and speed for how I am using it. Hopefully this is the last hiccup with this machine and I can now get into some more advanced features of &lt;a href="http://www.pfsense.org/"&gt;pfSense&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>pfSense firewall/router update</title><link>https://cunninghamshane.com/posts/pfsense-firewallrouter-update/</link><pubDate>Sat, 14 Apr 2012 14:52:21 +0000</pubDate><guid>https://cunninghamshane.com/posts/pfsense-firewallrouter-update/</guid><description>&lt;p&gt;I had some issues with accessing IPMI in my &lt;a href="https://cunninghamshane.com/posts/custom-built-pfsense-router/"&gt;pfSense&lt;/a&gt; build. It seemed like if I let pfSense boot up and I was not accessing IPMI at the same time, pfSense would take over the whole NIC and not let me access IPMI. I read &lt;a href="http://forum.pfsense.org/index.php/topic,28238.0.html"&gt;here&lt;/a&gt; that this is normal to not be able to access IPMI once pfSense boots but that defeats the whole purpose of IPMI so I don&amp;rsquo;t think the system should behave in that way. After messing with it for a few days all I can say is IPMI seems really finicky when sharing a NIC, or maybe I&amp;rsquo;m doing something goofy.&lt;/p&gt;</description></item><item><title>My pfSense firewall/router build</title><link>https://cunninghamshane.com/posts/custom-built-pfsense-router/</link><pubDate>Thu, 05 Apr 2012 02:43:03 +0000</pubDate><guid>https://cunninghamshane.com/posts/custom-built-pfsense-router/</guid><description>&lt;p&gt;I stuck with a D-Link DIR-625 wireless router doing all my routing for entirely too long. I had an old P4 2.66 GHz PC laying around with a 40GB hard drive so I decided to try out &lt;a href="http://www.pfsense.org"&gt;pfSense&lt;/a&gt;. I was hooked, the overall performance and features of this open source FreeBSD firewall/router were impressive. My old P4 machine was using too much electricity for something that was on 24 x 7, though. I decided to custom build something that was 1. powerful enough for my home network and virtual environment lab 2. low power draw 3. quite.&lt;/p&gt;</description></item><item><title>Two Linux notes</title><link>https://cunninghamshane.com/posts/two-linux-notes/</link><pubDate>Thu, 29 Mar 2012 03:17:26 +0000</pubDate><guid>https://cunninghamshane.com/posts/two-linux-notes/</guid><description>&lt;p&gt;&lt;strong&gt;SSH Tunnel for web traffic&lt;/strong&gt;&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ssh -D &lt;span class="m"&gt;9998&lt;/span&gt; -C shane@myserver.com&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Where &amp;ldquo;myserver.com&amp;rdquo; is a server you operate with SSH setup. Now you need to configure your browser to use the tunnel. In OS X you can go to Network -&amp;gt; Advanced -&amp;gt; Proxies -&amp;gt; Check SOCKS and input &lt;code&gt;localhost:9998&lt;/code&gt; or whatever port you used. Directly from Chrome you can also select Preferences -&amp;gt; Under The Hood -&amp;gt; Change Proxy Settings&amp;hellip; -&amp;gt; and it will go directly to your OS X Network/Proxies tab.&lt;/p&gt;</description></item><item><title>Add Linux Integration Services v3.2 to CentOS 6.2 VM</title><link>https://cunninghamshane.com/posts/add-linux-integration-services-v3-2-to-centos-6-2-vm/</link><pubDate>Fri, 23 Mar 2012 02:55:21 +0000</pubDate><guid>https://cunninghamshane.com/posts/add-linux-integration-services-v3-2-to-centos-6-2-vm/</guid><description>&lt;p&gt;Here are the steps to install &lt;a href="http://www.microsoft.com/download/en/details.aspx?id=28188"&gt;Linux Integration Services v3.2&lt;/a&gt; to a CentOS 6.2 VM in Hyper-V.&lt;/p&gt;&#10;&lt;p&gt;Add the Linux IC v3.2.iso to a CD-Rom attached to your CentOS 6.2 VM.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mount /dev/cdrom /media&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Create a directory, for example, &lt;code&gt;mkdir /home/LinuxServices&lt;/code&gt;&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;cp /media/* /home/LinuxServices&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /home/LinuxServices&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;./install.sh&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;</description></item><item><title>Adding local SATA drive to VM using RDM</title><link>https://cunninghamshane.com/posts/adding-local-sata-drive-to-esxi-using-rdm/</link><pubDate>Sun, 19 Feb 2012 14:01:35 +0000</pubDate><guid>https://cunninghamshane.com/posts/adding-local-sata-drive-to-esxi-using-rdm/</guid><description>&lt;p&gt;My whitebox ESXi build did not go as well as I had hoped. Even though my ASUS M4A88T-M/USB3 motherboard has the IOMMU setting available under Secure Virtual Machine, it does not appear to work. Secure Virtual Machine should allow the motherboard and a compatible AMD-V CPU to passthrough devices directly to the VM using VMWare DirectPath I/O. I needed this since I have 2 x 2 TB hard drives with all of my data that I wanted to use for my fileserver VM. These drives already have data on them and I needed to pass them to the VM without putting any VMFS on the disks.&lt;/p&gt;</description></item><item><title>Make a bootable USB drive from .img in Mac OS X</title><link>https://cunninghamshane.com/posts/make-a-bootable-usb-drive-from-img-in-mac-os-x/</link><pubDate>Tue, 07 Feb 2012 10:35:32 +0000</pubDate><guid>https://cunninghamshane.com/posts/make-a-bootable-usb-drive-from-img-in-mac-os-x/</guid><description>&lt;p&gt;I needed to make a USB bootable drive of pfSense and being an OS X newb, had to Google it. Here&amp;rsquo;s what I found. Run these commands from Terminal.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;diskutil list&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Find your USB drive in the list, mine was &lt;code&gt;/dev/disk2&lt;/code&gt;. Unmount the drive if it is currently mounted, &lt;code&gt;umount /dev/disk2&lt;/code&gt;&lt;/p&gt;&#10;&lt;p&gt;Now, there&amp;rsquo;s two commands you can run, dd with /rdisk2 gave me 15.33 KB/s. dd with just /disk2 only gave me 4.60 KB/s.&lt;/p&gt;</description></item><item><title>TRIM on your non-Apple SSD</title><link>https://cunninghamshane.com/posts/trim-on-your-non-apple-ssd/</link><pubDate>Mon, 23 Jan 2012 20:52:33 +0000</pubDate><guid>https://cunninghamshane.com/posts/trim-on-your-non-apple-ssd/</guid><description>&lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/TRIM"&gt;TRIM&lt;/a&gt; is only officially supported by Apple for the SSDs that they install on their Mac line. If you install your own SSD you can still enable TRIM with Terminal and some commands or use a program called &lt;a href="http://www.groths.org/"&gt;TRIM Enabler&lt;/a&gt;. I used beta 4 version of the program on my Intel X25-M G2 160GB SSD and it worked perfectly. The author just released version 2.0. Below is a short write up from Anandtech.&lt;/p&gt;</description></item><item><title>Streaming Video</title><link>https://cunninghamshane.com/posts/streaming-video/</link><pubDate>Sat, 21 Jan 2012 16:12:55 +0000</pubDate><guid>https://cunninghamshane.com/posts/streaming-video/</guid><description>&lt;p&gt;I&amp;rsquo;ve come across some streaming video software that works really well for me. Here&amp;rsquo;s what I use to stream to various devices.&lt;/p&gt;&#10;&lt;p&gt;Home Server &amp;ndash;&amp;gt; Mac &amp;ndash;&amp;gt; &lt;a href="http://projectswithlove.com/streamtome/"&gt;StreamToMe&lt;/a&gt;&lt;br&gt;&#10;Home Server &amp;ndash;&amp;gt; iPad &amp;ndash;&amp;gt; &lt;a href="http://www.inmethod.com/air-video/index.html"&gt;AirVideo&lt;/a&gt;&lt;br&gt;&#10;Home Server &amp;ndash;&amp;gt; PlayStation 3 &amp;ndash;&amp;gt; &lt;a href="http://ps3mediaserver.blogspot.com/"&gt;PS3 Media Server&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Back to Wordpress</title><link>https://cunninghamshane.com/posts/back-to-wordpress/</link><pubDate>Fri, 13 Jan 2012 14:57:55 +0000</pubDate><guid>https://cunninghamshane.com/posts/back-to-wordpress/</guid><description>&lt;p&gt;A few months ago I switched my blog over to Tumblr. I liked Tumblr for the most part, but the lack of control finally got to me. So, I am back to using Wordpress. I&amp;rsquo;m also using a VPS instead of shared hosting I used on my first Wordpress blog.&lt;/p&gt;&#10;&lt;p&gt;To import my Tumblr blog into Wordpress I used &lt;a href="http://wordpress.org/extend/plugins/tumblr-importer/"&gt;Tumblr Import 0.5&lt;/a&gt;. When I tried using it I kept receiving an error stating there was a connection problem with Tumblr. From what I found with a few Google searches this is a very generic error. I finally found something worth trying - turn my custom .com domain that I used with Tumblr, off. That fixed the problem and Tumblr Importer successfully imported my Tumblr blog into Wordpress.&lt;/p&gt;</description></item><item><title>How to Tweet your Nagios alerts</title><link>https://cunninghamshane.com/posts/how-to-tweet-your-nagios-alerts/</link><pubDate>Tue, 13 Dec 2011 06:14:18 +0000</pubDate><guid>https://cunninghamshane.com/posts/how-to-tweet-your-nagios-alerts/</guid><description>&lt;p&gt;I don’t know how truly useful this is, but it’s kinda cool just for the geekiness.&lt;/p&gt;&#10;&lt;p&gt;I installed this on Ubuntu Server 9.04 running Nagios 3.1.2. You will want to create a Twitter account just for sending these tweets. Setup a new account and go to &lt;a href="https://dev.twitter.com"&gt;https://dev.twitter.com&lt;/a&gt; and login with the Twitter account you will be sending tweets from. Next, create a new application. After that you need to create Access Tokens for the application, you may have to refresh a bit to receive the tokens.&lt;/p&gt;</description></item><item><title>Had to share this… telnet to miku.acm.uiuc.edu enjoy.</title><link>https://cunninghamshane.com/posts/had-to-share-this-telnet-to-miku-acm-uiuc-edu/</link><pubDate>Thu, 01 Dec 2011 10:10:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/had-to-share-this-telnet-to-miku-acm-uiuc-edu/</guid><description>&lt;p&gt;Had to share this…&lt;/p&gt;&#10;&lt;p&gt;telnet to miku.acm.uiuc.edu&lt;/p&gt;&#10;&lt;p&gt;enjoy.&lt;/p&gt;</description></item><item><title>CentOS and locate</title><link>https://cunninghamshane.com/posts/centos-and-locate/</link><pubDate>Sat, 26 Nov 2011 18:14:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/centos-and-locate/</guid><description>&lt;p&gt;The following install and daily cron database update need to be done to get locate working.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;yum install mlocate&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/etc/cron.daily/mlocate.cron&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;</description></item><item><title>Sublime Text 2</title><link>https://cunninghamshane.com/posts/sublime-text-2/</link><pubDate>Thu, 27 Oct 2011 08:13:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/sublime-text-2/</guid><description>&lt;p&gt;I’ve been trying out this new editor and like it so far. Once again I needed to delete a bunch of empty lines, found the following that worked.&lt;/p&gt;&#10;&lt;p&gt;Find&lt;br&gt;&#10;Select regular expression&lt;br&gt;&#10;Search for &lt;strong&gt;^$&lt;/strong&gt;&lt;br&gt;&#10;Find all, delete&lt;/p&gt;</description></item><item><title>ESXi 5 Whitebox</title><link>https://cunninghamshane.com/posts/esxi-5-whitebox/</link><pubDate>Sat, 15 Oct 2011 07:59:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/esxi-5-whitebox/</guid><description>&lt;p&gt;If you need a whitebox build for ESXi then I have some information that might help. I got ESXi 5 up and running on the following hardware.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Motherboard&lt;/strong&gt;: ASUS M4A88T-M/USB3&lt;br&gt;&#10;&lt;strong&gt;CPU&lt;/strong&gt;: AMD Athlon II X4 620&lt;br&gt;&#10;&lt;strong&gt;RAM&lt;/strong&gt;: G.Skill Value 16GB DDR3 1333&lt;br&gt;&#10;&lt;strong&gt;NICs&lt;/strong&gt;: 2 x Intel 1 x Realtek&lt;/p&gt;&#10;&lt;p&gt;With version 5 VMWare added compatibility with a few more network cards. The on-board Realtek 8111E on my ASUS was detected properly and worked fine without having to use special drivers or hacks. Another thing to note with the free ESXi version is VMWare upped the RAM limit to 32GB. They had initially limited it to 8GB but after an outcry from users they raised it, thankfully.&lt;/p&gt;</description></item><item><title>Delete blank lines in TextMate</title><link>https://cunninghamshane.com/posts/delete-blank-lines-in-textmate/</link><pubDate>Mon, 10 Oct 2011 15:15:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/delete-blank-lines-in-textmate/</guid><description>&lt;p&gt;Switching to Mac OS X I have noticed opening text files that were created in Windows will add spaces after every line. In TextMate you can create a macro to get rid of the extra lines very easily. In the Bundle Editor add the following command and tie it to a key combination.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;sh&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sed /^$/d&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;</description></item><item><title>Getting OS X Lion working with network share</title><link>https://cunninghamshane.com/posts/getting-os-x-lion-working-with-network-share/</link><pubDate>Sat, 08 Oct 2011 08:44:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/getting-os-x-lion-working-with-network-share/</guid><description>&lt;p&gt;Mac OS X Lion broke the ability for Time Machine to backup to a network share over Samba. I usually backup everything to a Windows Server 2008 R2 computer running headless in my closet, but OS X Lion will not connect any longer due to AFP 3.3 being used. I still haven’t found a way for my iMac to connect directly to the server but I have a workaround that might work for you.&lt;/p&gt;</description></item><item><title>Reading Windows .DMP files</title><link>https://cunninghamshane.com/posts/reading-windows-dmp-files/</link><pubDate>Sat, 03 Sep 2011 05:02:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/reading-windows-dmp-files/</guid><description>&lt;p&gt;A few months ago I needed to read some .DMP files and realized that I didn’t know how. I can troubleshoot fairly well and I have always figured things out without needing to go into the dump files. I knew this particular problem was hardware related but I wanted to see what the dump files had to say anyways. It seems kind of strange that Microsoft creates these files when things go bad but makes it difficult to obtain useful information from them. After some Googling I found the following, hope it helps.&lt;/p&gt;</description></item><item><title>Blitz.io</title><link>https://cunninghamshane.com/posts/blitz-io/</link><pubDate>Fri, 02 Sep 2011 08:36:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/blitz-io/</guid><description>&lt;p&gt;I came across a new tool that uses node.js to test load and performance on your website or app. I haven’t researched load testing very much but this seems like the simplest way to see how your site reacts to thousands (or more) connection attempts. Check it out.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://blitz.io"&gt;Blitz.io&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Hyper-V and CentOS</title><link>https://cunninghamshane.com/posts/hyper-v-and-centos/</link><pubDate>Tue, 19 Jul 2011 06:51:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/hyper-v-and-centos/</guid><description>&lt;p&gt;CentOS is not listed as a supported OS for Microsoft’s Hyper-V but I’ve found it works pretty well. Whenever I install CentOS on Hyper-V I forget the configuration file you have to create to get eth0 working. So here it is.&lt;/p&gt;&#10;&lt;p&gt;Install CentOS. Add legacy NIC in Hyper-V settings.&lt;/p&gt;&#10;&lt;p&gt;Create file &lt;code&gt;/etc/sysconfig/network-scripts/ifcfg-eth0&lt;/code&gt; and input the following with your values of course.&lt;/p&gt;&#10;&lt;figure class="code-block"&gt;&#10; &lt;figcaption class="code-bar"&gt;&#10; &lt;span class="code-title"&gt;/etc/sysconfig/network-scripts/ifcfg-eth0&lt;/span&gt;&#10; &lt;span class="code-meta"&gt;&lt;span class="code-lang"&gt;ini&lt;/span&gt;&#10; &lt;button type="button" class="copy-btn" data-copy&gt;Copy&lt;/button&gt;&#10; &lt;/span&gt;&#10; &lt;/figcaption&gt;&lt;div class="highlight" title="/etc/sysconfig/network-scripts/ifcfg-eth0"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-ini" data-lang="ini"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;DEVICE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;eth0&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;BOOTPROTO&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;static&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;BROADCAST&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;192.168.0.255&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;IPADDR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;192.168.0.100&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;NETMASK&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;255.255.255.0&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;NETWORK&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;192.168.0.0&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;ONBOOT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;yes&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;TYPE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;Ethernet&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;GATEWAY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;192.168.0.1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Some other commands or config files that might need to be edited.&lt;/p&gt;</description></item><item><title>Ubuntu apt-get-update fails with 404</title><link>https://cunninghamshane.com/posts/ubuntu-apt-get-update-fails-with-404/</link><pubDate>Sun, 26 Jun 2011 08:46:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/ubuntu-apt-get-update-fails-with-404/</guid><description>&lt;p&gt;I went to update my Nagios server running Ubuntu Server 8.04 and received a 404 error when I tried to update the repositories. Something along the lines of 404 Not Found [IP: xx.xx.xx.xx]. Obviously, 8.04 is EOL so I guess when that happens they also move the official repositories too. Fix it with the following.&lt;/p&gt;&#10;&lt;p&gt;Edit &lt;code&gt;/etc/apt/sources.list&lt;/code&gt;&lt;/p&gt;&#10;&lt;p&gt;Replace all references of &lt;code&gt;archive.ubuntu.com&lt;/code&gt; with &lt;code&gt;old-releases.ubuntu.com&lt;/code&gt;&lt;/p&gt;</description></item><item><title>Use PuTTY to connect to Amazon EC2</title><link>https://cunninghamshane.com/posts/use-putty-to-connect-to-amazon-ec2/</link><pubDate>Sun, 12 Jun 2011 10:15:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/use-putty-to-connect-to-amazon-ec2/</guid><description>&lt;p&gt;Another I’m going to post because I’ll forget…I was messing around with Amazon EC2 and had some minor issues connecting using SSH and PuTTY. Here are the simple steps I used to connect to a CentOS EC2 instance.&lt;/p&gt;&#10;&lt;p&gt;Open SSH in the Security Groups section of AWS Management Console.&lt;/p&gt;&#10;&lt;p&gt;Download &lt;a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html"&gt;PuTTY and PuTTYgen&lt;/a&gt;. Open PuTTYgen and load the .pem key you downloaded from Amazon when you created the instance.&lt;/p&gt;&#10;&lt;p&gt;Save private key as “id_rsa-gsg-keypair.ppk”, ignore pass phrase prompt.&lt;/p&gt;</description></item><item><title>SSD</title><link>https://cunninghamshane.com/posts/ssd/</link><pubDate>Fri, 03 Jun 2011 08:58:00 +0000</pubDate><guid>https://cunninghamshane.com/posts/ssd/</guid><description>&lt;p&gt;I finally took the plunge and bought my first SSD. Newegg had a sale on the Crucial RealSSD C300 128GB and I decided to get it. After installing Windows 7 with Service Pack 1 and a few drivers, I still have 91GB left. Not too bad and now all I need to do is figure out how to carve out some space to dual boot Linux. Below is my first benchmark, no tweaking but from what I have read with Windows 7 and TRIM enabled, you don’t need any.&lt;/p&gt;</description></item><item><title>Intel HD graphics driver causing reboots</title><link>https://cunninghamshane.com/posts/intel-hd-graphics-driver-causing-reboots/</link><pubDate>Sun, 29 May 2011 08:10:51 +0000</pubDate><guid>https://cunninghamshane.com/posts/intel-hd-graphics-driver-causing-reboots/</guid><description>&lt;p&gt;I haven’t purchaed a dedicated graphics card yet for my new build so I’m using the Core i5’s built-in GPU. This updated GPU is a major improvement over past integrated GPU attempts. After installing the latest Intel HD graphics driver I found my system in a reboot loop every time it went to load Windows. Weird since this was a new Windows install with Intel drivers that had been out since December. After some Googling I found Windows 7 needs to be updated to Service Pack 1 for these graphics drivers to work properly. I guess I &lt;em&gt;should&lt;/em&gt; have done that first anyways, but oh well. So if your having issues with the Intel HD graphics driver rebooting your system after installing, update Windows 7 to Service Pack 1 first.&lt;/p&gt;</description></item><item><title>Air Video</title><link>https://cunninghamshane.com/posts/air-video/</link><pubDate>Sun, 22 May 2011 08:34:54 +0000</pubDate><guid>https://cunninghamshane.com/posts/air-video/</guid><description>&lt;p&gt;I don’t purchase a lot of apps for my iPad, but Air Video was one of the few. Air Video streams video to your iPad, iPhone, iPod Touch from a server that runs on Windows or OS X. The thing that impressed me so much was how well the remote access works. I can stream all of my videos from my server at home to my iPad wherever I am as long as I have a WiFi connection. No loops to jump through, SSH to setup, or ports to forward. Performance was flawless even though I was running the server from a virtual machine with a network share to stream my videos, on an iSpot WiFi pipe!. It just flat out works.&lt;/p&gt;</description></item><item><title>Sandy</title><link>https://cunninghamshane.com/posts/sandy/</link><pubDate>Fri, 22 Apr 2011 14:26:46 +0000</pubDate><guid>https://cunninghamshane.com/posts/sandy/</guid><description>&lt;p&gt;For the past few months I have been without a typical desktop computer at home. All of my computing has been on my laptops and iPad, along with some virtualization stuff on my headless ‘server’ in the closet. I thought I would really miss my Core 2 Duo and Radeon 4850 but it hasn’t been as difficult as I first thought. My main laptop I have used as a replacement is a Core i5 430M so the performance has actually been pretty good. The most annoying thing I found working exclusively on portable devices has been resolution. Laptops just don’t have the real estate I prefer when multitasking.&lt;/p&gt;</description></item><item><title>Linux for everyday, Windows for gaming</title><link>https://cunninghamshane.com/posts/linux-for-everyday-windows-for-gaming/</link><pubDate>Sat, 16 Apr 2011 07:58:54 +0000</pubDate><guid>https://cunninghamshane.com/posts/linux-for-everyday-windows-for-gaming/</guid><description>&lt;p&gt;I have an old Acer laptop, circa 2006. It’s a decent machine, 1.7 GHz Centrino Duo, 2 GB RAM, 15” screen. It came with Windows Vista Premium that we have been using since day one (don&amp;rsquo;t shoot me). I know there are a ton of complaints about Vista, but for the basic things we use this laptop for it has done a decent job with minimum trouble. However, there were a number of things about it that made me consider a switch to Ubuntu 10.10.&lt;/p&gt;</description></item><item><title>Linux guides</title><link>https://cunninghamshane.com/posts/linux-guides/</link><pubDate>Tue, 12 Apr 2011 06:53:26 +0000</pubDate><guid>https://cunninghamshane.com/posts/linux-guides/</guid><description>&lt;p&gt;I keep forgetting how good of a resource &lt;a href="http://library.linode.com/"&gt;Linode Library&lt;/a&gt; is for Linux beginners. It covers pretty much all the basic system administration you will need for not only Linode servers, but pretty much any LAMP or LEMP stack. They have great explanations along with the commands to use.&lt;/p&gt;</description></item><item><title>Tweet your Nagios notifications</title><link>https://cunninghamshane.com/posts/tweet-your-nagios-notifications/</link><pubDate>Fri, 28 Jan 2011 01:57:10 +0000</pubDate><guid>https://cunninghamshane.com/posts/tweet-your-nagios-notifications/</guid><description>&lt;p&gt;I haven’t tested this yet so not 100% sure it works. Looks interesting though and one of the better looking solutions for tweeting Nagios alerts since they moved to OAuth.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://jon.netdork.net/2010/10/13/nagios-notifications-via-twitter"&gt;http://jon.netdork.net/2010/10/13/nagios-notifications-via-twitter&lt;/a&gt;&lt;/p&gt;</description></item><item><title>ESXi build</title><link>https://cunninghamshane.com/posts/esxi-build/</link><pubDate>Tue, 18 Jan 2011 11:43:03 +0000</pubDate><guid>https://cunninghamshane.com/posts/esxi-build/</guid><description>&lt;p&gt;I ordered new RAM and motherboard for my ‘server’. Everything should be here by Thursday and I hope to load ESXi 4.1 on it to test.&lt;/p&gt;&#10;&lt;p&gt;CPU - Athlon II X4&lt;br&gt;&#10;RAM - 16GB DDR3 1333&lt;br&gt;&#10;MB - ASUS M4A88T-M/USB3 AM3&lt;br&gt;&#10;NICS - 2 x Intel Gigabit&lt;/p&gt;&#10;&lt;p&gt;Storage&lt;br&gt;&#10;1 x 640GB&lt;br&gt;&#10;2 x 1TB&lt;br&gt;&#10;2 x 2TB&lt;/p&gt;</description></item><item><title>Booting from wrong drive</title><link>https://cunninghamshane.com/posts/booting-from-wrong-drive/</link><pubDate>Sun, 12 Dec 2010 11:05:17 +0000</pubDate><guid>https://cunninghamshane.com/posts/booting-from-wrong-drive/</guid><description>&lt;p&gt;I went to do a bare metal backup of my Windows Server 2008 R2 box and to my surprise it wanted to backup like 1.3 TB. This was unusual since it was a new install and all of C: was a few gigabytes. Turns out, somehow, the bootloader and boot files were installed on my 1 TB data drive.&lt;/p&gt;&#10;&lt;p&gt;bcdedit command will display your bootloader settings. I found a dead simple (and free!) GUI tool to edit these settings, &lt;a href="http://neosmart.net/dl.php?id=1"&gt;EasyBCD 2.0.2&lt;/a&gt;. It doesn’t list Windows Server 2008 R2 as a supported OS, but I can confirm it works on it. Choose BCD Backup / Repair - Change boot drive.&lt;/p&gt;</description></item><item><title>Ubuntu 10.10 running in Hyper-V</title><link>https://cunninghamshane.com/posts/ubuntu-10-10-running-in-hyper-v/</link><pubDate>Tue, 07 Dec 2010 23:54:19 +0000</pubDate><guid>https://cunninghamshane.com/posts/ubuntu-10-10-running-in-hyper-v/</guid><description>&lt;p&gt;Simple write up on installing Ubuntu 10.10 in Hyper-V.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/10/21/installing-ubuntu-server-10-10-on-hyper-v.aspx"&gt;Link&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Nagios</title><link>https://cunninghamshane.com/posts/nagios/</link><pubDate>Tue, 02 Nov 2010 05:20:40 +0000</pubDate><guid>https://cunninghamshane.com/posts/nagios/</guid><description>&lt;p&gt;A good tutuorial on using service checks by SSH.&lt;br&gt;&#10;&lt;a href="http://wiki.nagios.org/index.php/Howtos:checkbyssh_RedHat"&gt;wiki.nagios.org&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Useful commands&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Verify config&lt;/strong&gt;&lt;br&gt;&#10;/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Plugin directory&lt;/strong&gt;&lt;br&gt;&#10;/usr/local/nagios/libexec&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Commands directory&lt;/strong&gt;&lt;br&gt;&#10;/usr/local/nagios/etc/objects&lt;/p&gt;</description></item><item><title>Reads</title><link>https://cunninghamshane.com/posts/reads/</link><pubDate>Fri, 15 Oct 2010 16:10:03 +0000</pubDate><guid>https://cunninghamshane.com/posts/reads/</guid><description>&lt;p&gt;Some good reads.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.smashingmagazine.com/2010/10/12/50-new-useful-css-techniques-tutorials-and-tools/"&gt;50 New Useful CSS Techniques, Tutorials and Tools&lt;/a&gt;&lt;br&gt;&#10;&lt;a href="http://fak3r.com/2010/04/12/howto-monitor-your-servers-via-twitter/"&gt;HOWTO monitor your servers via Twitter&lt;/a&gt;&lt;br&gt;&#10;&lt;a href="http://www.noupe.com/php/htaccess-techniques.html"&gt;Editing .htaccess&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Convert VMware Server 2 disks</title><link>https://cunninghamshane.com/posts/convert-vmware-server-2-disks/</link><pubDate>Sat, 11 Sep 2010 15:36:50 +0000</pubDate><guid>https://cunninghamshane.com/posts/convert-vmware-server-2-disks/</guid><description>&lt;p&gt;Tested using .vmdk created in VMware Server 2, converted to .vhd and successfully ran in Microsoft Hyper-V R2. No settings to change unless you converted a Linux VM, probably will have to add legacy NIC driver to Hyper-V to get connectivity.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://vmtoolkit.com/blogs/announcements/archive/2006/11/20/vmdk-to-vhd-converter-available.aspx"&gt;Vmdk2Vhd 1.0.13: 2/13/2006&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Windows Update Error - Code 80073712</title><link>https://cunninghamshane.com/posts/windows-update-error-code-80073712/</link><pubDate>Fri, 27 Aug 2010 01:26:36 +0000</pubDate><guid>https://cunninghamshane.com/posts/windows-update-error-code-80073712/</guid><description>&lt;p&gt;My main desktop PC was dormant for some time and I recently just got it back up. When I tried to install all the Windows Updates that had accumulated I started to receive error Code 80073712. After trying to install them multiple times I Googled the error code but found the solutions did not help. &lt;a href="http://www.windowsreference.com/windows-vista/fix-for-vista-sp1-install-error-80073712-through-windows-update/"&gt;This&lt;/a&gt; fix didn’t help since I didn’t have the pending.xml file on my system.&lt;/p&gt;&#10;&lt;p&gt;After some more searching I found a free tool from Microsoft that fixed my problems. &lt;a href="http://support.microsoft.com/kb/971058"&gt;Microsoft Fix it 50202&lt;/a&gt; will reset your Windows Update components. I ran the default fix but you can also run an Aggressive mode too. I had to search for new updates a couple times after running it but eventually I was able to install all the Windows Updates.&lt;/p&gt;</description></item><item><title>Hello</title><link>https://cunninghamshane.com/posts/hello/</link><pubDate>Tue, 24 Aug 2010 02:41:26 +0000</pubDate><guid>https://cunninghamshane.com/posts/hello/</guid><description>&lt;p&gt;Hello World!&lt;/p&gt;</description></item><item><title>About</title><link>https://cunninghamshane.com/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cunninghamshane.com/about/</guid><description>&lt;p&gt;This blog started in 2010 as notes to myself about whatever I was building or breaking at the time: whitebox ESXi servers, OpenStack, pfSense, ZFS and plenty of Linux. Older posts are marked as archived. They are kept as they were written, so some details will be out of date.&lt;/p&gt;</description></item><item><title>Archive</title><link>https://cunninghamshane.com/archive/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cunninghamshane.com/archive/</guid><description/></item></channel></rss>