1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-06 03:54:48 +02:00

update phpvirtualbox

This commit is contained in:
kev 2016-06-14 15:50:04 +08:00
parent 727736bb90
commit 539afe4df3
2 changed files with 4 additions and 25 deletions

View File

@ -1,22 +0,0 @@
```
# install virtualbox
echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib non-free" > /etc/apt/sources.list.d/virtualbox.list
wget -O- http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc | apt-key add -
apt-get update
apt-get install virtualbox-5.0
systemctl status vboxdrv
# install extpack
wget http://download.virtualbox.org/virtualbox/5.0.20/Oracle_VM_VirtualBox_Extension_Pack-5.0.20-106931.vbox-extpack
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.0.20-106931.vbox-extpack
VBoxManage list extpacks
# install vagrant
wget https://releases.hashicorp.com/vagrant/1.8.4/vagrant_1.8.4_x86_64.deb
dpkg -i vagrant_1.8.4_x86_64.deb
vagrant version
# start vm
vagrant init debian/jessie64
vagrant up
```

View File

@ -44,7 +44,7 @@ WantedBy=multi-user.target
```bash
# install virtualbox
echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib non-free" > /etc/apt/sources.list.d/virtualbox.list
curl http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc | apt-key add
wget -O- http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc | apt-key add -
apt-get update
apt-get install virtualbox-5.0
systemctl status vboxdrv
@ -55,11 +55,12 @@ VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.0.20-106931.vbo
VBoxManage list extpacks
# install vagrant
wget https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.deb
dpkg -i vagrant_1.8.1_x86_64.deb
wget https://releases.hashicorp.com/vagrant/1.8.4/vagrant_1.8.4_x86_64.deb
dpkg -i vagrant_1.8.4_x86_64.deb
vagrant version
# start vm
vagrant box add debian/jessie64
vagrant init debian/jessie64
vagrant up