技术知识分享

Debian9 宝塔安装Nginx失败解决方法

宝塔面板永久版优惠券

故障环境:

宝塔面板6.9、Debian9 64位

故障现象:

+ ngx_devel_kit was configured
adding module in Awew/server/ngir/src/lua_nginx_module
checking for LuaJIT library in /usr/localflib and /usr/local/inchude/luajit-2.0/
{specified by the LUAJIT_LIB and LUAJIT_INC env, with -Idl) ... not found
checking for LuaJIT library in /usr/localflib and /usr/local/inchude/luajit-2.0/
{specified by the LUAJIT_LIB and LUAJIT_INC env) ... not found
configure: error: ngx_http_lua_module requires the Lua or LuaJIT library and
LUAJIT_LIB is defined as /usr/local/lib and LUAJIT_INC (path for lua.h)
ieee veya Meee ee all a eRe Eton
nginx.sh: line 254; make: command not found
nginx.sh: line 284; make: command not found
===============================================================================
O[31mERROR: nginx-1.15.10 installation failed.O[Om
O[31m安装失败,请截图以上报错信息发帖至宝塔论坛www.bt.cn/bbs求助O[Om

故障原因:

纯净系统未安装make

解决方法:

SSH中运行安装make

apt-get install gcc automake autoconf libtool make
未经允许不得转载:pc6a学习分享 » Debian9 宝塔安装Nginx失败解决方法
腾讯云服务器秒杀

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址