LNMP1.5下redis安装错误
PHP7.0,LNMP1.5,centos7.2Build complete.
Don't forget to run 'make test'.
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/
cp: cannot create regular file ‘/etc/init.d/redis’: Permission denied
chmod: cannot access ‘/etc/init.d/redis’: No such file or directory
Add to auto startup...
Add redis service at system startup...
error reading information on service redis: No such file or directory
error reading information on service redis: No such file or directory
Restarting php-fpm......
Gracefully shutting down php-fpm . done
Starting php-fpmdone
include/redis.sh: line 75: /etc/init.d/redis: No such file or directory
====== Redis install completed ======
Redis installed successfully, enjoy it!请问如何解决 请看附件 redis的服务管理脚本没有拷贝过去,/etc/init.d/可能目录有问题 那请问怎么样解决呢?
回复 4# 的帖子
可以自己拷贝安装包 init.d目录下对redis.init.d 到 /etc/init.d/目录下并重命名为redis然后chmod +x /etc/init.d/redis
/etc/init.d/redis start
页:
[1]