linux下常见错误记录

Posted 爱你的猪哥哥

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux下常见错误记录相关的知识,希望对你有一定的参考价值。

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下常见错误记录的主要内容,如果未能解决你的问题,请参考以下文章

错误记录Flutter 混合开发获取 BinaryMessenger 报错 ( FlutterActivityAndFragmentDelegate.getFlutterEngine() )(代码片段

linux学习:Nginx--常见功能配置片段与优化-06

错误记录Android Studio 编译报错 ( Could not determine java version from ‘11.0.8‘. | Android Studio 降级 )(代码片段

错误记录Android Studio 编译报错 ( Could not determine java version from ‘11.0.8‘. | Android Studio 降级 )(代码片段

linux打开终端如何启动scala,如何在终端下运行Scala代码片段?

Linux中常见日志文件的介绍