You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
manetta 273c122eea | 2 years ago | |
---|---|---|
html | 4 years ago | |
templates | 3 years ago | |
README.md | 3 years ago | |
make_user_accounts.py | 2 years ago | |
reset_jupyter_password.py | 2 years ago |
README.md
First jupyterlab needs to be installed:
pip3 install jupyterlab
You can use the make_user_accounts.py script with the following scripts:
--passwords
: words.txt -- a txt file with ingredient words on each line to generate passwords with--from_file
: users.txt -- a txt file with a username on each line--servername
: sandbol -- a string
The script generates:
users.csv
: a list of all the users, their personal ports, their passwordsusers.md
: a bulletpoint list with a link to the/__LAB__/
link for each userusers.nginx.conf
: snippets of nginx configuration that can be added to the main nginx config file
Then the service file template is copied:
sudo cp templates/jupyterlab@.service /etc/systemd/system
This service file is a template for all the jupyter lab services that are running, which is one for each user.
Now try to start one jupyterlab instance with:
sudo systemctl start jupyter@murtaugh