Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to install Apache Brooklyn on Ubuntu

Shulou Source: shulou.com Published: 2022-06-01 02:12:56 10月02日 Update

This article will explain in detail how to install Apache Brooklyn on Ubuntu. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

The purpose of this article is to install brooklyn on Ubuntu

Prerequisites:

Java environment, 1.6 +

Maven3

Specific installation:

download

The latest version is: apache-brooklyn-0.7.0-M2-incubating.tar.gz

Download, decompress:

Tar xvfz apache-brooklyn-0.7.0-M2-incubating.tar.gz

Cd apache-brooklyn-0.7.0-M2-incubating

Compile and install:

Mvn clean install-DskipTests

The results are obtained:

Usage/dist/target/brooklyn-0.7.0-M2-incubating-dist.tar.gz

Extract the compiled package (adjust the installation directory yourself)

Tar-zxf brooklyn-0.7.0-M2-incubating-dist.tar.gz

A brooklyn-0.7.0-M2-incubating directory will be generated

Run brooklyn

Cd brooklyn-0.7.0-M2-incubating

Bin/brooklyn launch

To get the running result, check the page http://127.0.0.1:8081.

It indicates that the installation is successful, and the specific configuration will be modified according to the specific situation.

Event description:

Because the process is constantly downloading packages from the Internet for compilation, if you do not modify the settings.xml file, then the required jar packages are downloaded from the maven repository. The whole compilation process is actually carried out according to the following process:

The main problem with the compilation process is that the jar package and pom files may not be downloaded.

-- "you can choose not to modify maven's settings.xml, but you need to manually complete the jar or pom files needed during the compilation process.

-- "you can also change the image of the settings.xml file to the image address of oscchina.

This is the end of the article on "how to install Apache Brooklyn on Ubuntu". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Tags: Compile process file article more directory result mirror run good practical successful continuous event repository prerequisites content address situation manual Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS MariaDB Xiaomi Microsoft Shulou Tech Info