Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width300px

Column
width400px
Panel
borderColorlightgrey
bgColor#f0f0f0
titleOn this page:

Table of Contents

Related pages:

  • Filter by label (Content by label)
    showLabelsfalse
    showSpacefalse
    sortcreation
    cqllabel in ("getting-started","sitecontroller") and space in (currentSpace(),"KB")

Introduction

This document will describe the Initial setup of Site Controller on an Ubuntu LTS linux distribution. 

...

  • mosquitto, version 1.3.4 or above (apt-get mosquitto)
  • psutil libaries, version 2.2.1 or above (apt-get psutil)
  • SiteController installation archive (e.g. SiteController-install-1.1-Jever.tar.gz):  SiteController modules and necessary python libraries 

...


Tip

SiteController is available through official purchase of a license or directly through azeti for development tests / integration tests. Upload the required files to the ubuntu server, e.g. in /root/download and proceed from there.

...

  1. Install prerequisites for compiling packages

    Code Block
    apt-get install build-essential libc-ares-dev xsltproc docbook-xsl gcc python-dev libssl-dev python-psutil
  2. Add the mosquitto repository for a more recent version

    Code Block
    apt-add-repository ppa:mosquitto-dev/mosquitto-ppa
    apt-get update
    apt-get install mosquitto
  3. Create a mosquitto configuration

    Code Block
    mv /etc/mosquitto/mosquitto.conf.example /etc/mosquitto/mosquitto.conf 
  4. Set a log_dest. To do so please edit /etc/mosquitto/mosquitto.conf and change as noted below line 419 (or similar). All logging output will go into /opt/azeti/SiteController/log/mosquitto.log

    Code Block
    ...
    #log_dest stderr
    # sebastian.koch - manually added log destination
    log_dest file /opt/azeti/SiteController/log/mosquitto.log
    ...
  5. Install SiteController (output was truncated)

    Code Block
    root@ubuntu:~/download# tar xzf SiteController-install-1.1-Jever.tar.gz 
    root@ubuntu:~/download# cd SiteController-install/
    root@ubuntu:~/download/SiteController-install# ./setup.sh 
    OS type is generic Ubuntu
    Creating new site controller startup configuration ...
    Checking for previous installation of SiteController ...
    No previous installation found. Creating folder ...
    Installing python libraries ...
    Checking for presence of setuptools ... Not present
    Installing setuptools ...
    
    ...
    
    Updating autostart script ...
    Sorry, no autostart script available for your system.
    Adapting configuration to your system ...
    Please provide a unique serial name for your SiteController!
    Allowed characters are upper and lower case ASCII [a-zA-Z],
    digits [0-9], dashes - and underlines _.
    Your entry: > Ubuntu-Test-sebastian
    Serial name set to Ubuntu-Test-sebastian
    Thank you.
    Changing serial id of SiteController from "" to "Ubuntu-Test-sebastian".

...