Skip to Content

Automated deployment of a multi-user Data Science server

I recently built out a set of scripts to automatically install and configure a remote multi-user Data Science server. This is useful for people who want to quickly set up web-based access to Jupyter Notebooks, RStudio and NextCloud for a team of researchers.

The process is all terminal based, and requires sudo ssh access to the remote server. If used correctly, an admin should be able to set up:

  • Jupyter Server
  • Rstudio Server
  • NextCloud

For as many users as the admin wants, each with their own home folder and research environments.

As a bonus, it disables password-based ssh access (key-based access is configured automatically), locks down all ports except those needed, and sets up a Tor Hidden Service so that an admin can remotely access the server even if it is behind a NAT firewall. This is especially awesome for hired guns who set up a server for a client at a remote office and then have to administer it from a different location.

You can clone the repo here -

serversetup repo