首页 > 系统服务 > 详细

linux下常见错误记录

时间:2021-06-02 21:23:00      阅读:15      评论:0      收藏:0      [点我收藏+]

1.linux 安装 Redis 进到 utils 目录下执行 ./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!

解决方案:

  a) vi ./install_server.sh

  b) 注释如下代码

#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

  c) 再次执行./install_server.sh

2. CentOS7:ifconfig command not found解决

解决方案:

  yum install net-tools -y

linux下常见错误记录

原文:https://www.cnblogs.com/zhuozhang/p/14842703.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!