VPS侦探论坛

 找回密码
 注册
查看: 2286|回复: 1

阿里云 CentOS 8.2 64位

[复制链接]
发表于 2022-4-3 18:38:50 | 显示全部楼层 |阅读模式

CentOS  8.2 64位  阿里云这个系统版本   还是支持lnmp吗    按照了总是失败  求指点    谢谢 错误已经上传日志  


‘openssl-1.1.1g.tar.gz’ saved [9801502/9801502]Uncompress nginx-1.18.0.tar.gz...cd nginx-1.18.0...checking for OS + Linux 4.18.0-193.28.1.el8_2.x86_64 x86_64checking for C compiler ... found + using GNU C compiler + gcc version: 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC) checking for gcc -pipe switch ... foundchecking for -Wl,-E switch ... foundchecking for gcc builtin atomic operations ... foundchecking for C99 variadic macros ... foundchecking for gcc variadic macros ... foundchecking for gcc builtin 64 bit byteswap ... foundchecking for unistd.h ... foundchecking for inttypes.h ... foundchecking for limits.h ... foundchecking for sys/filio.h ... not foundchecking for sys/param.h ... foundchecking for sys/mount.h ... foundchecking for sys/statvfs.h ... foundchecking for crypt.h ... foundchecking for Linux specific featureschecking for epoll ... foundchecking for EPOLLRDHUP ... foundchecking for EPOLLEXCLUSIVE ... foundchecking for O_PATH ... foundchecking for sendfile() ... foundchecking for sendfile64() ... foundchecking for sys/prctl.h ... foundchecking for prctl(PR_SET_DUMPABLE) ... foundchecking for prctl(PR_SET_KEEPCAPS) ... foundchecking for capabilities ... foundchecking for crypt_r() ... foundchecking for sys/vfs.h ... foundchecking for poll() ... foundchecking for /dev/poll ... not foundchecking for kqueue ... not foundchecking for crypt() ... not foundchecking for crypt() in libcrypt ... foundchecking for F_READAHEAD ... not foundchecking for posix_fadvise() ... foundchecking for O_DIRECT ... foundchecking for F_NOCACHE ... not foundchecking for directio() ... not foundchecking for statfs() ... foundchecking for statvfs() ... foundchecking for dlopen() ... not foundchecking for dlopen() in libdl ... foundchecking for sched_yield() ... foundchecking for sched_setaffinity() ... foundchecking for SO_SETFIB ... not foundchecking for SO_REUSEPORT ... foundchecking for SO_ACCEPTFILTER ... not foundchecking for SO_BINDANY ... not foundchecking for IP_TRANSPARENT ... foundchecking for IP_BINDANY ... not foundchecking for IP_BIND_ADDRESS_NO_PORT ... foundchecking for IP_RECVDSTADDR ... not foundchecking for IP_SENDSRCADDR ... not foundchecking for IP_PKTINFO ... foundchecking for IPV6_RECVPKTINFO ... foundchecking for TCP_DEFER_ACCEPT ... foundchecking for TCP_KEEPIDLE ... foundchecking for TCP_FASTOPEN ... foundchecking for TCP_INFO ... foundchecking for accept4() ... foundchecking for eventfd() ... foundchecking for int size ... 4 byteschecking for long size ... 8 byteschecking for long long size ... 8 byteschecking for void * size ... 8 byteschecking for uint32_t ... foundchecking for uint64_t ... foundchecking for sig_atomic_t ... foundchecking for sig_atomic_t size ... 4 byteschecking for socklen_t ... foundchecking for in_addr_t ... foundchecking for in_port_t ... foundchecking for rlim_t ... foundchecking for uintptr_t ... uintptr_t foundchecking for system byte ordering ... little endianchecking for size_t size ... 8 byteschecking for off_t size ... 8 byteschecking for time_t size ... 8 byteschecking for AF_INET6 ... foundchecking for setproctitle() ... not foundchecking for pread() ... foundchecking for pwrite() ... foundchecking for pwritev() ... foundchecking for sys_nerr ... foundchecking for localtime_r() ... foundchecking for clock_gettime(CLOCK_MONOTONIC) ... foundchecking for posix_memalign() ... foundchecking for memalign() ... foundchecking for mmap(MAP_ANON|MAP_SHARED) ... foundchecking for mmap("/dev/zero", MAP_SHARED) ... foundchecking for System V shared memory ... foundchecking for POSIX semaphores ... not foundchecking for POSIX semaphores in libpthread ... foundchecking for struct msghdr.msg_control ... foundchecking for ioctl(FIONBIO) ... foundchecking for ioctl(FIONREAD) ... foundchecking for struct tm.tm_gmtoff ... foundchecking for struct dirent.d_namlen ... not foundchecking for struct dirent.d_type ... foundchecking for sysconf(_SC_NPROCESSORS_ONLN) ... foundchecking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... foundchecking for openat(), fstatat() ... foundchecking for getaddrinfo() ... foundchecking for zlib library ... not found./configure: error: the HTTP gzip module requires the zlib library.You can either disable the module by using --without-http_gzip_moduleoption, or install the zlib library into the system, or build the zlib librarystatically from the source with nginx by using --with-zlib=<path> option.make: *** No rule to make target 'build', needed by 'default'.  Stop.make: *** No rule to make target 'build', needed by 'default'.  Stop.make: *** No rule to make target 'install'.  Stop.cp: cannot create regular file '/usr/local/nginx/conf/nginx.conf': No such file or directorycp: cannot create directory '/usr/local/nginx/conf/': No such file or directorycp: cannot create regular file '/usr/local/nginx/conf/pathinfo.conf': No such file or directorycp: cannot create regular file '/usr/local/nginx/conf/enable-php.conf': No such file or directorycp: cannot create regular file '/usr/local/nginx/conf/enable-php-pathinfo.conf': No such file or directorycp: cannot create directory '/usr/local/nginx/conf/example': No such file or directorychown: changing ownership of '/home/wwwroot/default/.user.ini': Operation not permittedmkdir: cannot create directory ‘/usr/local/nginx/conf/vhost’: No such file or directoryinclude/nginx.sh: line 129: /home/wwwroot/default/.user.ini: Operation not permittedchmod: changing permissions of '/home/wwwroot/default/.user.ini': Operation not permittedinclude/nginx.sh: line 134: /usr/local/nginx/conf/fastcgi.conf: No such file or directory3.9+sed: can't read /usr/local/nginx/conf/nginx.conf: No such file or directoryCreate PHP Info Tool...Copy PHP Prober...Copy Opcache Control Panel...============================Install PHPMyAdmin=============================================================phpMyAdmin install completed=======================CentOS-8 - AppStream                            6.9 kB/s | 2.3 kB     00:00    Errors during downloading metadata for repository 'AppStream':  - Status code: 404 for http://mirrors.cloud.aliyuncs.com/centos/8/AppStream/x86_64/os/repodata/repomd.xml (IP: 100.100.2.148)Error: Failed to download metadata for repo 'AppStream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were triedThe service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.Redirecting to /bin/systemctl reload iptables.serviceFailed to reload iptables.service: Unit iptables.service not found.Add iptables service at system startup...error reading information on service iptables: No such file or directoryerror reading information on service iptables: No such file or directoryAdd Startup and Starting LNMP...Add nginx service at system startup...Synchronizing state of nginx.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.Executing: /usr/lib/systemd/systemd-sysv-install enable nginxJob for nginx.service failed because the control process exited with error code.See "systemctl status nginx.service" and "journalctl -xe" for details.Add mysql service at system startup...Job for mysql.service failed because the control process exited with error code.See "systemctl status mysql.service" and "journalctl -xe" for details.Add php-fpm service at system startup...============================== Check install ==============================Checking ...Error: Nginx install failed.Error: MySQL install failed.Error: PHP install failed.Sorry, Failed to install LNMP!Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.


美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-4-3 19:46:22 | 显示全部楼层


你传的这日志没法看,而且不完整。
这不是lnmp的锅,CentOS 8官网早就EOL,安装要求上有说明
如果使用lnmp 1.9的话是可以安装的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-12-26 12:51 , Processed in 0.025698 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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