linux 下一键安装lnmp结果Mysql安装失败,解决方法如下:
mv /usr/bin/cmake /usr/bin/cmake.backup
wget http://www.cmake.org/files/v3.0/cmake-3.0.2.tar.gz
tar zxf cmake-3.0.2.tar.gz
cd cmake-3.0.2
./configure
gmake
make && make install
ln -sf /usr/local/bin/cmake /usr/bin/cmake
然后进入到lnmp安装目录后重新运行安装包./install.sh 就可以了