一、准备工作
1、删除centos系统自带的mariadb数据库防止发生冲突
rpm -qa |grep mariadb rpm -e mariadb-libs --nodeps
2、安装文件准备
# 下载mysql-5.7.25 wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.25-linux-glibc2.12-x86_64.tar.gz # 下载boost-1.59.0 wget https://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz
3、安装相关依赖
yum -y install gcc gcc-devel gcc-c++ gcc-c++-devel autoconf* automake* zlib* libxml*ncurses-devel ncurses libgcrypt* libtool* cmake openssl openssl-devel bisonbison-devel perl-Data-Dumper boost boost-doc boost-devel
1
原文地址:https://www.cnblogs.com/believepd/p/10603414.html
时间: 2024-10-29 05:21:05