Error: Failed to download metadata for repo ‘AppStream‘ centos8

发布于:2022-6-22 18:45 作者:kevin.Zhu 浏览:28 分类:文摘

https://blog.csdn.net/manong__/article/details/122842090


问题分析

阿里云解释:centos8官方源已下线,建议切换centos-vault源

解决方法

1.删除AppStream源

rm -f /etc/yum.repos.d/CentOS-AppStream.repo

2.取消并备份旧yum源(可直接...

阅读全文>>

0

apt-get更新非交互式

发布于:2022-6-20 14:15 作者:kevin.Zhu 浏览:21 分类:文摘

https://www.it1352.com/1939710.html



问题描述

我正在尝试进行完全非交互式的更新.(在ubuntu 14.04.3 LTS上) 我认为使用这种命令会很容易:

exportDEBIAN_FRONTEND=noninteractive
apt-get update && apt-get upgrade -q -y --for...

阅读全文>>

0

Linux内存管理 oom_killer

发布于:2022-6-17 9:35 作者:kevin.Zhu 浏览:16 分类:文摘
OOM_killer是Linux自我保护的方式,当内存不足时不至于出现太严重问题,有点壮士断腕的意味
在kernel 2.6,内存不足将唤醒oom_killer,挑出/proc/<pid>/oom_score最大者并将之kill掉
 
为了保护重要进程不被oom-killer掉,我们可以:echo -17 > /proc/<pid&g...

阅读全文>>

0

mongodb数据库中建表的方法

发布于:2022-6-9 11:12 作者:kevin.Zhu 浏览:16 分类:文摘
https://www.yisu.com/zixun/223669.html

阅读全文>>

0

Linux 执行top命令各个参数VIRT,RES,SHR,DATA含义理解

发布于:2022-6-8 13:40 作者:kevin.Zhu 浏览:19 分类:文摘
https://www.csdn.net/tags/NtjaYg5sOTk0NDgtYmxvZwO0O0OO0O0O.html

阅读全文>>

0

VMware vSphere Client 下载

发布于:2022-6-7 17:13 作者:kevin.Zhu 浏览:19 分类:文摘
http://t.zoukankan.com/shabake-p-15096903.html

阅读全文>>

0

"Address already in use" with autossh

发布于:2022-6-6 18:55 作者:kevin.Zhu 浏览:18 分类:文摘

https://makandracards.com/makandra/1585-address-already-in-use-with-autossh


If you get an error "Adress already in use" with autossh check with lsof or netstat if somethi...

阅读全文>>

0

kvm虚拟机 分辨率调整

发布于:2022-6-3 8:35 作者:kevin.Zhu 浏览:20 分类:文摘

http://xiongchao902.com/blog/study/kvm.html

https://blog.csdn.net/jiangliqing1234/article/details/119217235

<video>
  <model type='qxl' ram='65536' vram='65536' vgamem='65536...

阅读全文>>

0

Mysql在线改表工具-PTOSC详解

发布于:2022-6-2 14:02 作者:kevin.Zhu 浏览:22 分类:文摘

https://www.imooc.com/article/288672



pt-online-schema-change是Percona-toolkit一员, 支持在不锁表的情况下,在线改表。

阅读全文>>

0

Ansible中文权威指南

发布于:2022-6-1 11:13 作者:kevin.Zhu 浏览:26 分类:文摘
http://www.ansible.com.cn/

阅读全文>>

0