pip install jupyter
아나콘다 사용 시 자동으로 깔림
참고 사이트 : http://jupyter-notebook.readthedocs.org/en/latest/public_server.html
실행 방법
jupyter notebook
설정 파일 만들기
jupyter notebook --generate-config
IP 설정
# Set options for certfile, ip, password, and toggle off
# browser auto-opening
c.NotebookApp.certfile = u'/absolute/path/to/your/certificate/mycert.pem'
c.NotebookApp.keyfile = u'/absolute/path/to/your/certificate/mykey.key'
# Set ip to '*' to bind on all interfaces (ips) for the public server
c.NotebookApp.ip = '*' # ← 이 부분을 바꿔주면 됨
c.NotebookApp.password = u'sha1:bcd259ccf...<your hashed password here>'
c.NotebookApp.open_browser = False
# It is a good idea to set a known, fixed port for server access
c.NotebookApp.port = 9999
암호 설정
$ jupyter notebook password
Enter password: ****
Verify password: ****
[NotebookPasswordApp] Wrote hashed password to /Users/you/.jupyter/jupyter_notebook_config.json
SSL 사용
$ jupyter notebook --certfile=mycert.pem --keyfile mykey.key
'STUDY > Linux' 카테고리의 다른 글
[Python] ipynb파일을 py파일로 바꾸기 (0) | 2017.04.12 |
---|---|
[Ubuntu/Linux] Xfce4 Tab키 수정 (0) | 2017.03.25 |
[Ubuntu/Linux] VNC 설정법 (0) | 2017.03.25 |