注:centos的版本为:CentOS-7-x86_64-Minimal-1503-01
http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1503-01.iso
下载maridb 10.1 binary:
http://mirrors.opencas.cn/mariadb//mariadb-10.1.10/bintar-linux-x86_64/mariadb-10.1.10-linux-x86_64.tar.gz
安装依赖:jemalloc:
参考 http://pkgs.org/download/libjemalloc.so.1()(64bit)
首先添加yum安装源,
下载 http://www6.atomicorp.com/channels/atomic/centos/7/x86_64/RPMS/atomic-release-1.0-19.el7.art.noarch.rpm
执行命令
#rpm -Uvh atomic-release-1.0-19.el7.art.noarch.rpm
#yum install jemalloc
安装maridb
指引可参考 https://mariadb.com/kb/en/mariadb/installing-mariadb-binary-tarballs/ 或者
查看maridb tar.gz文件中根目录下的 INSTALL-BINARY 文件进行安装。
来自:http://www.cnblogs.com/FoChen/p/5153553.html
时间: 2024-12-28 00:47:59