解決方法:
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
參考博文:
一鍵安裝包lnmp1.5
lnmp1.5一鍵安裝包 安裝php 7.1.18 后的幾個大坑問題
VM虛擬機安裝LAMP,mysql裝不上

