Centos6.5DRBD加载失败,系统更换yum源(国内163)
2017-09-04 17:40
344 查看
我安装的系统是centos6.5的,要在系统上安装DRBD镜像软件,安装完后,无法加载modprobe drbd.
需要更新kernel。
1,首先,先把yum源更换成国内的,不然无法更新kernel
a,
先备份/etc/yum.repos.d/CentOS-Base.repo (改名)
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
b,
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS6-Base-163.repo
c,
yum clean all
yum makecache
2,接着再更新kernel
sudo yum install kernel-devel
sduo yum install kernel
sudo yum install kernel-headers
更新完kernel,要重启系统.
3,sudo depmod
4,sudo modprobe drbd
5,查看lsmod,drbd是否在线.
需要更新kernel。
1,首先,先把yum源更换成国内的,不然无法更新kernel
a,
先备份/etc/yum.repos.d/CentOS-Base.repo (改名)
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
b,
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS6-Base-163.repo
c,
yum clean all
yum makecache
2,接着再更新kernel
sudo yum install kernel-devel
sduo yum install kernel
sudo yum install kernel-headers
更新完kernel,要重启系统.
3,sudo depmod
4,sudo modprobe drbd
5,查看lsmod,drbd是否在线.
相关文章推荐
- Centos更换yum源,使用国内163源
- 超简单将Centos的yum源更换为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源
- Centos的yum源更换为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源
- 超简单将Centos的yum源更换为国内的阿里云源
- Linux Redhat 和 CentOS配置国内163的yum源
- Centos系统更改 yum源为163
- centos 7 yum源文件配置详解及163 yum源更换
- 将Centos的yum源更换为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源
- 超简单将Centos的yum源更换为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源
- Centos系统更改yum源为163
- 将Centos的yum源更换为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源
- 超简单将Centos的yum源更换为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源