liuhuhu 发表于 2020-12-18 13:37:32

LNMP一键安装nginx安装失败

发行版本:
LSB Version:        :core-4.1-amd64:core-4.1-noarch
Distributor ID:        CentOS
Description:        CentOS Linux release 8.2.2004 (Core)
Release:        8.2.2004
Codename:        Core


日志文件较大,存入了百度云盘
https://pan.baidu.com/s/1QPkfgofm0fmEF-MZI-oxjg
提取码:1234

licess 发表于 2020-12-18 20:52:23

必须要用lnmp 1.7进行安装

liuhuhu 发表于 2020-12-18 21:16:59

licess 发表于 2020-12-18 20:52
必须要用lnmp 1.7进行安装

直接重新安装1.7可以吗, 还是需要先把以前的删除。要删除的话得一个一个删除吗

licess 发表于 2020-12-19 12:05:13

liuhuhu 发表于 2020-12-18 21:16
直接重新安装1.7可以吗, 还是需要先把以前的删除。要删除的话得一个一个删除吗 ...

最好重装或用脚本卸载后新装

liuhuhu 发表于 2020-12-19 13:48:09

licess 发表于 2020-12-19 12:05
最好重装或用脚本卸载后新装

有详细的步骤吗

licess 发表于 2020-12-19 21:07:55

liuhuhu 发表于 2020-12-19 13:48
有详细的步骤吗

./uninstall.sh 卸载
官网安装教程里有说明

liuhuhu 发表于 2020-12-20 18:25:51

卸载掉旧版本,重新安装1.7 .多次尝试安装。每次运行到如图所示的位置时,就卡住了,不往下走了

liuhuhu 发表于 2020-12-20 18:27:00

licess 发表于 2020-12-19 21:07
./uninstall.sh 卸载
官网安装教程里有说明

卸载掉旧版本,重新安装1.7 .多次尝试安装。每次运行到如下所示的位置时,就卡住了,不往下走了
[ 52%] Built target sql_main
Scanning dependencies of target sql_gis
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/geometry_rtree.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/area.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/covered_by.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/crosses.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/difference.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/disjoint.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/distance.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/distance_functor.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/distance_sphere.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/equals.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/gc_utils.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/geometries.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/intersects.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/is_simple.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/is_valid.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/length.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/mbr_utils.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/overlaps.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/ring_flip_visitor.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/rtree_support.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/simplify.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/srs/srs.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/srs/wkt_parser.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/st_units_of_measure.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/touches.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/transform.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/union.cc.o
[ 52%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/within.cc.o

licess 发表于 2020-12-21 08:27:24

liuhuhu 发表于 2020-12-20 18:27
卸载掉旧版本,重新安装1.7 .多次尝试安装。每次运行到如下所示的位置时,就卡住了,不往下走了
[ 52%] B ...

mysql 5.7+对内存、cpu要求都很高,实际可用内存小于2GB的话,比较大的概率会安装失败,有2GB swap的话成功率会高些,但是安装会比较慢,可能也会遇到系统短暂的无响应,按教程一般都是在screen中运行安装,过段时间再去看就行了,没在screen中运行网络一断铁定安装就结束了

liuhuhu 发表于 2020-12-23 09:58:58

licess 发表于 2020-12-21 08:27
mysql 5.7+对内存、cpu要求都很高,实际可用内存小于2GB的话,比较大的概率会安装失败,有2GB swap的话成 ...

使用screen安装仍然失败了,和之前一样,卡到了52%。 我试过重置系统再安装也失败了。尝试1.6版本安装也会卡到某个地方。现在进行不下去了...

licess 发表于 2020-12-23 13:19:40

liuhuhu 发表于 2020-12-23 09:58
使用screen安装仍然失败了,和之前一样,卡到了52%。 我试过重置系统再安装也失败了。尝试1.6版本安装也 ...

你机器什么配置?你从安装开始等了多长时间?
页: [1]
查看完整版本: LNMP一键安装nginx安装失败