curl and myscl connector c++ on beaglebone

Hi!

I am looking for a small webserver which does’t need much energy and runs php and a mysql server. Maybe a beaglebone black is suitable.

It also has to run a small c++ program. It contacts a few arduinos with sensors over ethernet, and write the sensor values into a mysql database.

The c++ program already works on my macbook. I need the libraries “libcurl” for loading the sensor data and “mysqlcppconn” (http://dev.mysql.com/downloads/connector/cpp/) for writing to the database.

Which operating system do you recommend?
Is there an operating system where these libraries are already installed, or where it is easy to install them (eg. per apt-get).

Yours
Christoph