Created
January 3, 2013 11:18
-
-
Save simkimsia/4442745 to your computer and use it in GitHub Desktop.
convenient bash script to install guest-additions for virtualbox vm. Run script in ubuntu guest OS. Not host.
This file contains 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
#!/bin/bash | |
### | |
# | |
# Copyright (c) 2013 KimSia | |
# | |
# Ubuntu 12.10 based web server VirtualBox Guest Additions installation script on Guest Ubuntu | |
# Run this by executing the following from a fresh install of Ubuntu 12.10 server: | |
# | |
# bash -c "$(curl -fsSL https://raw.github.com/gist/4442745)" | |
# | |
# Also, run this as root, unless you enjoy failing. | |
# | |
export DEBIAN_FRONTEND=noninteractive | |
######################################## | |
## System Updates | |
######################################## | |
apt-get update | |
apt-get install dkms | |
apt-get install virtualbox-guest-additions | |
apt-get install build-essential linux-headers-$(uname -r) | |
apt-get install virtualbox-ose-guest-x11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment