Skip to content

Commit 1cb8f01

Browse files
authored
Update start_jupyter.sh
1 parent 7920ee9 commit 1cb8f01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

start_jupyter.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ curl -H "X-aws-ec2-metadata-token: $TOKEN" http://169.254.169.254/latest/meta-da
1010
# Setup the ec2-user environment
1111
cd /home/ec2-user
1212
source /home/ec2-user/.bashrc
13+
export PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ec2-user/.local/bin:/home/ec2-user/bin:$PATH
1314

1415
# Start Jupyter Notebook server with $INSTANCE_ID as the password
1516
/home/ec2-user/.local/bin/jupyter notebook --no-browser --NotebookApp.allow_password_change=False --NotebookApp.token="$INSTANCE_ID" --ip 0.0.0.0 --port 8888 >/tmp/jupyter.log 2>&1 &

0 commit comments

Comments
 (0)