OS: RHEL 6.6
Moodle: 2.8
This server is running apache 2.2, php 5.5 and mysql 5.5.44.
I want to upgrade OS to RHEL 7.3 and Moodle to 3.1.
On new server I would like to migrate mysql database to Mariadb.
I want to know what is the best strategy to achieve this. What should I upgrade first?