VPS侦探论坛

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

redis安装错误

[复制链接]
发表于 2019-4-6 15:45:18 | 显示全部楼层 |阅读模式

lnmp 1.5  执行./addons.sh install redis后。并没有提示选择版本。直接点任意键安装。


Uncompress redis-4.0.2.tgz...
tar (child): redis-4.0.2.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cd redis-4.0.2...
include/main.sh: line 425: cd: redis-4.0.2: No such file or directory
Cannot find config.m4.
Make sure that you run '/usr/local/php/bin/phpize' in the top level source direc                                                                                                                                                             tory of the module

include/redis.sh: line 62: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
Add to auto startup...
Add redis service at system startup...
Restarting php-fpm......
Gracefully shutting down php-fpm . done
Starting php-fpm [06-Apr-2019 15:40:23] NOTICE: PHP message: PHP Warning:  PHP S                                                                                                                                                             tartup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-deb                                                                                                                                                             ug-non-zts-20131226/redis.so' - /usr/local/php/lib/php/extensions/no-debug-non-z                                                                                                                                                             ts-20131226/redis.so: cannot open shared object file: No such file or directory                                                                                                                                                              in Unknown on line 0
done
Starting Redis server.../etc/init.d/redis: line 33: /usr/local/redis/bin/redis-s                                                                                                                                                             erver: No such file or directory
done
Redis install failed!


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


重启了下LNMP  又执行了下。又装上了。呵呵。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2019-4-7 08:41:05 | 显示全部楼层

按前面提示是源码包没下载下来
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-22 23:22 , Processed in 0.025508 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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