running a notebook server on centos

本文介绍了Jupyter Notebook的基本配置步骤,包括安装Jupyter、生成配置文件、设置密码、修改配置项等内容,并提供了运行Jupyter Notebook的具体命令。此外,还涉及了安装TexLive和Pandoc的方法。

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值