mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
markdownify add_users/packages included files
not caught in initial rst2myst
This commit is contained in:
@@ -1,30 +1,30 @@
|
|||||||
The **User Environment** is a conda environment that is shared by all users
|
The **User Environment** is a conda environment that is shared by all users
|
||||||
in the JupyterHub. Libraries installed in this environment are immediately
|
in the JupyterHub. Libraries installed in this environment are immediately
|
||||||
available to all users. Admin users can install packages in this environment
|
available to all users. Admin users can install packages in this environment
|
||||||
with ``sudo -E``.
|
with `sudo -E`.
|
||||||
|
|
||||||
#. Log in as an admin user and open a Terminal in your Jupyter Notebook.
|
1. Log in as an admin user and open a Terminal in your Jupyter Notebook.
|
||||||
|
|
||||||
.. image:: ../images/notebook/new-terminal-button.png
|
```{image} ../images/notebook/new-terminal-button.png
|
||||||
:alt: New Terminal button under New menu
|
:alt: New Terminal button under New menu
|
||||||
|
```
|
||||||
|
|
||||||
#. Install `gdal <https://anaconda.org/conda-forge/gdal>`_ from `conda-forge <https://conda-forge.org/>`_.
|
2. Install [gdal](https://anaconda.org/conda-forge/gdal) from [conda-forge](https://conda-forge.org/).
|
||||||
|
|
||||||
.. code-block:: bash
|
|
||||||
|
|
||||||
|
```bash
|
||||||
sudo -E conda install -c conda-forge gdal
|
sudo -E conda install -c conda-forge gdal
|
||||||
|
```
|
||||||
|
|
||||||
The ``sudo -E`` is very important!
|
The `sudo -E` is very important!
|
||||||
|
|
||||||
#. Install `there <https://pypi.org/project/there>`_ with ``pip``
|
3. Install [there](https://pypi.org/project/there) with `pip`
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: bash
|
|
||||||
|
|
||||||
|
```bash
|
||||||
sudo -E pip install there
|
sudo -E pip install there
|
||||||
|
```
|
||||||
|
|
||||||
The packages ``gdal`` and ``there`` are now available to all users in JupyterHub.
|
The packages `gdal` and `there` are now available to all users in JupyterHub.
|
||||||
If a user already had a python notebook running, they have to restart their notebook's
|
If a user already had a python notebook running, they have to restart their notebook's
|
||||||
kernel to make the new libraries available.
|
kernel to make the new libraries available.
|
||||||
|
|
||||||
See :ref:`howto-env-user-environment` for more information.
|
See {ref}`howto-env-user-environment` for more information.
|
||||||
|
|||||||
@@ -1,37 +1,41 @@
|
|||||||
Most administration & configuration of the JupyterHub can be done from the
|
Most administration & configuration of the JupyterHub can be done from the
|
||||||
web UI directly. Let's add a few users who can log in!
|
web UI directly. Let's add a few users who can log in!
|
||||||
|
|
||||||
#. Open the **Control Panel** by clicking the control panel button on the top
|
1. Open the **Control Panel** by clicking the control panel button on the top
|
||||||
right of your JupyterHub.
|
right of your JupyterHub.
|
||||||
|
|
||||||
.. image:: ../images/control-panel-button.png
|
```{image} ../images/control-panel-button.png
|
||||||
:alt: Control panel button in notebook, top right
|
:alt: Control panel button in notebook, top right
|
||||||
|
```
|
||||||
|
|
||||||
#. In the control panel, open the **Admin** link in the top left.
|
2. In the control panel, open the **Admin** link in the top left.
|
||||||
|
|
||||||
.. image:: ../images/admin/admin-access-button.png
|
```{image} ../images/admin/admin-access-button.png
|
||||||
:alt: Admin button in control panel, top left
|
:alt: Admin button in control panel, top left
|
||||||
|
```
|
||||||
|
|
||||||
This opens up the JupyterHub admin page, where you can add / delete users,
|
This opens up the JupyterHub admin page, where you can add / delete users,
|
||||||
start / stop peoples' servers and see who is online.
|
start / stop peoples' servers and see who is online.
|
||||||
|
|
||||||
#. Click the **Add Users** button.
|
3. Click the **Add Users** button.
|
||||||
|
|
||||||
.. image:: ../images/admin/add-users-button.png
|
```{image} ../images/admin/add-users-button.png
|
||||||
:alt: Add Users button in the admin page
|
:alt: Add Users button in the admin page
|
||||||
|
```
|
||||||
|
|
||||||
A **Add Users** dialog box opens up.
|
A **Add Users** dialog box opens up.
|
||||||
|
|
||||||
#. Type the names of users you want to add to this JupyterHub in the dialog box,
|
4. Type the names of users you want to add to this JupyterHub in the dialog box,
|
||||||
one per line.
|
one per line.
|
||||||
|
|
||||||
.. image:: ../images/admin/add-users-dialog.png
|
```{image} ../images/admin/add-users-dialog.png
|
||||||
:alt: Adding users with add users dialog
|
:alt: Adding users with add users dialog
|
||||||
|
```
|
||||||
|
|
||||||
You can tick the **Admin** checkbox if you want to give admin rights to all
|
You can tick the **Admin** checkbox if you want to give admin rights to all
|
||||||
these users too.
|
these users too.
|
||||||
|
|
||||||
#. Click the **Add Users** button in the dialog box. Your users are now added
|
5. Click the **Add Users** button in the dialog box. Your users are now added
|
||||||
to the JupyterHub! When they log in for the first time, they can set their
|
to the JupyterHub! When they log in for the first time, they can set their
|
||||||
password - and use it to log in again in the future.
|
password - and use it to log in again in the future.
|
||||||
|
|
||||||
|
|||||||
@@ -268,12 +268,12 @@ Let's create the server on which we can run JupyterHub.
|
|||||||
|
|
||||||
## Step 2: Adding more users
|
## Step 2: Adding more users
|
||||||
|
|
||||||
```{eval-rst}
|
```{include} add_users.txt
|
||||||
.. include:: add_users.txt
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Step 3: Install conda / pip packages for all users
|
## Step 3: Install conda / pip packages for all users
|
||||||
|
|
||||||
```{eval-rst}
|
```{include} add_packages.txt
|
||||||
.. include:: add_packages.txt
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -207,12 +207,12 @@ A new screen with all the options for Virtual Machines in Azure will displayed.
|
|||||||
|
|
||||||
## Step 2: Adding more users
|
## Step 2: Adding more users
|
||||||
|
|
||||||
```{eval-rst}
|
```{include} add_users.txt
|
||||||
.. include:: add_users.txt
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Step 3: Install conda / pip packages for all users
|
## Step 3: Install conda / pip packages for all users
|
||||||
|
|
||||||
```{eval-rst}
|
```{include} add_packages.txt
|
||||||
.. include:: add_packages.txt
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -79,14 +79,14 @@ for custom server installations.
|
|||||||
|
|
||||||
## Step 2: Adding more users
|
## Step 2: Adding more users
|
||||||
|
|
||||||
```{eval-rst}
|
```{include} add_users.txt
|
||||||
.. include:: add_users.txt
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Step 3: Install conda / pip packages for all users
|
## Step 3: Install conda / pip packages for all users
|
||||||
|
|
||||||
```{eval-rst}
|
```{include} add_packages.txt
|
||||||
.. include:: add_packages.txt
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Step 4: Setup HTTPS
|
## Step 4: Setup HTTPS
|
||||||
|
|||||||
@@ -112,12 +112,12 @@ Let's create the server on which we can run JupyterHub.
|
|||||||
|
|
||||||
## Step 2: Adding more users
|
## Step 2: Adding more users
|
||||||
|
|
||||||
```{eval-rst}
|
```{include} add_users.txt
|
||||||
.. include:: add_users.txt
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Step 3: Install conda / pip packages for all users
|
## Step 3: Install conda / pip packages for all users
|
||||||
|
|
||||||
```{eval-rst}
|
```{include} add_packages.txt
|
||||||
.. include:: add_packages.txt
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -208,12 +208,12 @@ Let's create the server on which we can run JupyterHub.
|
|||||||
|
|
||||||
## Step 2: Adding more users
|
## Step 2: Adding more users
|
||||||
|
|
||||||
```{eval-rst}
|
```{include} add_users.txt
|
||||||
.. include:: add_users.txt
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Step 3: Install conda / pip packages for all users
|
## Step 3: Install conda / pip packages for all users
|
||||||
|
|
||||||
```{eval-rst}
|
```{include} add_packages.txt
|
||||||
.. include:: add_packages.txt
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -141,12 +141,12 @@ Let's create the server on which we can run JupyterHub.
|
|||||||
|
|
||||||
## Step 2: Adding more users
|
## Step 2: Adding more users
|
||||||
|
|
||||||
```{eval-rst}
|
```{include} add_users.txt
|
||||||
.. include:: add_users.txt
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Step 3: Install conda / pip packages for all users
|
## Step 3: Install conda / pip packages for all users
|
||||||
|
|
||||||
```{eval-rst}
|
```{include} add_packages.txt
|
||||||
.. include:: add_packages.txt
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -122,12 +122,12 @@ Let's create the server on which we can run JupyterHub.
|
|||||||
|
|
||||||
## Step 2: Adding more users
|
## Step 2: Adding more users
|
||||||
|
|
||||||
```{eval-rst}
|
```{include} add_users.txt
|
||||||
.. include:: add_users.txt
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Step 3: Install conda / pip packages for all users
|
## Step 3: Install conda / pip packages for all users
|
||||||
|
|
||||||
```{eval-rst}
|
```{include} add_packages.txt
|
||||||
.. include:: add_packages.txt
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user