Skip to content

Commit

Permalink
Navigate to home directory
Browse files Browse the repository at this point in the history
jupyter default config  will be generated as `/home/ubuntu/.jupyter/jupyter_notebook_config.py` so we need to move to home directory so that the next commands function correctly otherwise we will be still in `cude` directory.
  • Loading branch information
ylashin authored Feb 6, 2017
1 parent 554f4f1 commit 5e7f8d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup/install-gpu-azure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ sudo cp include/* /usr/local/cuda/include/

jupyter notebook --generate-config
jupass=`python -c "from notebook.auth import passwd; print(passwd())"`
cd ~
echo "c.NotebookApp.password = u'"$jupass"'" >> .jupyter/jupyter_notebook_config.py
echo "c.NotebookApp.ip = '*'
c.NotebookApp.open_browser = False" >> .jupyter/jupyter_notebook_config.py
Expand Down

0 comments on commit 5e7f8d0

Please sign in to comment.