Running services

From imdb
Jump to: navigation, search

Running Services

Information on running services on nelson.

nginx

Web server set up as reverse proxy for internal services.

Config file: /etc/nginx/nginx.conf

How to restart on failure or update: sudo systemctl restart nginx.service

uwsgi

Host for running (python) web services.

How to restart on failure: sudo systemctl restart uwsgi.service

Config file: /etc/uwsgi.ini

gogs

Git server for infomedia.

Endpoint: https://imdb.uib.no/gogs Home: /data_bck/public/gogs

How to restart on failure or update: sudo systemctl restart gogs.service

fossrate

App for rating fossball players.

Endpoint: https://imdb.uib.no/fossrate Config file: /etc/uwsgi.d/fossrate.ini Home: /data_bck/public/fossrate

How to restart on failure or update: touch /etc/uwsgi.d/fossrate.ini

norskenavn

Service for guessing gender from Norwegian names.

Uses a list lookup first, trained classifier as backup. Ignores last names (gender neutral in Norwegian), expects first name first.

Endpoint: https://imdb.uib.no/norskenavn Data: https://imdb.uib.no/norskenavn/check/Eirik%20Stavelin Home: /data_bck/public/navn-til-kjonn


jupyter

The Jupyter Notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text.
Endpoint: https://imdb.uib.no/jupyter

Some notes: to add users sudo docker exec -it jupyterhub bash

useradd -m -d /srv/jupyterhub/users/eirik eirik

passwd eirik then use `C-d` to exit the container afterwards. In order to install packages usable from jupyter, you need to install with pip from jupyterhub bash