$ sudo apt install zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev $ echo 'eval "$(rbenv init -)"' > ~/.bashrc $ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' > ~/.bashrc Both steps are accomplished via the rbenv-installer script: $ curl -fsSL | bash Install rbenv as well as ruby-build (a useful rbenv plugin). Step 4: Install Ruby and Rails on the Virtual Machine
Left side of the screen) and select "Lock to Launcher". Open, right-click on terminal's launcher icon ( i.e., along the When prompted, accept the default location ( ~/.ssh/id_rsa)Īnd default passphrase ( i.e., empty for none). In to a remote machine without typing a password: $ ssh-keygen -t rsa -b 4096 $ echo "deb apt/stable/" | sudo tee /etc/apt//sublime-text.listĬreate an SSH private-public key pair to facilitate logging Time), but if you decide to adopt it you should buy aĭepending on which editor(s) you choose, do one (or more)
It can be used for free while evaluating it (for an unlimited On the other hand, has very little learning curve.
To learn how to use either of these editors well. To some remote server and edit files there, even throughĪ terminal ssh session. Knowing one of vim or emacs allows you to log in Open-source, lightweight, and universally available The first two (vim and emacs) are old-school-cool, free, You can use whatever editor you like,īut I recommend choosing one of vim, emacs, or sublime. Several basic editors, including nano, vim,Īnd gedit. Optional (But Recommended) Customizations Install some useful linux tools: $ sudo apt install git curl
While "#" indicates a comment): $ sudo apt update (the "$" is the command prompt, don't type that! Open a terminal and update the distribution by
Privileges which will allow you to do the customizations The account you created in the previous step has administrator Step 3: Customize the Ubuntu Installation Might get better perfomance by allocating more processors.Ĭlick Settings > System > Processor > choose 2 or more.
When first logging into the restarted virtual machine, wait for the software manager to pop up, click on it, allow it to install new packages, then restart again. Restart (When prompted to "please remove installation media", just hit enter).Enter your name ( e.g., Jane Doe), a computer name ( e.g., helium).Machine's hard disk that will be erased!) Select "Erase disk and install Ubuntu" (don't worry, it's the virtual.Select "Normal in both "Download updates" and "Install third-party software".Then selecting the Ubuntu ISO file downloaded in Step 1 as the start-up disk.Īs Ubuntu boots up for the first time, use the following responses: Newly created machine (Machine > Start > Normal Start), Install Ubuntu on the new virtual machine by first starting the.Something of your choosing ( e.g., Ubuntu-20.04-64bit)Īt least 4 GB (recommend about 1/2 of your machine's installed RAM) Install Virtual Box on your home machine.Step 2: Create a Virtual Machine Running Ubuntu To download the 20.04 Desktop (64-bit) torrent. Option 2 (faster): follow "Alternative downloads and torrents".Option 1 (slow): click "Download" and wait.Please contact the instructor for additional information.ĭownload the appropriate Virtual Box platform package binaryįor your host machine's operating system fromĭownload Ubuntu Desktop (64-bit) ISO from Note 2: If you have an M1 Mac, you will need to use UTM instead of While Lubuntu is more responsive (especially on older hardware), The installation and configuration directions Install RubyMine on the virtual machine ( optional)įor solutions to some common problems.Install Ruby and Rails on the virtual machine.Create a virtual machine running Ubuntu.