This page contains the following topics:
You can install SQLstream StreamLab using an X-windows wizard. The easiest way to launch the installer is by initiating the installation file from the command line.
The StreamLab installer ships as a binary file - usually named SQLstream-StreamLab-2.0.0 (where X.Y.Z is the version number) that you acquired by downloading it from http://www.sqlstream.com/downloads.
You can also install StreamLab from the command line.
To install StreamLab:
By default, StreamLab is installed as a service, and will start automatically upon reboot. (It also starts by default after installation.) To access StreamLab, do one of the following:
Before you start StreamLab, you need to have both s-Server and webAgent running. This version of StreamLab checks to see if webAgent is running before starting.
For information on running webAgent, see the topic webAgent in the Integrating with Other Systems guide.
Note: webAgent must be running with write enabled (-w).
To start StreamLab in other cases, open the StreamLab folder on your desktop and double-click the Start StreamLab Server icon.
Alternately, run the following script, located in the /opt/sqlstream/.xxxx directory:
To start the service as root, enter
sudo service streamlabd start
You can specify the following arguments when starting StreamLab from the command line.
||Specify port (overrides $STREAMLAB_PORT)||5590|
|-s||Server mode, restarts server if it exits||No|
|-h -?||Show this help message|
|-w||webAgent port or URL. If not specified, StreamLab looks for webAgent on port 5580 of the same server running s-Server.||http://yourhost:5580 where “yourhost” is the name of the server running s-Server.|
To use maps, you need to obtain and install either a Google Maps or MapBox api key before maps can be used. If you are using the the Pan and Zoom map visualization, StreamLab and s-Dashboard require a Google Maps API key.
To use OpenStreetMaps tiles, you need a Mapbox id. To design a map, go to https://www.mapbox.com/ and sign up and design the map they want. Each map has a map id. This gets used in the -m option preceded by ‘mapbox:‘, as in:
All StreamLab maps will use the same tile set. In order to use a different tile set, you need to restart StreamLab with a different Mapbox id.
You can also set the map service in /etc/default/streamlabd, by setting STREAMLABMAPSERVICE to ‘google:
To stop StreamLab, open the desktop folder for StreamLab and double-click the Stop StreamLab Server icon.
You can also install in text mode, which does not display the graphical installation wizard. To do so, enter
sudo ./StreamLab-X.Y.Z-x64.run --mode text
where X.Y.Z represent the release and version numbers, as in SQLstream-StreamLab-2.0.0.run.
Note: substitute sStudio* or clienttools* to install either as a standalone in text mode.
if you are logged in as a super user, you do not need to include “sudo”.
The text-mode installer performs the same steps as the graphical one, but displays its prompts and messages in the console window. By default, the installer will run in graphical mode, GTK. If this is not possible, it will run in xwindow mode. If there is no graphical environment available it will fall back to text mode.
There are command-line options to perform all of the functions available in the GUI version. For a list of the command-line options and their meanings, type
| Option | Description | Default |
| — | — | — | | –help | Display this list of options. | | | –optionfile