Change Ubuntu  distribution to Debian, add slave MySQL and several changes.