Repeat as required for other packages you might have custom scripts for Custombuild 2.0 brings several core package upgrades including, Apache 2.4, PHP 5.5, My SQL 5.6 and more.
Direct Admin is a control panel designed to make managing a web server easier. At the time of writing this the latest stable version of custombuild is 1.2, though custombuild 2.0 is nearing stable release (currently RC5), but on a production server after running custombuild 1.2 for a while you’d be a little nervous as to how the jump from Apache 2.2 to 2.4 will be, or how your PHP apps are going to handle the jump from 5.3/5.4 to 5.5?
With control panels like Direct Admin, installing and updating packages isn’t as simple as running apt-get install or yum install, most come with their own build system where packages are compiled with specific settings. Well luckily for you and myself I have a test server lined up to be able to perform the update (or migration I guess). All of this was carried out on a VPS server running Cent OS 6.4 and Direct Admin 1.433. I would like to think your running custombuild 1.2, but these instructions will work for older versions.
If you need a high performing database engine, Maria DB is the way to go.
It is important to note that when upgrading from My SQL 5.6, there are no compatibility issues assuming your database's meet the requirements of My SQL 5.6.
It is extremely easy to upgrade to Maria DB 10 from My SQL and in most cases, it is just a drop in replacement, no need to modify your tables or anything like that.
This guide was written especially for upgrading to Maria DB 10 from My SQL 5.6 on a Cent OS 6.x 64-bit system.
Edit /usr/local/directadmin/custombuild/and locate the mysql_inst value. Change the value from yes to no, the line should now read mysql_inst=no.
This will prevent Direct Admin from updating Maria DB and installing an older version of My SQL.
As with anytime you access your machine via root, please use extreme caution.