apt build-dep mariadb-server
mkdir mariadb-build
cd mariadb-build
git clone -b 10.5 https://github.com/MariaDB/server.git
mkdir mariadb
cd mariadb
cmake ../server -DBUILD_CONFIG=mysql_release
make package
Wait about 30 min for build, it will export binary file tarball .tar.gz
Copy that file to home and extract it
cd mariadb-version
Create some directories for log, config...
mkdir log
mkdir tmp
mkdir database
mkdir binlog
Create my.cnf file and .sh files for simplified action
Copy shared libraries to portablelib, use generate_portablelib.sh
No comments:
Post a Comment