An example of running Jupyter Notebook on Packet's Ubuntu 16.04 LTS server using nginx for reverse-proxy, certbot for SSL, no-ip for hostname.
This repo provides several scripts to follow.
- Example#1
- Example#2
- Make sure to have a Ubuntu 16.04 LTS server available with appropriate IPv4 address.
- Point your host/domain name to the server's IPv4 address. Using no-ip to get a hostname is suggested.
- SSH to the server as "root".
- Paste
chmod +x ./create_sudo_user.sh
to be able to run the script in the following step. - Run create_sudo_user.sh to create a "sudo" user. Example:
./create_sudo_user.sh your_name
. - SSH as "sudo" user.
- Paste
chmod +x ./run_jupyter_notebook.sh
to be able to run the script. - Run run_jupyter_notebook.sh to create a brand-new Jupyter Notebook and access it through your domain name. Examples:
./run_jupyter_notebook.sh domain_name
- Now try to access the Jupyter Notebook through your domain name.