0
点赞
收藏
分享

微信扫一扫

Debian系统更新源及安装inxi

悲催博士僧 2023-08-21 阅读 43

Debian自带的源很多安装包打不上,非常麻烦,对于需要批量查看服务器状态的我来说很痛苦,下面是精简的debian系统更新阿里云源及安装inxi查看内存条故障位置的方法。


  1. 编辑/etc/apt/sources.list,复制下面阿里源贴进去,wq保存退出。

deb https://mirrors.aliyun.com/debian-archive/debian stretch main contrib non-free
#deb https://mirrors.aliyun.com/debian-archive/debian stretch-proposed-updates main non-free contrib
deb https://mirrors.aliyun.com/debian-archive/debian stretch-backports main non-free contrib
deb https://mirrors.aliyun.com/debian-archive/debian-security stretch/updates main contrib non-free
deb-src https://mirrors.aliyun.com/debian-archive/debian stretch main contrib non-free
#deb-src https://mirrors.aliyun.com/debian-archive/debian stretch-proposed-updates main contrib non-free
deb-src https://mirrors.aliyun.com/debian-archive/debian stretch-backports main contrib non-free
deb-src https://mirrors.aliyun.com/debian-archive/debian-security stretch/updates main contrib non-free

  1. 更新阿里云源

sudo apt-get update


  1. 安装inxi

apt install inxi -y


  1. 输入inxi就可以看到内存条状态了,可以精准定位到故障内存条物理位置。


  1. 如图所示,我就知道哪个槽位的内存条有故障需要替换了。

Debian系统更新源及安装inxi_故障

举报

相关推荐

0 条评论