Author Archives: Andrew Wells

About Andrew Wells

I have been developing on the LAMP stack since about 2006. I run Ubuntu XFCE on my desktop and have a history of managing Ubuntu and CentOS servers. I code web applications mostly in PHP but have experience with other languages as well. When I'm not working, I can be found working in my home lab or out snowboarding, hiking, camping, or biking depending on the season.

Watching a Log File in the Terminal

This bash one-liner will let you watch the tail end of a log file in real time.

I find myself keeping an eye on the Apache log when testing Linux deployments. This helps me see what the clients are requesting, whether the preseed file was fetched, etc. After writing this tip, I had this epiphany that this could be used for any log file. Just swap out /var/log/apache2/access.log with your file of choice.

Continue reading

Rename a Volume Group in Ubuntu 12.04

Ubuntu names the volume group according to the hostname of the computer, but sometimes I want to change it after the fact, and doing so is pretty easy.

Since writing this procedure, I did run into a reason why unique volume groups could be useful. I had a system crash, which required me to take the HDD and connect it into a working system. Both machines used the VG name of “system”, so this caused a conflict with mounting both VGs. In this case, I had to rename one of them to perform my data recovery.

Continue reading

CentOS 6 Deployment Server

This guide is an amendment to the Ubuntu Deployment Server. This guide assumes that you have a server similar to this setup. If you need to go through that guide first, you only need to complete up to Checkpoint Two.

To clear up any potential misleading in the title, this server is powered by Ubuntu 12.04, but will have the ability to deploy CentOS 6 to PXE clients. Why? Because I did that one first. No sense in re-inventing the wheel.

Continue reading

My Mobile (and Virtual) Deployment Lab Powered by VirtualBox

When I built my ESXi server, I learned how to deploy Ubuntu over the network using PXE and preseed files. I found it invaluable in quickly creating VMs for testing whatever I felt like tinkering with.

Over the summer, I was pressured to not have the G5 running 24/7 because of the excess heat. I have a Core i5 / 8GB RAM laptop that I figured I would put to good use. I added a high performance SSD in the optical drive bay (who uses CDs/DVDs and more anyway), and installed Virtualbox on top of Windows 7.

Continue reading

Nagios 4.x Install from Source on Ubuntu 12.04

I do not have Nagios 4.x on any production boxes yet, but I want to keep track on how this is working on Ubuntu 12.04. Apparently Nagios Core wasn’t well tested for Debian systems if at all. But in any case, it can be installed with a couple modifications.

This guide is going to be very similar to my guide on Nagios 3.x.

Update: Are you already on Ubuntu 14.04? Head on over here for the latest guide.

Continue reading