jupyterhub 叁歲伎倆 2023-07-09 11:28 28阅读 0赞 * Jupyterhub安装 可以使用清华的conda源加速 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config --set show_channel_urls yes conda 安装 jupyterhub conda install -c conda-forge jupyterhub * 生成配置文件 jupyterhub --generate-config -f /etc/jupyterhub/jupyterhub_config.py * 修改配置 以下是我的配置 # c.JupyterHub.ip = '' c.JupyterHub.port = 8888 # 访问的端口 c.Spawner.ip = '127.0.0.1' c.PAMAuthenticator.encoding = 'utf8' c.Authenticator.whitelist = { 'root','lanjing'} #默认不能使用root登录,需要修改配置, 这里的登陆是 linux 服务的登陆的用户名,jupyterhub 也是使用用户名和用户密码登陆 c.LocalAuthenticator.create_system_users = True c.Authenticator.admin_users = { 'root', 'lanjing'} c.JupyterHub.authenticator_class = 'dummyauthenticator.DummyAuthenticator' c.JupyterHub.statsd_prefix = 'jupyterhub' c.NotebookApp.notebook_dir = '/home/lanjing/python/' #jupyter 自定义目录使用 c.JupyterHub.statsd_prefix = 'jupyterhub' c.JupyterHub.ssl_cert = '/usr/lajing/etc/certificate/_archive/xYa1nX/fullchain.pem' c.JupyterHub.ssl_key = '/usr/lanjing/etc/certificate/_archive/xYa1nX/privkey.pem' * 用户登录认证 Jupyterhub支持多种认证方式:PAM和LDAP,默认使用的是PAM,即与系统用户层使用同一认证管理,用户名与密码与系统配置的相同。 首先用py3安装一个插件: pip3 install jupyterhub-dummyauthenticator -i https://pypi.douban.com/simple/ 然后,在配置文件中修改此配置: c.JupyterHub.authenticator_class = 'dummyauthenticator.DummyAuthenticator'
相关 Linux:Jupyterhub多用户远程登录安装、使用经验 1、安装 首先,打开官网帮助文档: [JupyterHub 官方安装帮助文档][JupyterHub] 一般安装都是参考官方最新版安装文档。 1.1环境条件 素颜马尾好姑娘i/ 2023年10月15日 14:01/ 0 赞/ 107 阅读
相关 frp反向代理内网,使用内网的jupyterhub 其中jupyterhub 安装和使用可以参考[这里][Link 1] 针对实际使用中,遇到如下场景,想让其他人测试在本地搭建的WEB服务,由于本地机器没有公网IP,无法域名解 た 入场券/ 2023年07月09日 11:28/ 0 赞/ 56 阅读
相关 jupyterhub Jupyterhub安装 可以使用清华的conda源加速 conda config --add channels https://mirrors.t 叁歲伎倆/ 2023年07月09日 11:28/ 0 赞/ 29 阅读
相关 K8S+Helm 安装 Jupyterhub > 前提条件:准备好的k8s环境和helm环境 准备配置文件 生成随机数 openssl rand -hex 32 8fc2826e9ce6930e 傷城~/ 2023年03月01日 08:40/ 0 赞/ 98 阅读
相关 在Docker中部署JupyterNotebook/JupyterHub > 发现自己已经大半年没有更新博客了,主要还是忙,我觉得还是要把博客捡起来,不论是做环境搭建的整理还是技术点的记录都是好的,这个时间还是得花。不然时间一场就都忘了。 目录 喜欢ヅ旅行/ 2023年02月24日 03:44/ 0 赞/ 75 阅读
相关 JupyterHub + toree安装说明 1. 下载安装python 3.6 yum install sqlite-devel openssl-devel wget https://www.python.or 迈不过友情╰/ 2022年05月28日 09:12/ 0 赞/ 180 阅读
还没有评论,来说两句吧...