VPS侦探论坛

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

安装 redis 时报错

[复制链接]
发表于 2019-1-22 14:24:25 | 显示全部楼层 |阅读模式

发贴之前搜了下,和 https://bbs.vpser.net/viewthread.php?tid=18114&highlight=redis
差不多,但没有看到解决方案





  1. +-----------------------------------------------------------------------+
  2. |            Addons script for LNMP V1.4, Written by Licess             |
  3. +-----------------------------------------------------------------------+
  4. |    A tool to Install cache,optimizer,accelerator...addons for LNMP    |
  5. +-----------------------------------------------------------------------+
  6. |           For more information please visit https://lnmp.org          |
  7. +-----------------------------------------------------------------------+
  8. ====== Installing Redis ======
  9. Install redis-4.0.9 Stable Version...

  10. Press any key to start...or Press Ctrl+c to cancel

  11. redis-4.0.9.tar.gz [found]
  12. Uncompress redis-4.0.9.tar.gz...

  13. gzip: stdin: unexpected end of file
  14. tar: 归档文件中异常的 EOF
  15. tar: 归档文件中异常的 EOF
  16. tar: Error is not recoverable: exiting now
  17. cd redis-4.0.9...
  18. make: *** 没有规则可以创建目标“install”。 停止。
  19. cp: 无法获取"redis.conf" 的文件状态(stat): 没有那个文件或目录
  20. sed:无法读取 /usr/local/redis/etc/redis.conf:没有那个文件或目录
  21. grep: /usr/local/redis/etc/redis.conf: 没有那个文件或目录
  22. sed:无法读取 /usr/local/redis/etc/redis.conf:没有那个文件或目录
  23. sed:无法读取 /usr/local/redis/etc/redis.conf:没有那个文件或目录
  24. iptables: Bad rule (does a matching rule exist in that chain?).
  25. redis-4.0.2.tgz [found]
  26. Uncompress redis-4.0.2.tgz...
  27. cd redis-4.0.2...
  28. Configuring for:
  29. PHP Api Version:         20131106
  30. Zend Module Api No:      20131226
  31. Zend Extension Api No:   220131226
  32. checking for grep that handles long lines and -e... /bin/grep
  33. checking for egrep... /bin/grep -E
  34. checking for a sed that does not truncate output... /bin/sed
  35. checking for cc... cc
  36. checking whether the C compiler works... yes
  37. checking for C compiler default output file name... a.out
  38. checking for suffix of executables...
复制代码


  1. See any operating system documentation about shared libraries for
  2. more information, such as the ld(1) and ld.so(8) manual pages.
  3. ----------------------------------------------------------------------

  4. Build complete.
  5. Don't forget to run 'make test'.

  6. Installing shared extensions:     /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/
  7. Add to auto startup...
  8. Add redis service at system startup...
  9. Restarting php-fpm......
  10. Gracefully shutting down php-fpm . done
  11. Starting php-fpm  done
  12. Starting Redis server.../etc/init.d/redis:行33: /usr/local/redis/bin/redis-server: 没有那个文件或目录
  13. done
  14. Redis install failed!
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-1-22 19:31:04 | 显示全部楼层


redis文件没有下载完整,将安装包src目录下的 redis-4.0.9.tar.gz 删除,然后重新再安装
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-1-23 15:57:33 | 显示全部楼层

回复 2# 的帖子


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

本版积分规则

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

GMT+8, 2024-3-19 14:03 , Processed in 0.026330 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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