주피터 실행 - noweaver/odds-and-ends GitHub Wiki
// ~/.jupyter 디렉토리가 생기고, 하위에 jupyter_notebook_config.py 파일이 생성된다.
$ jupyter notebook --generate-config
$ ipython
In [1]: from IPython.lib import passwd
In [2]: passwd()
Enter password:
Verify password:
Out[2]: 'sha1:e54713337d5c:c9bfccddf9c07560f8590e4fc97a81ef1a1ab714' // 컴마 안의 내용 복사
$ vi ~/.jupyter/jupyter_notebook_config.py
c = get_config()
c.NotebookApp.ip = '0.0.0.0'
c.NotebookApp.open_browser = False
c.NotebookApp.port = 8080
c.NotebookApp.password = 'sha1:e54713337d5c:c9bfccddf9c07560f8590e4fc97a81ef1a1ab714'
c.NotebookApp.notebook_dir = '/home/ryan/Workspace'
:wq!
$ jupyter notebook
$ nohup jupyter notebook --allow-root > .jupyter/error.log & echo $!> .jupyter/pid.txt
$ kill -9 {process_id}