Remove Node.js

This commit is contained in:
Jeremy Tuloup
2021-02-08 18:01:28 +01:00
parent 0b5f9c6788
commit 873e6bf661
4 changed files with 5 additions and 76 deletions

View File

@@ -40,9 +40,7 @@ Apt packages
============
Base operating system packages, including Python itself, are installed
via ``apt`` from the base Ubuntu repositories. The one exception to this
is nodejs, which is installed from the `nodesource <https://github.com/nodesource/distributions>`_
apt repository. The Ubuntu provided version of nodejs is usually too old.
via ``apt`` from the base Ubuntu repositories.
We generally do not pin versions of packages provided by apt, instead
just using the latest versions provided by Ubuntu.

View File

@@ -4,21 +4,19 @@
What does the installer do?
===========================
This document details what exactly the installer does to the machine it is
This document details what exactly the installer does to the machine it is
run on.
``apt`` Packages installed
==========================
The packages ``python3`` and ``python3-venv`` are installed from the apt repositories.
Since we need an recent & supported version of ``nodejs``, we install it from
`nodesource <https://github.com/nodesource/distributions>`_.
Hub environment
===============
JupyterHub is run from a python3 virtual environment located in ``/opt/tljh/hub``. It
uses the system's installed python and is owned by root. It also contains a binary install
uses the system's installed python and is owned by root. It also contains a binary install
of `traefik <http://traefik.io/>`_. This virtual environment is completely managed by TLJH.
.. note::
@@ -34,7 +32,7 @@ User environment
By default, a ``miniconda`` environment is installed in ``/opt/tljh/user``. This contains
the notebook interface used to launch all users, and the various packages available to all
users. The environment is owned by the ``root`` user. JupyterHub admins may use
users. The environment is owned by the ``root`` user. JupyterHub admins may use
to ``sudo -E conda install`` or ``sudo -E pip install`` packages into this environment.
This conda environment is added to ``$PATH`` for all users started with JupyterHub. If you
@@ -49,7 +47,7 @@ This should let you run various ``conda`` and ``pip`` commands. If you run into
.. code-block:: bash
sudo env PATH=${PATH} <command>
sudo env PATH=${PATH} <command>
By default, ``sudo`` does not respect any custom environments you have activated. The ``env PATH=${PATH}``
'fixes' that.