Linux安装Redis 6.0.5 ./install_server.sh报错

Posted Hawk

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux安装Redis 6.0.5 ./install_server.sh报错相关的知识,希望对你有一定的参考价值。

Linux安装Redis 6.0.5 ./install_server.sh报错

linux 安装Redis6.0.5时
进行到./install_server.sh时报错,

This systems seems to use systemd.
Please take a look at the provided example service unit files in this directory, and adapt and install them. Sorry!

解决方案:

vi ./install_server.sh

注释下面的代码即可

#bail if this system is managed by systemd
#_pid_1_exe="$(readlink -f /proc/1/exe)"
#if [ "${_pid_1_exe##*/}" = systemd ]
#then
#       echo "This systems seems to use systemd."
#       echo "Please take a look at the provided example service unit files in this directory, and adapt and install them. Sorry!"
#       exit 1
#fi

然后重新运行 ./install_server.sh即可。


以上是关于Linux安装Redis 6.0.5 ./install_server.sh报错的主要内容,如果未能解决你的问题,请参考以下文章

linux redis安装及安装遇到的问题及解决方案-记录

centos7 安装 redis

Mac安装Redis

Redis学习总结

centos8安装redis6.0.5

redis的编译安装