From 4ea2ea5fedaa52983d90cc66804157ee738dc0e8 Mon Sep 17 00:00:00 2001 From: Ivan Anfimov Date: Tue, 11 Feb 2025 15:49:57 +0000 Subject: [PATCH] Source Install Ubuntu - fix mistakes For Ubuntu 24.04 64 bit Change-Id: Ib1a1f7a75ed0a005cc262fee2168d681597d1b65 --- doc/source/install/source-install-ubuntu.rst | 38 +++++++++++++++----- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/doc/source/install/source-install-ubuntu.rst b/doc/source/install/source-install-ubuntu.rst index e18fcf4b..77b082ab 100644 --- a/doc/source/install/source-install-ubuntu.rst +++ b/doc/source/install/source-install-ubuntu.rst @@ -16,13 +16,23 @@ Prerequisites #. Install system dependencies +If your use Ubuntu 20.04 64 bit or Ubuntu 22.04 64 bit + .. code-block:: shell sudo apt update - 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 + sudo apt install git python3-pip nginx make ssl-cert + sudo apt 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 ) +If your use Ubuntu 24.04 64 bit + + .. code-block:: shell + + sudo apt update + sudo apt install git python3-pip nginx make ssl-cert + sudo apt install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb + +#. Install nvm (version control system for Node.js) .. code:: shell @@ -34,10 +44,22 @@ Prerequisites .. code:: shell - nvm install --lts=Erbium - nvm alias default lts/erbium + nvm install --lts=gallium + nvm alias default lts/gallium nvm use default +#. Check version node and npm + + .. code:: shell + + node -v + v16.*.* + + .. code:: shell + + npm -v + 8.*.* + #. Install yarn .. code:: shell @@ -53,7 +75,7 @@ We will install the Skyline Console service from source code. .. code-block:: shell - cd ${HOME} + cd /root git clone https://opendev.org/openstack/skyline-console.git .. note:: @@ -67,9 +89,9 @@ We will install the Skyline Console service from source code. .. code-block:: shell - cd ${HOME}/skyline-console + cd /root/skyline-console make package - sudo pip3 install --force-reinstall dist/skyline_console-*.whl + sudo python3 -m pip install --force-reinstall dist/skyline_console-*.whl #. Ensure that skyline folders have been created