Ubuntu KVM 4: Second Network Interface

Posted by Jared Kipe on

Tags: , , ,

Often you need to expose a second network interface in your virtual machines.  Sometimes you have a second physical interface on the actual host, this is usually part of a private back end network (with a private IP space).  Other times, you are using virtualization on a single host for isolating individual components, here you can make a second (virtual) bridge with no physical backing network.

NewRelic + HHVM: Automatic Segments

Posted by Jared Kipe on

Tags: , ,

I've been messing around with building a HHVM extension using NewRelics AgentSDK that will allow for segmenting database and external calls. This is a brief summary of the things I've learned about overriding HHVM's core functionality to hook in NewRelic segments.

Coding with Kaylie: CSS Craziness

Posted by Kaylie on

Tags: , ,

I decided it was time to tackle another front-end project. I planned it out, thought it through, and jumped right in! Only one problem: It, ummmm, wasn't doing what I wanted it to. What did I want it to do, exactly? You know, just a simple responsive two-column layout that has containers with a rounded border and 60% white background with text, 40% background with a vibrant color and an image.

Ubuntu KVM 3: Virsh Console Fix

Posted by Jared Kipe on

Tags: , , , ,

You may find that immediately after installing your guest, you cannot connect to the guest via `virsh console`. Follow along as I add a serial console, designate it for use by grub, and add it to the guest's configuration file for virsh to use.

Ubuntu KVM 2: Creating the Guest

Posted by Jared Kipe on | 1 Comments

Tags: , , ,

Time to create the Guest, or virtualized, machine.  Ubuntu gives us a very handy script that will take a lot of the guest install and configuration out of our hands... as long as you know all of the flags you need to setup a working install.

Ubuntu KVM 1: Bridge Network

Posted by Jared Kipe on

Tags: , , ,

So you're new to virtualization and want to take your brand new computer, with its brand new OS, into KVM/libvirt nirvana with the least amount of frustration. Follow along as I start from a fresh install of Ubuntu 14.04 Trusty and configure it reasonably and easily into a dev/production web host.

SilverStripe on HHVM: Part Three

Posted by Jared Kipe on | 1 Comments

Tags: , ,

SilverStripe is a (relatively) lean framework, but that doesn't mean it cannot benefit from HHVM's performance gains over Zend PHP. I also ran some tests on a hobbled down SilverStripe to see what kind of performance gains other, not so lean, frameworks might hope to achieve.

SilverStripe on HHVM: Part Two

Posted by Jared Kipe on | 1 Comments

Tags: , ,

Magic Method __get() and Zend PHP (with Video)

The SilverStripe object hierarchy makes extensive use of PHP's __get() magic method. So much so that you probably cannot edit an article on HHVM right now. Unfortunately, currently this means you will need to edit and re-compile the HHVM source before it will get any better.

SilverStripe on HHVM: Part One

Posted by Jared Kipe on

Tags: , ,

Just the Basics and Setup (with Video)

Getting SilverStripe working on HHVM is possible right now! Follow along as I show you how to work around the incompatibilities that need to be addressed before getting a single page to load.

Nginx 'server_name' Directive

Posted by Jared Kipe on

Tags:

On The Importance of Wildcard Sub-Domains and 'default_server'

I am a fan of Nginx, both as a reverse-proxy and a webserver. It is generally easy to configure, maintain, and use. In additon, it provides better performance (in some applications) and lower memory and CPU usage (in all applications), than Apache HTTPD. However, setting up a wildcard sub-domain for every domain is important to keep 'odd' redirect behavior to a minimum.