不经过悉心栽培,花儿开不出鲜艳的花朵;不经过时间的历练,幼苗长不成参天大树。

centos中安装oneinstack遇到的问题总结

linux 建伟 379℃ 0评论

安装oneinstack时,在进行到Nginx安装的过程中出现错误

make[2]: Leaving directory `/oneinstack/oneinstack/src/openssl-1.1.1g’
make[1]: Leaving directory `/oneinstack/oneinstack/src/nginx-1.18.0′
make: *** [build] Error 2
Nginx install failed, Please Contact the author!

这是因为系统缺少必要的工具和依赖包,工具有gcc,gcc-c++。依赖包有 pcre-devel ,zlib-devel,openssl-devel  这些通过yum安装即可。安装完成后重新进行oneinstack的安装配置,就没有问题了。

yum -y install gcc gcc-c++  make automake autoconf kernel-devel ncurses-devel libxml2-devel openssl-devel curl-devel libjpeg-devel 
libpng-devel  pcre-devel libtool-libs freetype-devel gd zlib-devel file bison patch mlocate flex diffutils   readline-devel glibc-devel 
glib2-devel bzip2-devel gettext-devel libcap-devel libmcrypt-devel cmake

转载请注明:Li Jianwei's Blog » centos中安装oneinstack遇到的问题总结

喜欢 (32)or分享 (0)
web技术交流群
22765697