hello,
i have new clean server with Ubuntu 18.04 Minimal. i have try install nginx 1.17 but failed cuz related to mod_pagespeed. i dont need that module to nginx but it set as default then can't install nginx. there is log error when install nginx as below

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 sched_setaffinity() ... 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_TRANSPARENT ... found
checking for IP_BINDANY ... not found
checking for IP_BIND_ADDRESS_NO_PORT ... found
checking for IP_RECVDSTADDR ... not found
checking for IP_SENDSRCADDR ... 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 ... 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 clock_gettime(CLOCK_MONOTONIC) ... 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 sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... 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
adding module in /www/server/nginx/src/ngx_cache_purge
 + ngx_http_cache_purge_module was configured
adding module in /www/server/nginx/src/nginx-sticky-module
 + ngx_http_sticky_module was configured
adding module in /www/server/nginx/src/ngx-pagespeed
mod_pagespeed_dir=/www/server/nginx/src/ngx-pagespeed/psol/include
build_from_source=false
checking for psol ... not found
./configure: error: module ngx_pagespeed requires the pagespeed optimization library.
Look in /www/server/nginx/src/objs/autoconf.err for more details.
make: *** No rule to make target 'build', needed by 'default'.  Stop.
make: *** No rule to make target 'install'.  Stop.
========================================================
[31mERROR: nginx-1.17.1 installation failed.[0m
[31m安装失败,请截图以上报错信息发帖至论坛www.bt.cn/bbs求助[0m

    jazz1611
    hello,
    After testing nginx1.16 installed in ubuntu1.8 will not report an error, please use version 1.16 first, and then notify us after we fix it.

      hello,
      i try update via "App Store" from Nginx 1.17.0 to 1.17.1 but failed. there is error log.

      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 sched_setaffinity() ... 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_TRANSPARENT ... found
      checking for IP_BINDANY ... not found
      checking for IP_BIND_ADDRESS_NO_PORT ... found
      checking for IP_RECVDSTADDR ... not found
      checking for IP_SENDSRCADDR ... 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 ... 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 clock_gettime(CLOCK_MONOTONIC) ... 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 sysconf(
      SC_LEVEL1_DCACHE_LINESIZE) ... 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
        adding module in /www/server/nginx/src/ngx_cache_purge
      • ngx_http_cache_purge_module was configured
        adding module in /www/server/nginx/src/nginx-sticky-module
      • ngx_http_sticky_module was configured
        adding module in /www/server/nginx/src/ngx-pagespeed
        mod_pagespeed_dir=/www/server/nginx/src/ngx-pagespeed/psol/include
        build_from_source=false
        checking for psol ... not found
        ./configure: error: module ngx_pagespeed requires the pagespeed optimization library.
        Look in /www/server/nginx/src/objs/autoconf.err for more details.
        make: *** No rule to make target 'build', needed by 'default'. Stop.

        jazz1611
        I tested without error..
        run this command install uuid-dev and try update again please
        apt-get install uuid-dev -y

        a month later

        hello,
        i try upgrade nginx 1.17.0 to 1.17.2 but failed, there is error log:

        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
        adding module in /www/server/nginx/src/ngx_cache_purge
         + ngx_http_cache_purge_module was configured
        adding module in /www/server/nginx/src/nginx-sticky-module
         + ngx_http_sticky_module was configured
        adding module in /www/server/nginx/src/ngx-pagespeed
        mod_pagespeed_dir=/www/server/nginx/src/ngx-pagespeed/psol/include
        build_from_source=false
        checking for psol ... not found
        ./configure: error: module ngx_pagespeed requires the pagespeed optimization library.
        Look in /www/server/nginx/src/objs/autoconf.err for more details.
        make: *** No rule to make target 'build', needed by 'default'.  Stop.
          a year later
          • [deleted]

          onfiguring additional modules
          adding module in /www/server/nginx/src/ngx_pagespeed
          mod_pagespeed_dir=/www/server/nginx/src/ngx_pagespeed/psol/include
          build_from_source=false
          checking for psol ... not found
          ./configure: error: module ngx_pagespeed requires the pagespeed optimization library.
          Look in objs/autoconf.err for more details.
          make: *** No rule to make target 'build', needed by 'default'.  Stop.
          make: *** No rule to make target 'install'.  Stop.
          swapoff: /swapfile: swapoff failed: No such file or directory
          rm: cannot remove '/swapfile': No such file or directory
          [Info] delete temporarily increased swap space!
          Stoping nginx... nginx: [warn] server name "apa.uhlhosting.ch/phpmyadmin" has suspicious symbols in /www/server/nginx/conf/nginx.conf:63
           done
          ^[[AStarting nginx... nginx: [warn] server name "apa.uhlhosting.ch/phpmyadmin" has suspicious symbols in /www/server/nginx/conf/nginx.conf:63
           done
          [Info] Nginx has been restarted!
          [Info] The ngx_pagespeed module is installed!
          [root@apa centos]# ls /www/server/nginx/src/ngx_pagespeed/psol/include
          net  out  pagespeed  testing  third_party  tools
          [root@apa centos]# 
            • [deleted]

            aaPanel_Jose im on centos 8, i managed to found a way to deploy all i need wuite simple. Just need to pay attention to a few details.

            2 years later
            4 months later

            randyriolis
            Hi
            Use the ssh tool or terminal to log in as the root user to execute commands to install dependencies, and then reinstall nginx
            apt-get update
            apt-get install libxml2 libxml2-dev libxslt-dev

            Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com