LoginSignup
7
10

More than 5 years have passed since last update.

centos7にvirtualboxをインストールする

Last updated at Posted at 2016-07-25

centos7にvirtualboxをインストールする

windows機にvirtulboxを入れる機会は度々あるが、linuxに入れたのは初めてだったのでメモ。

virtualboxのインストール

キーのインポート

Virtual Boxの配布元であるOracleのパブリックキーをインポートする。

wget http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
rpm --import oracle_vbox.asc

レポジトリを追加する

wget http://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo -O /etc/yum.repos.d/virtualbox.repo

インストール

下記でインストールできる対象を取得

yum list |grep Virtual

インストール

yum install VirtualBox-5.1.x86_64

selinuxの無効化してからカーネルのリビルド

/usr/lib/virtualbox/vboxdrv.sh setup

起動

デスクトップの端末上で以下のコマンドを実行する。

virtualbox
7
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
10