Ubuntu VM setup tips for VirtualBox

Steps to remember, in case .vdi corrupts (again). Such a painful process!

Before installing GuestAdditions you should run these, otherwise shared folder and clipboard may not work.

sudo apt update && upgrade -y


sudo usermod -a -G vboxsf henry

These are for installing packages behind corporate proxy.

export http_proxy=
sudo echo 'Acquire::http::Proxy ""' >> /etc/apt/apt.conf
sudo apt install zlib1g-dev ruby-dev git gcc ake 
sudo gem install bundler --http-proxy
bundle install
Last updated