vagrant安装

0) vagrant下载地址:
wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.7.4_x86_64.rpm


1) 安装vagrant
sudo rpm -ivh vagrant_1.7.4_x86_64.rpm


2) 安装kernel
sudo yum install gcc kernel-devel kernel-headers


3) 确保kernel小版本一致,如果不一致需要更新一致并重启机器
sudo rpm -qa | grep kernel
sudo yum upgrade kernel
reboot


4) 安装VirtualBox
sudo rpm --import http://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo
export KERN_DIR=`uname -r`
sudo yum install VirtualBox-5.0


5) 安装VirtualBox extpacks
wget http://download.virtualbox.org/virtualbox/5.0.8/Oracle_VM_VirtualBox_Extension_Pack-5.0.8-103449.vbox-extpack
sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.0.8-103449.vbox-extpack
VBoxManage list extpacks

你可能感兴趣的:(linux)