{{ cat }}'s docs

25.1.0: LNMP-cmake安装


0. cmake的安装

# 5.5版以后的mysql用cmake代替了configure来准备编译环境
wget http://www.cmake.org/files/v3.1/cmake-3.1.0.tar.gz
tar zxvf cmake-3.1.0.tar.gz
cd cmake-3.1.0
./configure --help
./configure --prefix=/usr/local/cmake-3.1.0
gmake
gmake install
# 装完后记得把/usr/local/cmake/bin加进/etc/profile里
# export PATH=$PATH:/usr/local/cmake/bin

PS: MySQL安装同LAMP

Contents