Experiment: Orbstack virtual machine
This short blog post will be used to document my tinkering with orbstack’s virtual machine technology.
Creating Virtual Machine
I start off by creating a VM. I will be using ubuntu for this experiement
orb create ubuntu
orb
Install software
For this experiment I will be setting up a ruby developer environment. I will leverage apt to install software into the virtual machine. I will be following https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-20-04 on how to install ruby on ubuntu with rbenv
sudo apt update
sudo apt install git curl libssl-dev libreadline-dev zlib1g-dev autoconf bison build-essential libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
source ~/.bashrc
rbenv install 3.2.2