【问题标题】:What is the process to start jupyterhub automatically?自动启动jupyterhub的流程是什么?
【发布时间】:2018-06-12 07:07:59
【问题描述】:

我在我的子域上安装了一个 jupyterhub。每当我必须使用 jupyterhub 时,我必须在 ubuntu 终端上运行命令 jupyterhub 如果它已关闭,我们将无法访问它。

那么,有什么办法可以在系统启动时自动启动jupyterhub?

版本: Ubuntu 16.4, 蟒蛇5.1.0, jupyter notebook --version 5.4.0,

【问题讨论】:

标签: jupyter-notebook ubuntu-16.04 jupyter jupyterhub


【解决方案1】:

有几种方法可以实现这一点 - 您实际上要寻找的是如何在系统启动时运行脚本或启动服务。

根据您对 unix 的舒适程度,您可以选择所需的选项。

  1. http://upstart.ubuntu.com/

  2. 将jupyter配置为服务并在开机时启动服务

setup jupyter notebook as a service

start service at system reboot

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-02-01
    • 2011-04-05
    • 1970-01-01
    • 2011-11-13
    • 2021-09-17
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多