Skip to content

Instantly share code, notes, and snippets.

@kymair
Created August 22, 2014 13:30
Show Gist options
  • Save kymair/f46062f40416eb6170b7 to your computer and use it in GitHub Desktop.
Save kymair/f46062f40416eb6170b7 to your computer and use it in GitHub Desktop.
Ubuntu in VirtualBox
# Configure APT
sudo sed -i '%s/cn.archive.ubuntu.com/mirror.bit.edu.cn/g' /etc/apt/sources.list
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
# Install VirtualBox addons
sudo mount -t auto /dev/cdrom /media/cdrom
cd /media/cdrom
sudo ./VBoxLinuxAdditions.run
# Add C:\ as shared folder, and then add user to vboxsf group
usermod -a -G vboxsf kymair
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment