Skip to content

software

Matthias Leubin edited this page Dec 1, 2016 · 50 revisions

RocketLogger Software Installation Guide

  • Download the official Debian 7.11 (Wheezy) system image for the Beaglebone from the BeagleBone firmware website (scroll down to Older Debian images) and flash it onto an empty SD card.
  • Boot your system and login via ssh as root: ssh root@<device-address> (NOTE: for security reasons, this will login will be deactivated by the setup script)
  • Install and update system components as explained in the project's README. To install the packages needed for a standard installation (base installation + web interface) use the following command:
apt-get install ntp gcc libncurses5-dev libi2c-dev clang linux-headers-$(uname -r) lighttpd php5-cgi unzip
  • Copy the code folder to the RocketLogger
  • Change to the subfolder code/debian/
  • Run the setup script ./setup_beaglebone.sh
  • Reboot the system with reboot

After this initial system setup you will only be able to login as user rocketlogger and only using the standard ssh key provided in the repo. We highly recommend that you generate you own ssh key and replace the standard key! See for example at SSH Help at Gitlab.

Device Tree Overlay

  • Change to the subfolder code/dto

  • Run ./setup_dto.sh

  • [TBD] For new debian version: Compile and install device tree overlay: make and sudo make install

Software

  • Change to the subfolder code/src
  • Build and install software: make and sudo make install
  • Reboot to apply changes
  • Do a calibration run (see Calibration Guide).

Webserver

This component is optional, but highly recommended for convenient device control.

  • Change to the subfolder code/webserver
  • Run ./setup_web.sh
  • Create password file htpasswd -c /home/rocketlogger/.htpasswd 'username'
Clone this wiki locally