Category: Uncategorized

Jupiter notebook behind Nginx on Ubuntu 20.04.3

Run Jupyter notebook behind Nginx, with SSL via Let's Encrypt. Jupyter notebook process to be monitored by supervisord. Supervisord process to run as 'jupyter' user. Referrences c.f. https://medium.com/bit2byte/deploying-jupyter-in-ubuntu-with-nginx-and-supervisor-f847b545023 c.f. https://medium.com/@nicklas_bocksberger/setting-up-jupyter-notebook-on-a-server-with-nginx-as-proxy-d579d4075bb…

Read more

Running a Java app for a long time… after logging out.

Copied this init script: https://gustavostraube.wordpress.com/2009/11/05/writing-an-init-script-for-a-java-application/ then: chmod 755 run-script.sh./run-script.sh start # Start./run-script.sh stop # Stop./run-script.sh restart # Restart Some discussions: https://stackoverflow.com/questions/534648/how-to-daemonize-a-java-program https://stackoverflow.com/questions/958249/whats-the-difference-between-nohup-and-a-daemon

Read more