'Jupyter Notebook'에 해당되는 글 2건

  1. 2017.12.19 [펌] Jupyter Notebook 활용하기
  2. 2017.12.18 [설치] jupyter notebook
Opensource/Jupyter Notebook2017. 12. 19. 11:35

Jupyter Notebook이랑 친해져야 겠다는 생각이 들었다.

 

지금은 정리해야 할게 산적해 있으니, 추후 정리해보는 것으로 하고 비교적 잘 정리되어있는 아래블로그로 사용법을 대신한다.

 

공식사이트: http://jupyter.org/

블로그: http://sams.epaiai.com/220763757405

'Opensource > Jupyter Notebook' 카테고리의 다른 글

[설치] jupyter notebook  (0) 2017.12.18
Posted by 이성윤
Opensource/Jupyter Notebook2017. 12. 18. 12:12

전부터 ipython을 활용한 jupyter notebook을 설치하여 사용해보고 싶었다.


설치 과정을 기록한다.


참고 URL1

https://m.blog.naver.com/PostView.nhn?blogId=samsjang&logNo=220758501873&proxyReferer=http%3A%2F%2Fwww.google.co.kr%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26source%3Dweb%26cd%3D2%26ved%3D0ahUKEwjClZiQlsfVAhUDFpQKHayyDh4QFggrMAE%26url%3Dhttp%253A%252F%252Fm.blog.naver.com%252Fsamsjang%252F220758501873%26usg%3DAFQjCNEDdEaUY2-FCzJ7rqTdxqgkw9qxtQ


참고 URL2

http://goodtogreate.tistory.com/entry/IPython-Notebook-%EC%84%A4%EC%B9%98%EB%B0%A9%EB%B2%95


두 URL을 참조하면 쉽게 설치가 가능하다.



[tensorflow@da-4fs-080 ~]$ ipython profile create
[ProfileCreate] Generating default config file:

u'/home/tensorflow/.ipython/profile_default/ipython_config.py'
[ProfileCreate] Generating default config file:

u'/home/tensorflow/.ipython/profile_default/ipython_kernel_config.py'

Securing a notebook server
$ jupyter notebook --generate-config

$ ipython
In [1]: from IPython.lib import passwd
In [2]: passwd()
Enter password:
Verify password:
Out[2]: 'sha1:198e275835de:17f4facc23b40f663c519dd60ff7ae11ebc7dda2'

vi /home/tensorflow/.jupyter/jupyter_notebook_config.py
# Password to use for web authentication
c = get_config()
c.NotebookApp.password =
u'sha1:f24baff49ac5:863dd2ae747212ede58125302d227f0ca7b12bb3'

openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.pem -out mycert.pem

vi /home/tensorflow/.jupyter/jupyter_notebook_config.py
c.NotebookApp.certfile = u'/home/tensorflow/.jupyter/mycert.pem'
c.NotebookApp.ip = '10.10.104.80'
c.NotebookApp.port = 8008
c.NotebookApp.notebook_dir = u'/home/tensorflow/jupyter'
c.NotebookApp.open_browser = False

mkdir ~/jupyter

'Opensource > Jupyter Notebook' 카테고리의 다른 글

[펌] Jupyter Notebook 활용하기  (0) 2017.12.19
Posted by 이성윤