running a notebook server on centos

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 &
原文地址:https://www.cnblogs.com/otfsenter/p/8893904.html