VPS侦探论坛

 找回密码
 注册
查看: 3878|回复: 2

LNMP安装失败

[复制链接]
发表于 2018-11-22 10:37:03 | 显示全部楼层 |阅读模式

连续1.0和1.4版安装失败,笔记本电脑,64位,有劳,谢谢。configure: error: xml2-config not found. Please check your libxml2 installation.
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有规则可以创建目标“install”。 停止。
Copy new php configure file...
Modify php.ini...
include/php.sh: line 23: pear: command not found
include/php.sh: line 24: pecl: command not found
include/php.sh: line 29: php: command not found
curl: (23) Failed writing body (0 != 16133)
Install ZendGuardLoader for PHP 5.5...
Notice:  not found!!!download now...
--2018-11-21 22:21:49--  https://soft.vpser.net/web/zend/zend-loader-php5.5-linux-i386.tar.gz
正在解析主机 soft.vpser.net... 183.131.200.90, 183.131.200.105, 183.131.200.92, ...
正在连接 soft.vpser.net|183.131.200.90|:443... 已连接。
警告: 证书通用名 “*.b0.upaiyun.com” 与所要求的主机名 “soft.vpser.net” 不符。
已发出 HTTP 请求,正在等待回应... 416 Requested Range Not Satisfiable

    文件已下载完成;不会进行任何操作。

Write ZendGuardLoader to php.ini...
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: 无法获取"/root/lnmp1.4-full/src/php-5.5.38/sapi/fpm/init.d.php-fpm" 的文件状态(stat): 没有那个文件或目录
chmod: 无法访问"/etc/init.d/php-fpm": 没有那个文件或目录
[+] Installing nginx-1.12.2...
groupadd: group 'www' already exists
useradd: user 'www' already exists
openssl-1.0.2l.tar.gz [found]
Uncompress nginx-1.12.2.tar.gz...
cd nginx-1.12.2...
checking for OS
+ Linux 2.6.32-279.el6.i686 i686
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
checking for gcc -pipe switch ... 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 ... not 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 ... 4 bytes
checking for long long size ... 8 bytes
checking for void * size ... 4 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 ... 4 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 4 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
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: *** 没有规则可以创建“default”需要的目标“build”。 停止。
cp: 无法创建普通文件"/usr/local/nginx/conf/nginx.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/dabr.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/discuz.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/sablog.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/typecho.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/typecho2.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/wordpress.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/discuzx.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/none.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/wp2.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/phpwind.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/shopex.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/dedecms.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/drupal.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/ecshop.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/codeigniter.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/laravel.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/thinkphp.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/pathinfo.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/enable-php.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/enable-php-pathinfo.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/enable-ssl-example.conf": 没有那个文件或目录
mkdir: 无法创建目录"/usr/local/nginx/conf/vhost": 没有那个文件或目录
include/nginx.sh: line 82: /usr/local/nginx/conf/fastcgi.conf: 没有那个文件或目录
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
iptables:将防火墙规则保存到 /etc/sysconfig/iptables:     [确定]
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx... /etc/init.d/nginx: line 41: /usr/local/nginx/sbin/nginx: 没有那个文件或目录
failed
Add mysql service at system startup...
在 mysql 服务中读取信息时出错:没有那个文件或目录
在 mysql 服务中读取信息时出错:没有那个文件或目录
include/end.sh: line 49: /etc/init.d/mysql: 没有那个文件或目录
Add php-fpm service at system startup...
在 php-fpm 服务中读取信息时出错:没有那个文件或目录
在 php-fpm 服务中读取信息时出错:没有那个文件或目录
include/end.sh: line 54: /etc/init.d/php-fpm: 没有那个文件或目录
============================== 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.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

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


安装要求上有说明必须设置网络源
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2018-11-24 12:03:31 | 显示全部楼层

好的,先试试,谢谢
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-23 11:20 , Processed in 0.035952 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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