Submitted by Easton on Sun, 03/29/2015 - 22:05
There are countless tools and software stacks out there to monitor your servers out, though some are not the easiest to setup. I went with Nagios since it's straightforward to configure and easy to setup. For reference, I used Nagios 4.0.8 on Debian 7 using Debian 7 slaves. The Nagios master node already had lighttpd and PHP set up so I'll gloss over that.
Start by downloading Nagios and Nagios plugins:
Extract, compile and install Nagios:
Submitted by Easton on Mon, 03/31/2014 - 20:15
I have recently discovered the Nimrod programming language. I usually don't branch out on languages because, well, stuff you don't know can be scary. I'm surprised how easy it is to get going though, it reminds me quite a bit of Python. I put up a test project on Github that fetches the weather for a given location.
Submitted by Easton on Fri, 02/21/2014 - 00:08
SnackLinux finally has a domain, snacklinux.org! The source is still on Github and all the ISO images have moved as well.
Submitted by Easton on Fri, 01/03/2014 - 03:36
For the most part, SnackLinux works. I've been having problems with Busybox, so I've made packages for coreutils, binutils, sed, grep and gawk. When compiling anything, I get:
segfault at 0 ip (null) sp bfdb1cbc error 4 in busybox[8048000+e8000]
or something along the lines of that. I used the newest Buildroot, 2013.11, to create a new toolchain and cross compile uClibc 0.9.33 for SnackLinux. I have yet to recompile Busybox yet, but I'm working on getting gcc natively working on SnackLinux. Once that is completed, I should be able to compile SnackLinux from within SnackLinux.
Submitted by Easton on Sun, 09/15/2013 - 01:22
I recently bought another IBM Model M (1395660) on eBay the other day, not thinking that it is actually a terminal keyboard. I thought it has a detachable SDL cable like my current Model M (1391401). I was wrong. Turns out it has a non-removable RJ-45 plug instead, thus being a terminal keyboard. Well, aftering some researching, some were able to get it to work by using an ATMega. I was able to find a pinout of the RJ45 plug on the keyboard, and simply just wire it up to a PS/2 cable. Though apparently, the colour of wire for PS/2 is not standardized, which led to testing each pin to see what it does. I cannibalized an old Microsoft keyboard for the cable and was able to hook the wires up straight to each other.
Submitted by Easton on Sun, 07/21/2013 - 20:58
Four months later and I finally updated SnackLinux. I changed SnackLinux from a ramdisk to initramfs, updated the Linux 3.10.1 and cleaned up how things build. The full project is available on my Bitbucket and ISOs are available to download here.
Submitted by Easton on Fri, 03/15/2013 - 02:12
I've spent the last week or two working on SnackLinux, a small Linux distro. I managed to get uClibc in there, as well as tcc, which makes it somewhat useful. The source of it all is there, so you can compile the distro yourself (sans the packages). There are also ISOs which you can download here and fire them up in a virtual machine.
Submitted by Easton on Sat, 01/19/2013 - 01:35
The processor on the Raspberry Pi isn't all that fast, so why not offload it? I have a HP ML350 that is mostly idling, except when I need to use PostgreSQL, so I thought to set it up as a desktop server for my Pi.
I set up a RDP server since it works well with Linux and also Windows. First thing's first, install xrdp and all other dependencies:
apt-get install build-essential libpam0g-dev libssl-dev x11vnc vncviewer fakeroot checkinstall x11vnc xrdp rdesktop
Then, install your desktop of choice. I chose XFCE since it's pretty lightweight
apt-get install xfce4
Submitted by Easton on Wed, 12/19/2012 - 02:22
Because I wanted the full experience, I wanted to hook up my NES controller to my Raspberry Pi and play NES games. I looked around and didn't find anything that fit my needs.
I wrote a script, that's up on Github now, that converts button presses on the NES controller to keyboard presses. So for example, by pressing the A button it registers as pressing the Z key on a keyboard. How to set it up is all right here.
I spliced the wires on the NES controller (thanks to this diagram) and used a breadboard to connect the appropriate wires to ground, +5V, the data, latch, and clock pin. Now I can play Mario in retroarch with a NES controller!
Submitted by Easton on Thu, 11/22/2012 - 21:32
I won a Raspberry Pi for getting 3rd place in the Open 7400 Logic Competition, of which HubCityLabs donated the Raspberry Pi. My initial project idea for it was to set up a wall mounted weather station. For the time being I thought I'd mess around with it and get somehwhat familiar on what I'm dealing with.
I downloaded the Rasbian image and wrote it to an SD card. It's recommended that the SD card is a minimum of class 4.
Everything is supported 'out of the box' with Rasbian so there's no fiddling around. After purchasing a HDMI cable and connecting it to the Pi, it still output video via the RCA jack instead. I opened up
/boot/config.txt and set hdmi_safe=1 and voila, HDMI worked!