Skip to content

Instantly share code, notes, and snippets.

@bachkukkik
Last active July 11, 2020 08:57
Show Gist options
  • Save bachkukkik/363ab144178bfe9af411f5eb8f41b15b to your computer and use it in GitHub Desktop.
Save bachkukkik/363ab144178bfe9af411f5eb8f41b15b to your computer and use it in GitHub Desktop.
~/.jupyter/jupyter_notebook_config.py ### jupyter notebook config; http:// only; not recommended for public notebook
## if not yet done
## $ jupyter notebook --generate-config
## $ jupyter notebook password
## $ python
## [1] from notebook.auth import passwd
## [2] passwd() # fill in correct password
## [3] exit()
## $ sudo nano ~/.jupyter/jupyter_notebook_config.py
c.NotebookApp.allow_remote_access = True
c.NotebookApp.allow_root = True
c.NotebookApp.ip = '*'
c.NotebookApp.open_browser = False
c.NotebookApp.password = <'sha1:.........'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment