Setting up a Virtual Machine¶
The following steps are just one way to set up an Linux virtual machine for CS Field Guide development, and are intended for those new to setting up virtual machines.
Download and install Oracle VirtualBox.
Download installation of preferred Linux operating system. A common choice is Ubuntu 18.04.2 LTS.
Open VirtualBox and click
Enter a name for your virtual machine, for example “CS Field Guide”. Also select the type and version of your operating system. If you downloaded the Ubuntu linked above, the type is “Linux”, and version is “Ubuntu (64-bit)”. Click “Next/Continue”.
Choose the memory you wish to allocate (2048 MB to 4096 MB is recommended). Click “Next/Continue”.
Select “Create a virtual hard disk now”. Click “Create”.
Keep the default selection of “VDI (VirtualBox Disk Image)”. Click “Next/Continue”.
Keep the default selection of “Dynamically allocated”. Click “Next/Continue”.
Change the name and location of the hard drive for the virtual machine if required (default is usually fine).
Select the maximum size that the hard drive can grow to (be aware of how much space you have available on your machine). We recommend 20 GB, as this is enough space to store the Ubuntu operating system and the CS Field Guide project. Click “Create”.
Select your virtual machine by clicking on it, and click “Settings” above. Within these settings you can also setup a shared clipboard between the host and virtual machines, plus increase the number of processors the virtual machine can use. There are plenty of guides available online for how to enable them.
Click the “Storage” category. Under “Controller: IDE” click “Empty”. On the right of Optical Drive dropdown menu, click the CD disk icon. Select “Choose Virtual Optical Disk File” and select the operating system installation file that you downloaded earlier (it’s probably in your “Downloads” folder). Close the Settings window.
Select the virtual machine by clicking on it and click the green “Start” button above. The operating system installation screen should appear upon starting.
Install the operating system using the default settings.
Once the operating system has completed installation, you are ready to use it for developing the CS Field Guide project. You’re now ready for Step 2: Install Git in the installation guide.