Light Linux server for MySQL

VinylxScratches

Golden Member
Feb 2, 2009
1,666
0
0
What would be the best distro to use as a MySQL server? It will be in a virtual machine running under Windows XP.
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
I prefer Debian for servers, or at least one of Ubuntu's LTS releases. During the install process you can simply select to install mysql server and once you boot up you'll be up and running. If you want a full LAMP stack you can simply run 'apt-get install phpmyadmin' as root and that will install all packages you need.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: Crusty
I prefer Debian for servers, or at least one of Ubuntu's LTS releases. During the install process you can simply select to install mysql server and once you boot up you'll be up and running. If you want a full LAMP stack you can simply run 'apt-get install phpmyadmin' as root and that will install all packages you need.

I prefer Ubuntu Server LTS. Ubuntu Server tunes the kernel for server applications, as opposed to desktop gui applications, and they strip out just about everything but the bare essentials to keep the storage, processor, and ram overhead to a minimum.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I prefer Ubuntu Server LTS. Ubuntu Server tunes the kernel for server applications, as opposed to desktop gui applications, and they strip out just about everything but the bare essentials to keep the storage, processor, and ram overhead to a minimum.

I don't have an Ubuntu installation handy to check but I can't believe they do any more than build everything as a module like every other distribution.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: Nothinman
I prefer Ubuntu Server LTS. Ubuntu Server tunes the kernel for server applications, as opposed to desktop gui applications, and they strip out just about everything but the bare essentials to keep the storage, processor, and ram overhead to a minimum.

I don't have an Ubuntu installation handy to check but I can't believe they do any more than build everything as a module like every other distribution.

they do.
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
Debian turns off preempting, uses cfq for it's default I/O scheduler(but has all others available with a kernel parameter), and doesn't change the interrupt hz from 250.

That's not much of a difference between Debian's kernel and Ubuntu's 'server' kernel, and honestly I'm sure in order to figure out what's best for your server you'll need to run benchmarks and change settings yourself.
 

Scarpozzi

Lifer
Jun 13, 2000
26,379
1,766
126
CentOS is usually pretty safe for server applications because it's easy to find RedHat/CentOS applications. I'm a huge fan of yum too and it's standard on CentOS 5/RHEL5.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
6 of one, half dozen of the other.

If only that were true. Yum is annoyingly slow cause it's all python and the repositories for CentOS are miniscule compared to what's available for Debian and Ubuntu.
 

ASK THE COMMUNITY