1, install the dependency package (CMake make gcc, in fact, many have, do not need to update, in order to prevent the world is destroyed, installed)
Yum install gcc gcc-c++-y
Yum Install-y ncurses-devel.x86_64
Yum Install-y cmake.x86_64
Yum Install-y libaio.x86_64
Yum Install-y bison.x86_64
Yum Install-y gcc-c++.x86_64
2. Install Boost library 1.59 (listen to the master said, can only be this version, did not try other, lazy is the nature of the landlord, so the rookie follow the order to go)
wget http://nchc.dl.sourceforge.net/project/boost/boost/1.59.0/boost_1_59_0.tar.gz tar zxvf boost_1_59_0. Tarmv boost_1_59_0/usr/local/boost
3. Add user groups and users MySQL (again referring to the commands of various gods)
groupadd MySQL -G MySQL MySQL
4. Download the installation mysql5.7.13 (may need fq when downloading?) always open agent landlord do not know whether the need to FQ ... Then there is the need for root authority, which is certainly OK)
wgetHttp://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.13.tar.gz
TarZXVF mysql-5.7. -.Tar. GZCD MySQL-5.7. -CMake-dcmake_install_prefix=/home/mysql-dmysql_datadir=/home/mysql/data-ddefault_charset=utf8-ddefault_collation= utf8_general_ci-dmysql_tcp_port=3306-dmysql_user=mysql-dwith_myisam_storage_engine=1-dwith_innobase_storage_engine=1-dwith_archive_storage_engine=1-dwith_blackhole_storage_engine=1-dwith_memory_storage_engine=1-ddownload_boost=1-dwith_boost=/usr/local/Boost Make&& Make Install
5.
MySQL5.7.13 Source Installation Guide