问题一:/bin/cmake: symbol lookup error: /bin/cmake: undefined symbol: archive_write_add_filter_zstd
解决方法:yum install libarchive
问题二、libzip-1.8.0.tar.gz [found]
mkdir: cannot create directory ‘build’: File exists
CMake Error: The source directory "/lamp/lamp/software" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
尝试:删掉 build 重新运行 lamp.sh,问题解决
问题三、virtual memory exhausted: Cannot allocate memory
原因:swap太小,新增 2G swap