centos重新安装yum
生活随笔
收集整理的這篇文章主要介紹了
centos重新安装yum
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1.備份
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
2.下載新的CentOS-Base.repo 到/etc/yum.repos.d/
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
3.
yum makecache
GDB的安裝
yum list //顯示服務器所有可以安裝的軟件
yum list | grep gdb //顯示和gdb有關的
yum list | grep mysql
總結
以上是生活随笔為你收集整理的centos重新安装yum的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 点击button后开启分线程网络请求
- 下一篇: vim 的配置文件 #vim ~/.vi