Monster VPN Project – Installing MySQL

As with all projects, you have to start by laying the basic blocks to build the interesting parts on.

So this is where we will begin the Monster VPN Project

I’m assuming you’ve already got Debian installed. I’m not going into this, as its been documented all over the place, and isn’t that much of a problem. (And in all honesty, if you struggle with this, you might want to reconsider continueing this project) 

The best place to start on this project, is to install MySQL. Since its going to be the database that stores all the data for the VPN’s, its best to have this in place before you start with the rest of it.

Thankfully, this is pretty simple in Debian.

Make sure you’re logged in as root, and run

apt-get install mysql-client-5.0 mysql-common mysql-server-5.0 

This will install the binaries needed to run a MySQL server, and the client. But since we’ll be compiling radiusplugin from source, we also need the -dev libraries for the MySQL client, so run the following too:

apt-get install libmysqlclient15-dev

Well, thats it! I did say it was easy…