当前位置:论坛首页 > Linux面板 > 求助

无法安装nginx

发表在 Linux面板2017-7-26 09:09 [复制链接] 18 12169

安装都正常,就是安装后什么都没有,server下甚至都没有nginx,这是为什么?
使用道具 举报 只看该作者 回复
发表于 2017-7-26 10:12:05 | 显示全部楼层
关键安装不了还没有错误提示,不知道怎么办
使用道具 举报 回复 支持 反对
发表于 2017-7-26 10:13:46 | 显示全部楼层
没有错误提示,安装完之后啥都没有,应该是安装终止,centos6.9,
使用道具 举报 回复 支持 反对
发表于 2017-7-26 10:23:17 | 显示全部楼层
截图,看一下有这种情况
TIM图片20170726102531.png
使用道具 举报 回复 支持 反对
发表于 2017-7-26 12:27:09 | 显示全部楼层
环境是纯净吗?

----------------------------------------------------------------------------------------------------
菜鸟团队技术博客点击联系
使用道具 举报 回复 支持 反对
发表于 2017-7-26 13:35:30 | 显示全部楼层
penn 发表于 2017-7-26 12:27
环境是纯净吗?

------------------------------------------------------------------------------------ ...

我也不知道是否纯净
使用道具 举报 回复 支持 反对
发表于 2017-7-26 13:41:13 | 显示全部楼层
penn 发表于 2017-7-26 12:27
环境是纯净吗?

------------------------------------------------------------------------------------ ...

刚问了,是刚安装的纯净系统,不过我安装了shadowsocksr和bbr加速,替换了内核
使用道具 举报 回复 支持 反对
发表于 2017-7-26 13:53:59 | 显示全部楼层
现在要做啥才能安装web服务呦
使用道具 举报 回复 支持 反对
发表于 2017-7-26 14:03:00 | 显示全部楼层
检查是否有安装云锁,若有安装云锁,请先卸载,安装好nginx后再安装回去。
使用道具 举报 回复 支持 反对
发表于 2017-7-26 14:43:08 | 显示全部楼层
服务器并没有安装云锁 TIM截图20170726144411.jpg
使用道具 举报 回复 支持 反对
发表于 2017-7-26 14:47:53 | 显示全部楼层
良哥 发表于 2017-7-26 14:03
检查是否有安装云锁,若有安装云锁,请先卸载,安装好nginx后再安装回去。 ...

服务器并没有安装云锁啊
使用道具 举报 回复 支持 反对
发表于 2017-7-26 15:06:52 | 显示全部楼层
那你尝试使用以下命令安装,看看具体报什么错:
  1. bash /www/server/panel/install/nginx.sh install 1.12
复制代码
使用道具 举报 回复 支持 反对
发表于 2017-7-26 15:18:33 | 显示全部楼层
良哥 发表于 2017-7-26 15:06
那你尝试使用以下命令安装,看看具体报什么错:

checking for OS
+ Linux 4.12.3-1.el6.elrepo.x86_64 x86_64
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC)
checking for gcc -pipe switch ... found
checking for --with-ld-opt="-Wl,-E" ... found
checking for -Wl,-E switch ... found
checking for gcc builtin atomic operations ... found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for gcc builtin 64 bit byteswap ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for Linux specific features
checking for epoll ... found
checking for EPOLLRDHUP ... found
checking for EPOLLEXCLUSIVE ... not found
checking for O_PATH ... not found
checking for sendfile() ... found
checking for sendfile64() ... found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... found
checking for sched_setaffinity() ... found
checking for crypt_r() ... found
checking for sys/vfs.h ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for SO_SETFIB ... not found
checking for SO_REUSEPORT ... found
checking for SO_ACCEPTFILTER ... not found
checking for SO_BINDANY ... not found
checking for IP_BIND_ADDRESS_NO_PORT ... not found
checking for IP_TRANSPARENT ... found
checking for IP_BINDANY ... not found
checking for IP_RECVDSTADDR ... not found
checking for IP_PKTINFO ... found
checking for IPV6_RECVPKTINFO ... found
checking for TCP_DEFER_ACCEPT ... found
checking for TCP_KEEPIDLE ... found
checking for TCP_FASTOPEN ... not found
checking for TCP_INFO ... found
checking for accept4() ... found
checking for eventfd() ... found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint32_t ... found
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... little endian
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
checking for AF_INET6 ... found
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for pwritev() ... found
checking for sys_nerr ... found
checking for localtime_r() ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
configuring additional modules
adding module in /www/server/nginx/src/ngx_devel_kit
+ ngx_devel_kit was configured
adding module in /www/server/nginx/src/lua_nginx_module
checking for Lua library ... not found
checking for Lua library in /usr/local/ ... not found
checking for Lua library in /usr/local/ ... not found
checking for Lua library in /usr/pkg/ ... not found
checking for Lua library in /opt/local/ ... not found
checking for Lua library in /usr/local/*/lua51/ ... not found
checking for Lua library in /usr/ ... not found
checking for LuaJIT library in /usr/local/ ... found
checking for export symbols by default (-E) ... found
checking for export symbols by default (--export-all-symbols) ... not found
checking for SO_PASSCRED ... found
checking for __attribute__(constructor) ... found
checking for malloc_trim ... found
+ ngx_http_lua_module was configured
checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... not found
checking for PCRE library in /usr/pkg/ ... not found
checking for PCRE library in /opt/local/ ... not found

./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.

make: *** No rule to make target `build', needed by `default'.  Stop.
========================================================
ERROR: nginx-1.12.1 installation failed.
使用道具 举报 回复 支持 反对
发表于 2017-7-26 16:16:34 | 显示全部楼层
按照网上的教程安装pcre-deve
yum -y install pcre-devel
仍然解决不了问题,还是一样的错误
使用道具 举报 回复 支持 反对
发表于 2017-7-26 16:59:41 | 显示全部楼层
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.

make: *** No rule to make target `build', needed by `default'.  Stop.

我就是不知道这个pcre=后面这个路径是什么,坐等
使用道具 举报 回复 支持 反对
12下一页
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表