vagrant
yum -y update
cd /etc/yum.repos.d
wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
vim
fedora -> rhel
rpm -Uvh http://epel.mirror.net.in/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
yum install gcc make patch dkms qt libgomp
# yum install kernel-headers kernel-devel fontforge binutils glibc-headers glibc-devel
버츄어박스 이용하기 위해 커널 디렉토리를 따로 설정해준다
export KERN_DIR=/usr/src/kernels/3.10.0-327.36.1.el7.x86_64
/usr/src/kernels/3.10.0-327.36.1.el7.x86_64/
yum install VirtualBox-5.0
service vboxdrv start
wget https://releases.hashicorp.com/vagrant/1.8.6/vagrant_1.8.6_x86_64.rpm
vagrant box add centos/7
vagrant box list
vagrant init centos/7
vagrant up --provider=centos/7
o install the headers and kernel for the correct version. After this you may have to reinstall virtualbox and/or use
modprobe vboxdrv
vagrant status
VBoxManage list vms
VBoxManage list runningvms
VBoxHeadless -s vm_default_1475251902495_79311
The machine 'vm_default_1475251902495_79311' is already locked for a session