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

Nginx 安装不上

发表在 Linux面板2018-6-6 12:21 [复制链接] 3 2887

挂在过数据盘
安装过Apache
卸载Apache 安装Nginx 安装不上了
使用道具 举报 只看该作者 回复
发表于 2018-6-6 14:15:29 | 显示全部楼层
进ssh 执行以下命令再安装nginx试试
  1. yum install gd-devel gd -y
复制代码
使用道具 举报 回复 支持 1 反对 0
发表于 2018-6-6 12:24:25 | 显示全部楼层
  1. checking for F_NOCACHE ... not found
  2. checking for directio() ... not found
  3. checking for statfs() ... found
  4. checking for statvfs() ... found
  5. checking for dlopen() ... not found
  6. checking for dlopen() in libdl ... found
  7. checking for sched_yield() ... found
  8. checking for SO_SETFIB ... not found
  9. checking for SO_REUSEPORT ... found
  10. checking for SO_ACCEPTFILTER ... not found
  11. checking for SO_BINDANY ... not found
  12. checking for IP_BIND_ADDRESS_NO_PORT ... not found
  13. checking for IP_TRANSPARENT ... found
  14. checking for IP_BINDANY ... not found
  15. checking for IP_RECVDSTADDR ... not found
  16. checking for IP_PKTINFO ... found
  17. checking for IPV6_RECVPKTINFO ... found
  18. checking for TCP_DEFER_ACCEPT ... found
  19. checking for TCP_KEEPIDLE ... found
  20. checking for TCP_FASTOPEN ... not found
  21. checking for TCP_INFO ... found
  22. checking for accept4() ... found
  23. checking for eventfd() ... found
  24. checking for int size ... 4 bytes
  25. checking for long size ... 8 bytes
  26. checking for long long size ... 8 bytes
  27. checking for void * size ... 8 bytes
  28. checking for uint32_t ... found
  29. checking for uint64_t ... found
  30. checking for sig_atomic_t ... found
  31. checking for sig_atomic_t size ... 4 bytes
  32. checking for socklen_t ... found
  33. checking for in_addr_t ... found
  34. checking for in_port_t ... found
  35. checking for rlim_t ... found
  36. checking for uintptr_t ... uintptr_t found
  37. checking for system byte ordering ... little endian
  38. checking for size_t size ... 8 bytes
  39. checking for off_t size ... 8 bytes
  40. checking for time_t size ... 8 bytes
  41. checking for AF_INET6 ... found
  42. checking for setproctitle() ... not found
  43. checking for pread() ... found
  44. checking for pwrite() ... found
  45. checking for pwritev() ... found
  46. checking for sys_nerr ... found
  47. checking for localtime_r() ... found
  48. checking for posix_memalign() ... found
  49. checking for memalign() ... found
  50. checking for mmap(MAP_ANON|MAP_SHARED) ... found
  51. checking for mmap("/dev/zero", MAP_SHARED) ... found
  52. checking for System V shared memory ... found
  53. checking for POSIX semaphores ... not found
  54. checking for POSIX semaphores in libpthread ... found
  55. checking for struct msghdr.msg_control ... found
  56. checking for ioctl(FIONBIO) ... found
  57. checking for struct tm.tm_gmtoff ... found
  58. checking for struct dirent.d_namlen ... not found
  59. checking for struct dirent.d_type ... found
  60. checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
  61. checking for openat(), fstatat() ... found
  62. checking for getaddrinfo() ... found
  63. configuring additional modules
  64. adding module in /www/server/nginx/src/ngx_devel_kit
  65. + ngx_devel_kit was configured
  66. adding module in /www/server/nginx/src/lua_nginx_module
  67. checking for Lua library ... not found
  68. checking for Lua library in /usr/local/ ... not found
  69. checking for Lua library in /usr/local/ ... not found
  70. checking for Lua library in /usr/pkg/ ... not found
  71. checking for Lua library in /opt/local/ ... not found
  72. checking for Lua library in /usr/local/*/lua51/ ... not found
  73. checking for Lua library in /usr/ ... not found
  74. checking for LuaJIT library in /usr/local/ ... found
  75. checking for export symbols by default (-E) ... found
  76. checking for export symbols by default (--export-all-symbols) ... not found
  77. checking for SO_PASSCRED ... found
  78. checking for __attribute__(constructor) ... found
  79. checking for malloc_trim ... found
  80. + ngx_http_lua_module was configured
  81. adding module in /www/server/nginx/src/ngx_cache_purge
  82. + ngx_http_cache_purge_module was configured
  83. adding module in /www/server/nginx/src/nginx-sticky-module
  84. + ngx_http_sticky_module was configured
  85. adding module in /www/server/nginx/src/nginx-http-concat
  86. + ngx_http_concat_module was configured
  87. checking for PCRE library ... found
  88. checking for PCRE JIT support ... found
  89. checking for zlib library ... found
  90. checking for GD library ... not found
  91. checking for GD library in /usr/local/ ... not found
  92. checking for GD library in /usr/pkg/ ... not found
  93. checking for GD library in /opt/local/ ... not found

  94. ./configure: error: the HTTP image filter module requires the GD library.
  95. You can either do not enable the module or install the libraries.

  96. make: *** No rule to make target `build', needed by `default'.  Stop.
  97. ========================================================
复制代码
日志
使用道具 举报 回复 支持 反对
发表于 2018-6-23 12:31:48 | 显示全部楼层
河妖 发表于 2018-6-6 14:15
进ssh 执行以下命令再安装nginx试试

大佬好厉害
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

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

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表