联系方式
微信公众号
(欢迎同学们关注,get更多数据库技能)
微信
前言
mysql源码安装官方手册
mysql源码安装前提条件
mysql源码安装官方手册
培训课件
mysql源码安装官方手册
2 Installing and Upgrading MySQL
2.9 Installing MySQL from Source
2.9.2 Source Installation Prerequisites
mysql源码安装前提条件
1,操作系统版本
redhat 6.8
2,前提条件
20191025 redhat 6.8安装mysql源码前必须安装的一些软件包cmake and bison and make and boost操作指南
3,加载操作系统光盘
[root@bank1 BUILD]# mount /dev/cdrom /mnt
mount: block device /dev/sr0 is write-protected, mounting read-only
4,确认安装cmake软件包,至少2.6.3以上
[root@bank1 BUILD]# cd /mnt/Packages/
[root@bank1 Packages]# ls -l *cmake*
-r--r--r-- 186 root root 8374180 6月 6 2014 cmake-2.8.12.2-4.el6.x86_64.rpm
[root@bank1 Packages]#
https://dev.mysql.com/doc/internals/en/cmake-prerequisites.html
MySQL Internals Manual / Building MySQL Server with CMake / CMake Prerequisites
[root@bank1 Packages]# rpm -qa|grep -i --color cmake
[root@bank1 Packages]# rpm -ivh cmake-2.8.12.2-4.el6.x86_64.rpm
Preparing... ########################################### [100%]
1:cmake ########################################### [100%]
[root@bank1 Packages]#
5.确认安装make软件包,至少3.75以上
[root@bank1 Packages]# rpm -qa|grep -i --color make-
automake-1.11.1-4.el6.noarch
cmake-2.8.12.2-4.el6.x86_64
make-3.81-23.el6.x86_64
6,确认安装 BOOST C++库 ,必须在1.59.0
[root@bank1 Packages]# rpm -qa|grep -i --color boost
boost-1.41.0-28.el6.x86_64
boost-date-time-1.41.0-28.el6.x86_64
略
boost-signals-1.41.0-28.el6.x86_64
boost-regex-1.41.0-28.el6.x86_64
7,确认安装ncurses
[root@bank1 Packages]# rpm -qa|grep -i --color ncurses
ncurses-devel-5.7-4.20090207.el6.x86_64
ncurses-5.7-4.20090207.el6.x86_64
ncurses-base-5.7-4.20090207.el6.x86_64
ncurses-libs-5.7-4.20090207.el6.x86_64
8,确认安装perl
[root@bank1 Packages]# perl --version
This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
9,确认安装bison 2.1以上
[root@bank1 Packages]# rpm -qa|grep -i --color bison
bison-2.4.1-5.el6.x86_64
[root@bank1 Packages]#
培训课件
(收费20元已共享到百度云盘便于同学们获取)