Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleOn your maschineConfigure auto forwarding
# create file .ssh/config to auto-forward yourself to cluster-head
local> nano .ssh/config
# content of .ssh/config
Host flarecast-infra
 ProxyCommand ssh username@ias-ssh.ias.u-psud.fr nc cluster-head.ias.u-psud.fr 22
 User username
 ForwardX11Trusted yes
 ServerAliveInterval 60 

# Ctrl-x y <return> to save and close 

local> ssh flarecast-infra
# accept fingerprint
# enter FLARECAST cluster password
# you can ignore message: /usr/bin/xauth:  file ~/.Xauthority does not exist
cluster-head> exit
local>

...

Code Block
languagebash
titleOn your machineLogin to cluster
local> ssh flarecast-infra
# enter FLARECAST cluster password
cluster-head> exit
local>

Test installation

Setup Docker

On OS X: Run "/Applications/Docker/Docker Quickstart Terminal"

On Linux make sure that docker daemon is running.

 

Create a base directory for the FLARECAST development infrastructure. We will call this $FC_DEVINFRA in the remainder of this documentassume the following commands are executed in this directory.

Code Block
languagebash
titleInititalize docker
local> cd $FC_DEVINFRA
# see below for troubleshooting
local> curl -O o docker-compose.yml https://dev.flarecast.eu/stash/projects/INFRA/repos/dev-infra/browse/docker-compose.yml?raw

# if you want to run smart on your computer
local> docker pull flarecast/smart-python
...

# if you want to run the sample graphic plotter
local> docker pull flarecast/regiograph
...

Use this command to start up the docker environment
local> docker-compose up
# In case you see any errors about database connection timeouts, just press Ctrl + C and run docker-compose up again.

Troubleshooting:

curl: SSL certificate problem: Invalid certificate chain (OS X only)

  1. Open Safari (not Firefox, Opera, Chrome or similar)
  2. visit https://dev.flarecast.eu
  3. A certificate warning should pop up. -> Click "Show Certificate"
  4. Click on "Trust" and set to "Always trust"

 All FLARECAST docker containers can be found at DockerHub