MySQL data on secondary hard disk

Having your MySQL data on a separate partition is important, why?

Having your MySQL data on a separate partition is important because when your root partition fills up and no space is left, your system won’t be able to boot and might crash when running, you then have to boot from a recovery disk to remove files before you can boot on your normal system again.
This is critical for servers that you can’t allow to be down for an hour or two!

The solution

The solution is easy, you just move your MySQL data to a separate partition, and this problem won’t occur any longer, the only thing that happens when you run out of space, is that the MySQL can’t write any new data to the database, which is better than the entire system crashing and being unable to boot.
In this guide i will show you how to make the changes needed to get this problem resolved.
Continue reading

Debian Linux server (wheezy 7.1) installation

Debian Linux (Wheezy) server is easy to install. It takes about half an hour, or two depending on what you need it for and how “special” your installation has to be. A standard installation with only one hard drive will take about 0,5-2 hours depending on your knowledge on Linux servers.
On this page I will guide you through how to do it, with screenshots and explanations on every single one.
I have choosen Debian Linux as my favorite Linux server distribution for the following reasons:

  1. It’s light. It only got the stuff you need and nothing more, which gives you a really small footprint (Debian can run on a computer with less than 200 Megabytes of memory easily!
  2. It’s reliable
  3. Updates are stable, no crossing fingers when updating the system hoping it will not break
  4. If you ever have problems with Debian, it’s really easy to find a solutions just by Googling the problem.
  5. It’s easy to use
  6. It’s fast.

I will in this guide install Debian server without any Desktop environment (no icons, no mouse. only a keyboard and a console screen) since this saves a LOT of resources (about 100-200 megabytes of memory) and the time it takes for the server to boot/startup.
Continue reading

Installing VMware ESXi on a haswell and Z87 (4th generation) CPU

The problem

A couple of days ago, I got a package containing a new motherboard, a CPU and some RAM.
It was supposed to be used for an upgrade on one of my VMware ESXi servers, since I was running low on resources.
The package contained:

So, everything looked fine, and I was excited since this was actually my first build with a haswell (4th generation i5) CPU!
Before I ordered the hardware, I googled around to find some answers on Z87 ESXi compatibility, but was not able to find anything, so I was at the same time kind of nervous..

I took out the old parts from the server, and put in the new motherboard, CPU and memory and booted it up into bios.

i then set some settings i wanted (boot order, fan control and so on) and rebooted the server onto the VMware ESXi 5.1-update1 installer I just had burned to a CD only to discover that something was horribly wrong.

Continue reading