VPS侦探论坛

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

lnmp1.6在centos7.5安装失败,nginx安装不成功

[复制链接]
发表于 2019-11-11 21:05:20 | 显示全部楼层 |阅读模式

lnmp1.6在centos7.5安装失败,nginx安装不成功

making clean in ssl...
make[3]: Entering directory `/app/lnmp1.4/src/openssl-1.0.2l/ssl'
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
make[3]: Leaving directory `/app/lnmp1.4/src/openssl-1.0.2l/ssl'
making clean in engines...
make[3]: Entering directory `/app/lnmp1.4/src/openssl-1.0.2l/engines'
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
making clean in engines/ccgost...
make[4]: Entering directory `/app/lnmp1.4/src/openssl-1.0.2l/engines/ccgost'
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff *.so *.sl *.dll
make[4]: Leaving directory `/app/lnmp1.4/src/openssl-1.0.2l/engines/ccgost'
make[3]: Leaving directory `/app/lnmp1.4/src/openssl-1.0.2l/engines'
making clean in apps...
make[3]: Entering directory `/app/lnmp1.4/src/openssl-1.0.2l/apps'
rm -f *.o *.obj *.dll lib tags core .pure .nfs* *.old *.bak fluff openssl
rm -f req
make[3]: Leaving directory `/app/lnmp1.4/src/openssl-1.0.2l/apps'
making clean in test...
make[3]: Entering directory `/app/lnmp1.4/src/openssl-1.0.2l/test'
rm -f .rnd tmp.bntest tmp.bctest *.o *.obj *.dll lib tags core .pure .nfs* *.old *.bak fluff bntest ectest  ecdsatest ecdhtest ideatest md2test  md4test md5test hmactest wp_test rc2test rc4test rc5test destest shatest sha1test sha256t sha512t mdc2test rmdtest randtest dhtest enginetest bftest casttest ssltest exptest dsatest rsa_test evp_test evp_extra_test igetest jpaketest srptest asn1test v3nametest heartbeat_test constant_time_test verify_extra_test clienthellotest sslv2conftest dtlstest bad_dtls_test *.ss *.srl log dummytest
make[3]: Leaving directory `/app/lnmp1.4/src/openssl-1.0.2l/test'
making clean in tools...
make[3]: Entering directory `/app/lnmp1.4/src/openssl-1.0.2l/tools'
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
make[3]: Leaving directory `/app/lnmp1.4/src/openssl-1.0.2l/tools'
rm -f libcrypto.a libssl.a
rm -f openssl.pc libssl.pc libcrypto.pc
rm -f speed.* .pure
rm -f ../openssl-1.0.2l.tar
make[2]: Leaving directory `/app/lnmp1.4/src/openssl-1.0.2l'
Operating system: x86_64-whatever-linux2
./config: line 960: /bin/perl: Permission denied
./config: line 960: /usr/bin/perl: Permission denied
You need Perl 5.
make[1]: *** [/app/lnmp1.4/src/openssl-1.0.2l/.openssl/include/openssl/ssl.h] Error 1
make[1]: Leaving directory `/app/lnmp1.4/src/nginx-1.12.2'
make: *** [build] Error 2
cp: cannot create regular file ‘/usr/local/nginx/conf/nginx.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/dabr.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/discuz.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/sablog.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/typecho.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/typecho2.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/wordpress.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/discuzx.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/none.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/wp2.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/phpwind.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/shopex.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/dedecms.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/drupal.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/ecshop.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/codeigniter.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/laravel.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/thinkphp.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/pathinfo.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/enable-php.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/enable-php-pathinfo.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/enable-ssl-example.conf’: No such file or directory
mkdir: cannot create directory ‘/usr/local/nginx/conf/vhost’: No such file or directory
include/nginx.sh: line 82: /usr/local/nginx/conf/fastcgi.conf: No such file or directory
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
iptables: Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx... /etc/init.d/nginx: line 41: /usr/local/nginx/sbin/nginx: No such file or directory
failed
Add mysql service at system startup...
Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/i-tk1yqow7.pid).
Add php-fpm service at system startup...
Starting php-fpm  done
============================== Check install ==============================
Checking ...
Error: Nginx install failed.
MySQL: OK
PHP: OK
PHP-FPM: OK
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
发表于 2019-11-12 10:08:03 | 显示全部楼层


./config: line 960: /bin/perl: Permission denied
./config: line 960: /usr/bin/perl: Permission denied

perl权限被修改了执行:
chmod +x /usr/bin/perl
后重新安装,或 ./install.sh nginx
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-20 17:24 , Processed in 0.025301 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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