我对Linux不是很熟悉,我刚刚开始学习nginx和nodejs。由于我使用的是Windows,所以我尝试通过MinGW安装openresty,方法是运行:cd ngx_openresty-1.9.7.1/configure line 588.
make TARGET_STRIP=@: CCDEBUG=-g CC=cc PREFIX=/usr/local/openresty/lua
我尝试用openresty构建一个映像:centos,并且成功构建了映像,但是当尝试使用此映像运行容器时,容器会停止ans显示以下消息:FROM openresty/openresty:1.11.2.3-centos
RUN /usr/local/openresty/luajit/bin/luarocks
我尝试在ubuntu 16.04上重启apache服务,但我无法重启,因为nginx正在监听端口'80‘。但当我尝试停止nginx时,找不到该服务。tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 6069/nginx
● nginx.service
Loaded: not-found (Reason: No such file or dire