Jupyterhub安装教程

使用 JupyterHub,可以创建一个多用户 Hub,它可以生成、管理和代理单用户 Jupyter notebook 服务器的多个实例。本次在Centos7.5下进行安装,用于单用户使用。这里介绍Jupyterhub的两种安装方式。

安装方案一

Jupyterhub可以通过conda安装,这种方案比较简单

# 安装conda3
# Download Linux Anaconda distribution (64-Bit)
wget https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh
# Install Anaconda,安装位置设置为/home/work/anaconda3
sudo bash  Anaconda3-5.0.1-Linux-x86_64.sh
# 安装jupyterhub,需要修改conda源
conda install -c conda-forge jupyterhub  # installs jupyterhub and 
conda install notebook  # needed if running the notebook servers locally

在执行conda install -c conda-forge jupyterhub时,总报Solving package specifications: .Killed,没有找到解决方案。

图片

安装方案二

使用pip3安装,需要装好configurable-http-proxy、jupyterhub、notebook、jupyterlab。

# 安装jupyterhub
npm install -g configurable-http-proxy
sudo pip3 install jupyterhub
sudo conda install notebook
sudo pip3 install jupyterlab
# 生成配置文件
jupyterhub --generate-config
# 启动
nohup jupyterhub -f jupyterhub_config.py  &
# 默认8000端口,访问链接,查看安装情况
http://122.51.225.162:8000/

效果

打开链接后,可以看到登录界面,用户名和密码默认是centos启动该服务的用户名和密码。

图片

默认打开的目录为/home/work,即该用户的home路径。

图片

资料

  1. Jupyterhub的安装与配置

  2. conda install -c conda-forge jupyterhub

  3. centos7上安装JupyterHub

  4. centos7下安装与卸载anconda3

  5. 仓库镜像源为清华_conda国内镜像修改(最新版)

  6. CentOS安装node和npm

  7. 图文详解:CentOS 7系统下安装JupyterHub+PySpark

  8. anaconda修改国内源

  9. centos7 配置jupterhub

  10. Anaconda 一直 solving package specification

  11. 阿里云centOS7搭建JupyterLab

  12. 在centos7上搭建jupyter lab服务器

  13. 超级详细 centos7 安装 jupyter lab

最后

大家如果喜欢我的文章,可以关注我的公众号(程序员麻辣烫)

我的个人博客为:https://shidawuhen.github.io/
往期文章回顾:

  1. 设计模式

  2. 招聘

  3. 思考

  4. 存储

  5. 算法系列

  6. 读书笔记

  7. 小工具

  8. 架构

  9. 网络

  10. Go语言

  • 3
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值