标签:debuginfo start sea systemctl cloud gpg art mirrors osi
# 2. 新建 CentOS-aliyun.repo 文件
cd /etc/yum.repos.d
cp CentOS-Base.repo CentOS-aliyun.repo
# 3. 在CentOS-ucloud.repo文件末尾添加如下代码
vim CentOS-aliyun.repo
[kernel]
name=kernel Repository
baseurl=http://mirrors.aliyun.cn/aliyun/centos/$releasever/$basearch
gpgcheck=0
enabled=1
# 4. 执行以下命令更新yum cache
yum clean all
yum makecache
# 5. 安装earlyoom
yum list | grep earlyoom
yum install earlyoom.x86_64 -y
# 如果需要 debuginfo:
yum install earlyoom-debuginfo.x86_64 -y
systemctl start earlyoom.service
systemctl status earlyoom.service
systemctl enable earlyoom.service
标签:debuginfo start sea systemctl cloud gpg art mirrors osi
原文地址:https://www.cnblogs.com/suyj/p/14814293.html