curl and myscl connector c++ on beaglebone


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” ( 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).