Bennyland this server is running in my bedroom – benny’s learning how to run a linux server

6Feb/102

Serving ASP.NET pages in Apache on CentOS 5

I'm starting to love ASP.NET and the ability to do everything in C# (I'm currently working on an internal silverlight app at work and creating a RESTful API is more fun in C#). Anyway, you can do a yum install mod_mono, but it's a pretty old version so I did some research and found a guide on building it yourself along with two other guides that were roughly the same, but not as good... (1, 2) and somehow ended up with a working server. This is a companion to that guide with more up to date versions of things. (it took me SEVERAL trial and error attempts to get things working :/ so hopefully i didn't miss any steps)

Let me preface this with the fact that if you're running one of the already supported OSs (debian or unbuntu for instance) you shouldn't follow this guide - instead you should just look on the mono website for information.

20Jan/100

Dynamic DNS support for WHM using ddclient

The server which I use to use to host my websites is now primarily used as my DNS and also a backup ftp space for this server to store backups (that way I don't have to buy some sort of tape backup thing). This is great except for the fact that my IP changes a couple of times a year. Up until now I was pushing requests from the webhost's DNS to dyndns and then to my home server running ddclient to update dyndns. Of course I could have paid around $30 a year per domain but I'm cheap.

So I modified ddclient so that it would update my host's DNS server. My host uses cpanel/WHM which luckily has a JSON API!

Here's how you can make the same modifications:

18Jan/100

Forwarding all mail to your ISP’s smtp server with postfix and CentOS 5.4

I needed to forward all server mails to external email addresses and I had to use my ISP's smtp to do it. This is because everything is blocked by my ISP to combat spammers just making their own smtp server at home and then running it all hours of the day. To do this, you should have postfix installed and running already.

18Jan/100

Installing P5KPL-CM network drivers on CentOS 5.4

Once CentOS was installed, the first thing I had to do to make the server useful was to build and install the network drivers for myASUS P5KPL-CM Motherboard.  Here's how to do it:

First, you're going to need the LinuxDrivers zip file.  You'll need to unzip and then unrar l1e-l2e-linux-v1.0.0.4.rar (found in the LinuxDrivers/L1e_Lan directory in the zip).  I had to do this on my Windows PC since I couldn't install unrar on the server (no network, remember?)

Once you're transfered the contents of l1e-l2e-linux-v1.0.0.4.rar to the server, follow these steps:

18Jan/100

Server Specs

This a post from the old setup... but the server is still the same.  There was a note about forgetting how I installed ReviewBoard, and how much of a pain in the ass it was - I havn't done that yet... OH BOY!

Here's the original post, minus the ReviewBoard comment:

Someone asked me last week what the specs of the server I put together were.  Here’s the low down