After some shenanigans with Ubiquity hosting I searched again for another hosting company, after speaking with a long time friend from IRC I was able to find a good deal through Quadranet. The same setup, ESXi 5, less ram (8gb) but more hdd space, (1TBxRaid1) which is really exactly what I was looking for. Additionally I was slotted with /64 of ipv6 which I’ll have to experiment with.

Migrating the rest of my hosts this week will be a nice refresh on linux administration skills.

Took on the task of consolidating all my various web stuff this weekend. It was a bigger task than I imagined.

Last week I purchased a dedicated server from ubiquityservers, I’ll write some more up about that experience later as its still ongoing, but suffice to say, its a fairly beefy box and I’m able to run ESXi 5 on it, which is something I’ve wanted to do for along time.

So far I’ve managed to install configure ubuntu server 12.04, setup the LAMP stack, and import all my web from Doing all this has shown me how spoiled i’ve gotten from using hosting services and not playing with config files, network services, etc etc.

Still up, couple more websites and an IRC server, ossec monitoring.

Configuring LAMP (Linux, Apache, MySQL, PHP) on a Ubuntu system is one of the easier things to do on Linux. The automation is incredible how a single install command and everything just works. That said a minor and as far as I can tell undocumented change can cause much headache. In particular the way /home/*/public_html accounts work.  In 10.04 someone decided that for security reasons PHP should be disabled on these folders by default. Annoyingly there is no question in the setup or prompt to say, by the way we disabled PHP for ALL your users, did you want this?.

That said, it is relatively painless to fix:


sudo nano /etc/apache2/mods-available/php5.conf
Look for the lines that look like:
<IfModule mod_userdir.c>
<Directory /home/*/public_html>
php_admin_value engine Off
Change to look like:
#    <IfModule mod_userdir.c>
#        <Directory /home/*/public_html>
#            php_admin_value engine Off
#        </Directory>
#    </IfModule>
Finally restart apache:
sudo /etc/init.d/apache2 restart
Whew. Now can I have the last 30 minutes of my life back? 🙂

Its been awhile since i’ve setup a PPTP server in linux but the overhead of server 2003 for under 10 users is hard to justify the cost. I’ve compiled a short how-to for reference. This is based off Ubuntu 8.10 but would most likely work for any flavor of both Ubuntu or Debian.

Install software…

aptitude install pptpd

Get your ip address

ifconfig – get eth0 ip address

First Config File

sudo nano -w /etc/pptpd.conf

what is -w? it turns off automatic line wrapping

Edit the following information:

localip (this address should be the IP address of your server [inet addr] when you type ifconfig, see above )

remoteip (this will provide you with 6 working IPs (aka a /29))

Get your DNS Servers

cat /etc/resolve.conf  ( your looking for the numbers after the word nameserver )

Second Config File

sudo nano -w /etc/ppp/options

Edit the following information:

ms-dns (replace information from /etc/resolve, copy only the IP)


Third Config File

sudo nano -w /etc/sysctrl.conf

fine the line that says:


remove the #

This will allow the kernel to foward packets to your VPN clients

Final Config File

sudo nano -w /etc/ppp/chap-secrets


username service password ip

(* will allow any IP address to conncet)

alice pptpd secret-password-here  *

bob pptpd secret-password-here *

Lastly, reboot.

When your machine comes back up, you may need to /etc/init.d/pptpd start

Jungledisk is a front end to Amazon S3 storage service that provides the ability to share files between computers AND backup your data on the cheap (0.15 cents per GB)… What I like about this best is it has software for all 3 operating systems (Windows, OSX, Linux) and surprisingly works quiet well on Ubuntu but its not as integrated as I’d like. Mainly, I can’t mount and unmount the Jungledisk without considerable headache. So a simple how to on how to get it working (Hardy 8.04)

Step one, edit /etc/fstab

sudo nano /etc/fstab
add line:
http://localhost:2667 /home/yournamehere/jungledisk davfs nolocks,user,noaskauth 0 0

step two:davfs2

sudo aptitude install davfs2

step three: fix the davfs2 install

sudo chmod ug+s /sbin/mount.davfs

step four: fix the davfs2 config so that admin (instead of staff) can use it.

sudo nano /etc/davfs2/davfs2.conf
# General Options
# ---------------

# dav_user        davfs2            # system wide config file only
dav_user nobody
# dav_group       davfs2            # system wide config file only
dav_group admin
, ,

After a quick heatsink fix on the server, things seem to be running smoothly. After a little tinkering, setup mrtg (multi router traffic graph) which works for things other than routers:


iNet Traffic 

Even one for mail: 

Mail Traffic

And one for spam 🙁

 Spam Traffic

I’ve been working on some anti-drone stuff for Rizon (the chat network i’m staff at) and going to try and get some graphs from the data next.

While editing some configuration files on the server today, the following began spamming my ssh session:

Message from syslogd@rm-004-40 at Tue Apr 29 00:11:47 2008 ...
rm-004-40 kernel: CPU0: Running in modulated clock mode
Message from syslogd@rm-004-40 at Tue Apr 29 00:11:47 2008 ...
rm-004-40 kernel: CPU0: Temperature above threshold

This obviously couldn’t be good. After some minimal searching on the web, confirmed that sadly this was most likely the CPU fan on my server failing, or general airflow problems., where this server is rented from will have to take a look at it in the morning. -facepalm-