We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1d5714 commit 598156aCopy full SHA for 598156a
guidance/setup_jupyter.sh
@@ -22,6 +22,8 @@ sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
22
-out $JUPYTER_CONFIG_DIR/jupyter-selfsigned.crt \
23
-subj "/C=US"
24
25
+sudo chown $USER ${JUPYTER_CONFIG_DIR}/jupyter-selfsigned.key
26
+
27
sed -i "s|# c.ServerApp.password = ''|c.ServerApp.password = '${PASSWORD}'|g" ${JUPYTER_CONFIG}
28
sed -i "s/# c.ServerApp.allow_password_change = True/c.ServerApp.allow_password_change = True/g" ${JUPYTER_CONFIG}
29
sed -i "s/# c.ServerApp.ip = 'localhost'/c.ServerApp.ip='0.0.0.0'/g" ${JUPYTER_CONFIG}
0 commit comments