linux jupyter 安装


https://blog.csdn.net/langhailove_2008/article/details/79110949

# Nginx访问时会出现跨域访问,需要在这里允许
c.NotebookApp.allow_origin = '*'

# 禁止随意修改密码
c.NotebookApp.allow_password_change = False

# 是否允许远程访问
c.NotebookApp.allow_remote_access = True

# IP
c.NotebookApp.ip = '0.0.0.0'

# 端口
c.NotebookApp.port = 9820

# 工作目录
c.NotebookApp.notebook_dir = '/root/workspace/jupyter/'

# 启动Jupyter Notebook之后是否打开浏览器
c.NotebookApp.open_browser = False

# 客户端打开Jupyter Notebook的密码哈希值
c.NotebookApp.password = 'argon2:$argon2id$v=19$m=10240,t=10,p=8$Rm2I+DKHO/UueChbWjpH6w$oC8tI+x8Cw2aLVbcyQx/Fg'