-
Notifications
You must be signed in to change notification settings - Fork 0
Quick deploy from an Ubuntu Live CD
This page details how to deploy the software from a Live Ubuntu 15.10 image.
Assumptions:
- You have a Ubuntu Live image (on a flash disk at least 16GB...I mean, it should work with something smaller, but I provide no guarantees)
- The image is for Ubuntu 15.10
- You have an Internet connection
- You have a means to connect to the topside switch (Ethernet adapter and cable)
- There is an existing release you want to deploy—this page does not detail the process for editing the control software
Notes:
- Connect to the ROV network before connecting to the Internet via Wi-Fi
- Your IP address will need to be
192.168.88.3
Things start off, unfortunately, a bit hand-wavy. Look at Initial topside configuration, and follow the instructions there for setting a static IP address via the first four (4) non-optional bullet points under "Process". Remember to use 192.168.88.3
in place of 192.168.88.2
(as per the note above).
You will need to enable the universe before updating.
sudo apt update && sudo apt upgrade
Run the following in a terminal window:
sudo apt-add-repository -y ppa:ansible/ansible
sudo apt-get update
sudo apt-get -y install ansible
- Under the releases tab, select the version you want to download (select source code or
zip
) - Unzip the archive
- Change into the project directory
-
Run
gedit playbooks/hosts
to open up the hosts file in a text editor -
Edit the hosts file to have the following contents:
[captain] 192.168.88.3 ansible_connection=local ansible_user=ubuntu [topside] 192.168.88.2 ansible_user=eedge ansible_ssh_pass=eedge ansible_sudo_pass=eedge [rasprime] 192.168.88.4 ansible_user=pi ansible_ssh_pass=raspberry [picamera] 192.168.88.5 ansible_user=pi ansible_ssh_pass=raspberry
-
Run
ansible-playbook playbooks/all.yml
-
Wait a bit
-
Additionally run (and wait for)
sudo apt-get install openjfx
- Run
gradle build
- Run
ansible-playbook playbooks/deploy.yml
This wiki and the project's README file contain a lot of information, take your time and read both. Read the CONTRIBUTING.md
file in the project before opening a pull request or an issue.
© Eastern Edge Robotics - www.easternedgerobotics.com
Introductions
- Home
- 1000ft overview
- Design rationale
- Configuration
Getting things done
- Quick start
- Getting Started/Workspace Setup
- Git-Cheatsheet
- Vagrant environment
- Connecting to the ROV network
- Walkthrough: Adding a feature
- Testing changes to the application
- Deploying the application
- Running the application topside
- Running the Picamera video feed
Development
Hardware and misc.