首页
工具
友链
推荐
下载站
网盘
物理专用站
Search
1
群晖 docker安装qbittorrent 解决下载时错误
6,028 阅读
2
详细的全自动追番教程:Sonarr+Jackett+qBittorrent+Jellyfin+Jellyseerr
6,016 阅读
3
OpenWrt (R2S) ipv6配置
2,271 阅读
4
proxmox ve 启动arm虚拟机 (ubuntu arm)
1,974 阅读
5
关于jijidown无法下载番剧的解决办法
1,240 阅读
默认分类
管理
记录
计算机
ACGN
游戏
讯息
数理
登录
Search
标签搜索
docker
刷机
ipv6
wsl
pve
番剧
openwrt
配置
gitlab
汉化
jupyterhub
pixel slate
chromeos
小爱同学
自定义音色
dns
oracle
甲骨文
原神
云原神
Canoziia
累计撰写
58
篇文章
累计收到
23
条评论
首页
栏目
默认分类
管理
记录
计算机
ACGN
游戏
讯息
数理
页面
工具
友链
推荐
下载站
网盘
物理专用站
搜索到
1
篇与
的结果
2020-02-23
jupyterhub docker 安装
这个jupyterhub自带了notebook和jupyterlab先创建一个ubuntu18.04容器docker run -d --hostname jupyterlab-server --name jupyterhub -p 83:8000 -i -t ubuntu:18.04 /bin/bash #然后进入容器 docker exec -it jupyterhub /bin/bash #按照正常方法安装anaconda wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2019.10-Linux-x86_64.sh bash Anaconda3-2019.10-Linux-x86_64.sh conda install -c conda-forge jupyterhub然后进行配置注意c.JupyterHub.ip = 'your-ip'不要填127.0.0.1(不然访问不了)其余随便然后chmod -R 777 /home(很重要不然会500)就可以了说一下踩过的坑:c.JupyterHub.ip = ''要是设成127.0.0.1,反代之后就无法访问(refused)以/home目录存放文件时,没有chmod -R 777 /home 则报500 错误c.Spawner.ip = '*'则报5034.上述一切做好后,会发现连不上内核??因为反代没设置好。需要在nginx主配置http里加 map $http_upgrade $connection_upgrade { default upgrade; '' close; }反代配置为:#PROXY-START/ location / { proxy_pass http://127.0.0.1:83; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; add_header X-Cache $upstream_cache_status; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; #Set Nginx Cache add_header Cache-Control no-cache; expires 12h; } #PROXY-END/配置文件:jupyterhubconfig.zip
2020年02月23日
190 阅读
0 评论
1 点赞