首页 > 其他 > 详细

running a notebook server on centos

时间:2018-04-20 22:56:29      阅读:172      评论:0      收藏:0      [点我收藏+]

1- jupyter docs

http://jupyter-notebook.readthedocs.io/en/stable/public_server.html

2- install jupyter

pip install jupyter

3- generate jupyter_notebook_config.py

jupyter notebook --generate-config

4- get password

>>> from notebook.auth import passwd
>>> passwd()
then type you own password which is a hash value

5- configure jupyter_notebook_config.py

c.NotebookApp.password = u‘sha1:67c9e60bb8b6:9ffede0825894254b2e042ea597d771089e11aed‘
c.NotebookApp.ip = ‘*‘
c.NotebookApp.open_browser = False
c.NotebookApp.port = 8888

6- texlive-xetex, pandoc

yum install pandoc
yum install texlive-*
sudo mktexlsr

7- run jupyter notebook

jupyter notebook --allow-root &

running a notebook server on centos

原文:https://www.cnblogs.com/otfsenter/p/8893904.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!