From 62d9a70f20ae46908c2cd2860f13c45e98e1d776 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Thu, 21 Jan 2021 17:56:06 +0530 Subject: [PATCH] add nodejs as dependency for building from source Signed-off-by: Rohit Yadav --- source/installguide/building_from_source.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/installguide/building_from_source.rst b/source/installguide/building_from_source.rst index 21000e6192..1566d61531 100644 --- a/source/installguide/building_from_source.rst +++ b/source/installguide/building_from_source.rst @@ -146,7 +146,9 @@ You will need, at a minimum, the following to compile CloudStack: #. Maven (version 3) -#. Java (Java 8/OpenJDK 1.8) +#. Java (Java 11/OpenJDK 1.11) + +#. NodeJS (LTS/12) #. Apache Web Services Common Utilities (ws-commons-util) @@ -254,6 +256,8 @@ several other dependencies. Note that we recommend using Maven 3. $ sudo apt-get install python-software-properties $ sudo apt-get update $ sudo apt-get install debhelper openjdk-11-jdk libws-commons-util-java genisoimage libcommons-codec-java libcommons-httpclient-java liblog4j1.2-java maven + $ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - + $ sudo apt-get install -y nodejs .. note:: @@ -414,6 +418,8 @@ Linux. .. parsed-literal:: # yum install java-11-openjdk-devel genisoimage mysql mysql-server ws-commons-util MySQL-python python-setuptools createrepo + # curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash - + # yum install nodejs Next, you'll need to install build-time dependencies for CloudStack with Maven. We're using Maven 3, so you'll want to grab `Maven 3.0.5 (Binary tar.gz)