CentOS安装VirtuanBox

CentOS7安装virtualbox
1.进入virtualbox官网

https://www.virtualbox.org/

2.点击download

CentOS安装VirtuanBox

3.点击Linux distributions

CentOS安装VirtuanBox

4.向下翻至如图,并且进入同种框选页面

CentOS安装VirtuanBox

5.在/etc/yum.repos.d/目录下新建virtualbox.repo并写入如下内容

[virtualbox]
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc

6.更新yum缓存

yum clean all

yum makecache

7.安装virtualbox

yum install VirtualBox-5.1
上一篇:centos6软件源报错 yum 报错 解决方法 (含epel)


下一篇:【linux】安装zabbix时候报错:Error downloading packages: zabbix-server-mysql-5.0.2-1.el7.x86_64