вторник, 1 декабря 2015 г.

Vagrant. Install on CentOS 7.1

Here is a small tutorial on how to install Vagrant on CentOS 7.1:
  1. Download Vagrant: 
    wget -q https://dl.bintray.com/mitchellh/vagrant/vagrant_1.7.4_x86_64.rpm
     
  2. Setup Vagrant: 
    yum localinstall vagrant_1.7.4_x86_64.rpm
     
  3. Check Vagrant version: 
    [root@localhost ~]# vagrant --version
    Vagrant 1.7.4
     
  4. Download VirtaulBox:


  5. Setup VirtualBox:
    sh VirtualBox-5.0.6-103037-Linux_amd64.run
     
  6. Setup dependencies: 
    yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-PAE-devel dkms kernel-devel
     
  7. Setup kernel module: 
    KERN_DIR=/usr/src/kernels/3.10.0-229.14.1.el7.x86_64
    export KERN_DIR
    /sbin/rcvboxdrv setup
    Stopping VirtualBox kernel modules [ OK ]
    Recompiling VirtualBox kernel modules [ OK ]
    Starting VirtualBox kernel modules [ OK ]
That is all.Now you have a working Vagrant environment.

Комментариев нет:

Отправить комментарий