mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Merge pull request #253 from yuvipanda/cleanup-server
Move custom server troubleshooting code to its own page
This commit is contained in:
@@ -130,6 +130,7 @@ here to better support your favorite provider!
|
|||||||
|
|
||||||
troubleshooting/providers/google
|
troubleshooting/providers/google
|
||||||
troubleshooting/providers/amazon
|
troubleshooting/providers/amazon
|
||||||
|
troubleshooting/providers/custom
|
||||||
|
|
||||||
Contributing
|
Contributing
|
||||||
============
|
============
|
||||||
|
|||||||
@@ -25,27 +25,15 @@ Pre-requisites
|
|||||||
#. Ability to ``ssh`` into the server & run commands from the prompt.
|
#. Ability to ``ssh`` into the server & run commands from the prompt.
|
||||||
#. A **IP address** where the server can be reached from the browsers of your target audience.
|
#. A **IP address** where the server can be reached from the browsers of your target audience.
|
||||||
|
|
||||||
|
If you run into issues, look at the specific :ref:`troubleshooting guide <troubleshooting/providers/custom>`
|
||||||
|
for custom server installations.
|
||||||
|
|
||||||
Step 1: Installing The Littlest JupyterHub
|
Step 1: Installing The Littlest JupyterHub
|
||||||
==========================================
|
==========================================
|
||||||
|
|
||||||
#. Using a terminal program, SSH into your server. This should give you a prompt where you can
|
#. Using a terminal program, SSH into your server. This should give you a prompt where you can
|
||||||
type commands.
|
type commands.
|
||||||
|
|
||||||
#. If your server is behind a firewall and needs a proxy to reach the internet:
|
|
||||||
|
|
||||||
.. code-block:: bash
|
|
||||||
|
|
||||||
export http_proxy=<your_proxy>
|
|
||||||
|
|
||||||
#. Some requests will fail if your certs are self-signed. Copy the text below and paste it
|
|
||||||
into the terminal after replacing ``</directory/with/your/ssl/certificates>``
|
|
||||||
with the **path of the directory containing your ssl certificates** (don't include the brackets!).:
|
|
||||||
|
|
||||||
.. code::
|
|
||||||
|
|
||||||
export REQUESTS_CA_BUNDLE=</directory/with/your/ssl/certificates>
|
|
||||||
sudo npm config set cafile=</directory/with/your/ssl/certificates>
|
|
||||||
|
|
||||||
#. Make sure you have ``Python3``, ``curl`` and ``git`` installed. On latest Ubuntu you can get all of these with:
|
#. Make sure you have ``Python3``, ``curl`` and ``git`` installed. On latest Ubuntu you can get all of these with:
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|||||||
30
docs/troubleshooting/providers/custom.rst
Normal file
30
docs/troubleshooting/providers/custom.rst
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
.. _troubleshooting/providers/custom:
|
||||||
|
|
||||||
|
=========================================
|
||||||
|
Troubleshooting issues on your own server
|
||||||
|
=========================================
|
||||||
|
|
||||||
|
This is an incomplete list of issues people have run into
|
||||||
|
when installing TLJH on their own servers, and ways they
|
||||||
|
have fixed them.
|
||||||
|
|
||||||
|
Outgoing HTTP proxy required
|
||||||
|
============================
|
||||||
|
If your server is behind a firewall that requires a HTTP proxy to reach
|
||||||
|
the internet, run these commands before running the installer
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
export http_proxy=<your_proxy-server>
|
||||||
|
|
||||||
|
HTTPS certificate interception
|
||||||
|
==============================
|
||||||
|
|
||||||
|
If your server is behind a firewall that intercepts HTTPS requests
|
||||||
|
and re-signs them, you might have to explicitly tell TLJH which
|
||||||
|
certificates to use.
|
||||||
|
|
||||||
|
.. code::
|
||||||
|
|
||||||
|
export REQUESTS_CA_BUNDLE=</directory/with/your/ssl/certificates>
|
||||||
|
sudo npm config set cafile=</directory/with/your/ssl/certificates>
|
||||||
Reference in New Issue
Block a user