Skip to content

Instantly share code, notes, and snippets.

@paulmaunders
Last active May 8, 2019 03:44
Show Gist options
  • Select an option

  • Save paulmaunders/3e2cbe02c07b6393f7ef0781eed9f97b to your computer and use it in GitHub Desktop.

Select an option

Save paulmaunders/3e2cbe02c07b6393f7ef0781eed9f97b to your computer and use it in GitHub Desktop.

Revisions

  1. Paul Maunders revised this gist May 20, 2016. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -10,6 +10,10 @@ cd /etc/yum.repos.d
    wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
    yum install VirtualBox-5.0

    # Check that you have the kernel sources downloaded for your running kernel version (if they don't match you might need to yum update and reboot)
    ls /usr/src/kernels/
    uname -r

    # Build the VirtualBox kernel module
    export KERN_DIR=/usr/src/kernels/$(uname -r)
    /sbin/rcvboxdrv setup
  2. Paul Maunders revised this gist May 20, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ yum install VirtualBox-5.0

    # Build the VirtualBox kernel module
    export KERN_DIR=/usr/src/kernels/$(uname -r)
    sudo /sbin/rcvboxdrv setup
    /sbin/rcvboxdrv setup

    # Install Vagrant
    yum -y install https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.rpm
  3. Paul Maunders revised this gist May 20, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
    yum install VirtualBox-5.0

    # Build the VirtualBox kernel module
    export KERN_DIR=/usr/src/kernels/3.10.0-327.18.2.el7.x86_64/
    export KERN_DIR=/usr/src/kernels/$(uname -r)
    sudo /sbin/rcvboxdrv setup

    # Install Vagrant
  4. Paul Maunders revised this gist May 20, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@
    # These exact steps haven't been tested, as I ran them in a different order when manually installing.

    # Install dependencies
    yum install gcc make patch dkms qt libgomp
    yum install kernel-headers kernel-devel fontforge binutils glibc-headers glibc-devel
    yum -y install gcc make patch dkms qt libgomp
    yum -y install kernel-headers kernel-devel fontforge binutils glibc-headers glibc-devel

    # Install VirtualBox
    cd /etc/yum.repos.d
  5. Paul Maunders created this gist May 18, 2016.
    24 changes: 24 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    # Some notes from installing VirtualBox on CentOS 7.
    # These exact steps haven't been tested, as I ran them in a different order when manually installing.

    # Install dependencies
    yum install gcc make patch dkms qt libgomp
    yum install kernel-headers kernel-devel fontforge binutils glibc-headers glibc-devel

    # Install VirtualBox
    cd /etc/yum.repos.d
    wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
    yum install VirtualBox-5.0

    # Build the VirtualBox kernel module
    export KERN_DIR=/usr/src/kernels/3.10.0-327.18.2.el7.x86_64/
    sudo /sbin/rcvboxdrv setup

    # Install Vagrant
    yum -y install https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.rpm

    # Test Vagrant
    mkdir ~/test-vagrant
    cd ~/test-vagrant
    vagrant init ubuntu/trusty64
    vagrant up