Last active
December 31, 2015 06:49
-
-
Save glombard/7949868 to your computer and use it in GitHub Desktop.
Installing VirtualBox on Ubuntu Server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get update | |
| sudo apt-get -y install virtualbox-ose | |
| sudo apt-get -y install php5 | |
| sudo apt-get -y install unzip | |
| curl -L -of.zip http://sourceforge.net/projects/phpvirtualbox/files/phpvirtualbox-4.2-8.zip/download | |
| sudo unzip -o f.zip -d /var/www/ | |
| sudo cp /var/www/config.php-example /var/www/config.php | |
| sudo chown -R user:user /var/www/ | |
| # See: https://www.virtualbox.org/wiki/Downloads | |
| curl -L -O http://download.virtualbox.org/virtualbox/4.1.28/Oracle_VM_VirtualBox_Extension_Pack-4.1.28-89849.vbox-extpack | |
| sudo vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.28-89849.vbox-extpack | |
| vboxwebsrv -b | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo sh -c 'echo "deb http://us.archive.ubuntu.com/ubuntu $(lsb_release -sc) multiverse" >> /etc/apt/sources.list' | |
| sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list' | |
| wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - | |
| sudo apt-get update | |
| sudo apt-get -y install unrar | |
| sudo apt-get -y install virtualbox-4.3 | |
| curl -L -O http://download.virtualbox.org/virtualbox/4.3.4/Oracle_VM_VirtualBox_Extension_Pack-4.3.4-91027.vbox-extpack | |
| sudo vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.4-91027.vbox-extpack | |
| curl -O https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/Linux/IE6_XP/IE6.WinXP.For.LinuxVirtualBox.sfx | |
| unrar x IE6.WinXP.For.LinuxVirtualBox.sfx | |
| sudo vboxmanage import "IE6 - WinXP.ova" | |
| sudo vboxmanage list vms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment