VirtualBox安装(centos7)
创建/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
- 执行
yum install VirtualBox-6.0
,之后一直选择y
就好