This document will explain, in the simplest step-by-step possible, how to take a computer from "unwanted box in the corner with no operating system" to working Islandora sandbox.
Some terminology you may need to understand to follow this step-by-step document:
Sandbox (n.) -- a copy of a software environment that you can "play in"; usually means a version that can be easily created, messed up, and wiped clean again
Terminal (n.) -- a command-line interface for your computer. This is the fancy/scary looking interface that sometimes has colorful text on a black background. Terminals provide more control than a GUI when making the kinds of advanced changes to a computer system that are required for software like the pre-requisite requirements for Islandora.
Requirement (n.) -- software/hardware basics that must be in place before a piece of software will run properly
GUI (n.) -- a graphical user interface. This is the "pretty" front end designed for end-users.
OS (n.) -- Operating system This is the software that supports a computer's basic functions. Examples of an OS include Microsoft Windows, macOS, and many flavors of Linux.
RAM (n.) -- Random Access Memory, also called memory, this is used for temporary storage.
Hard drive (n.) -- longer-term memory where computers store saved files and software.
Find the computer you want to use for your Islandora sandbox. It does not have to have an operating system (like Windows), but if it does, that's not a problem. It should be a machine that has been totally wiped or only has files that can be deleted. If you have any files on it that you would like to save, you should back them up elsewhere.
Other requirements this computer will (ideally) meet:
- 3GB of RAM (2GB of RAM required for Ubuntu desktop)
- 4GB of hard drive memory free (25 GB required for Ubuntu desktop)
- Internet connection
You will also need an empty USB drive with at least 2 GB of space and a computer with an existing OS and internet connection for step two.
-
If you're not sure how much RAM and free memory on your hard drive is on the computer and you have a Windows computer, you can follow this tutorial to check that it meets the requirements.
-
If you don't have an operating system on the machine you want to use for your sandbox, you can try to install the Ubuntu operating system as described in step 2 and 3, then follow the instructions in this tutorial to make sure you have more than 3 GB of RAM (called Memory in the tutorial) and 4GB of hard drive memory (called Disk in the tutorial) required to run the default version of Islandora.
On another computer, insert the USB drive. Follow these instructions, or this summary:
- Download Rufus.
- Download Ubuntu desktop.
- Run Rufus and select Ubuntu boot selection and the correct USB drive.
On the Islandora sandbox computer, follow these instructions, or this summary:
- Insert USB drive into the computer.
- Restart the computer.
- If the welcome screen for Ubuntu doesn't pop up, restart again, this time holding down F12.
- On the welcome screen, select your language and "Install Ubuntu."
- Follow the Ubuntu prompts, supplying your information when requested, and otherwise accepting the default selections.
- For installation type, select "Erase [name of current operating system] and reinstall".
- Restart.
- Congratulations on your new Linux computer!
On your new Ubuntu computer, download the following:
- Virtual Box
- Vagrant (version 2.0 or required)
Open the terminal of your new Ubuntu computer to download the remaining requirements:
- To install git follow these instructions, or the following:
$ apt-get update
$ apt-get install git
$ git --version
- To install Ansible, type the following lines of code, one at a time, into the terminal:
$ sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo apt-add-repository ppa:ansible/ansible
$ sudo apt-get update
$ sudo apt-get install ansible
- To download Islandora, type the following into the terminal:
$ git clone https://github.com/Islandora-Devops/islandora-playbook.git
- When that script has finished running, open or move into the appropriate folder by typing the following into the terminal:
$ cd islandora-playbook
- To run the scripts, type:
$ vagrant up