邓老师 发布的文章

官方安装文档:
https://tljh.jupyter.org/en/latest/install/custom-server.html

通过anaconda进行安装:
https://www.cnblogs.com/crxis/p/9078278.html
https://blog.csdn.net/jh0218/article/details/85104233

docker部署:
https://www.cnblogs.com/mayswind/p/12358583.html
https://blog.csdn.net/mgsky1/article/details/107198352/

使用docker的JupyterHub的引用部署
https://www.5axxw.com/wiki/content/ghad2i
http://www.hzy.org.cn/index.php/technique/78-notebook
https://github.com/TaylorHere/JupyterHubDocker

手工安装:
首先安装python3以上版本。
执行以下命令
yum install gcc
yum install openssl openssl-devel
yum install sqlite-devel
pip install jupyterhub
yum install npm nodejs-legacy
npm install -g configurable-http-proxy
pip install notebook
增加用户用于登录:
useradd hanks
passwd hanks
yum install git
pip install git+https://github.com/jupyterhub/kubespawner.git
运行以下命令生成配置文件
jupyterhub --generate-config
修改配置文件:
增加白名单及管理员用户
c.Authenticator.whitelist = {'hanks','i',''}
c.JupyterHub.admin_users = {'hanks'}
登录 serverip:8000
齐活

Jupyter Notebook是以网页的形式打开,可以在网页页面中直接编写代码和运行代码,代码的运行结果也会直接在代码块下显示。如在编程过程中需要编写说明文档,可在同一个页面中直接编写,便于作及时的说明和解释。

Centos7安装jupyter notebook
1.安装python3
yum install python3
ln -s /usr/bin/python3 /usr/local/bin/python3
ln -s /usr/bin/pip3 /usr/local/bin/pip3

2.安装jupyter notebook
pip3 install jupyter

3.生成配置文件
jupyter notebook --generate-config
Writing default config to: /root/.jupyter/jupyter_notebook_config.py

4.运行python3
5.生成登录密码:
from notebook.auth import passwd
passwd()

6.记录上面生成的登录密码

7.编辑配置文件:
vim /root/.jupyter/jupyter_notebook_config.py

c.NotebookApp.password = 'sha1:18a311f2bceb:f7bebfa7a61f7057bc034d9affe750c8b65ead6a'
c.NotebookApp.port = 8888
c.NotebookApp.ip = '*'
c.NotebookApp.open_browser = False
c.NotebookApp.notebook_dir = '/var/www/jupyter_notebook'

8.启动jupyter notebook
jupyter notebook --allow-root

Docker: 使用jupyter notebook基础镜像搭建自己的PyTorch开发环境
https://blog.csdn.net/jianchengss/article/details/78224778