Skip to content

Commit 598156a

Browse files
authored
Update setup_jupyter.sh
1 parent b1d5714 commit 598156a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

guidance/setup_jupyter.sh

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
2222
-out $JUPYTER_CONFIG_DIR/jupyter-selfsigned.crt \
2323
-subj "/C=US"
2424

25+
sudo chown $USER ${JUPYTER_CONFIG_DIR}/jupyter-selfsigned.key
26+
2527
sed -i "s|# c.ServerApp.password = ''|c.ServerApp.password = '${PASSWORD}'|g" ${JUPYTER_CONFIG}
2628
sed -i "s/# c.ServerApp.allow_password_change = True/c.ServerApp.allow_password_change = True/g" ${JUPYTER_CONFIG}
2729
sed -i "s/# c.ServerApp.ip = 'localhost'/c.ServerApp.ip='0.0.0.0'/g" ${JUPYTER_CONFIG}

0 commit comments

Comments
 (0)