码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2020-06-26 12:35:09      阅读:904      评论:0      收藏:0      [点我收藏+]

标签:eem   rect   rsh   运行   serve   director   service   ada   lang   

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报错

标签:eem   rect   rsh   运行   serve   director   service   ada   lang   

原文地址:https://www.cnblogs.com/strive-for-life/p/13194306.html

(0)
(2)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!