From 5c980f5debbd3ef6120ef74d4b1649d1aeaab1cc Mon Sep 17 00:00:00 2001 From: yangsngshaoxue Date: Thu, 1 Sep 2022 14:17:38 +0800 Subject: [PATCH] docs: fix source install guide fix source install guide Change-Id: I723f01bcc92fc9245a78aa9174c1493e3fd4340e --- doc/source/install/source-install-ubuntu.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/source/install/source-install-ubuntu.rst b/doc/source/install/source-install-ubuntu.rst index 1d0131e6..d69b0827 100644 --- a/doc/source/install/source-install-ubuntu.rst +++ b/doc/source/install/source-install-ubuntu.rst @@ -19,7 +19,7 @@ Prerequisites .. code-block:: shell sudo apt update - sudo apt install -y git python3-pip nginx make + sudo apt install -y git python3-pip nginx make ssl-cert sudo apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb #. Install nvm ( version control system for nodejs ) @@ -86,6 +86,12 @@ We will install the Skyline Console service from source code. .. code-block:: shell skyline-nginx-generator -o /etc/nginx/nginx.conf + sudo sed -i "s/server .* fail_timeout=0;/server 0.0.0.0:28000 fail_timeout=0;/g" /etc/nginx/nginx.conf + + .. note:: + + We need to change the ``upstream skyline`` value in ``/etc/nginx/nginx.conf`` to ``0.0.0.0:28000``. + Default value is ``unix:/var/lib/skyline/skyline.sock``. Finalize installation --------------------- @@ -95,3 +101,4 @@ Finalize installation .. code-block:: shell sudo systemctl start nginx.service + sudo systemctl enable nginx.service