Dev support is used to quickly develop and test bigtop-manager, which runs on the docker containers. Following steps are based on RockyLinux-8.
The scripts require docker to be installed, since the compile process will run in a docker container and Bigtop-Manager cluster also deploys on containers.
RHEL (Rocky 8) :
yum install -y git docker
git clone https://github.com/apache/bigtop-manager.git
Run the setup command, you will get bigtop-manager/develop:rocky-8
image. It has the environment needed to compile Bigtop-Manager and run servers such as Bigtop-Manager Server, Bigtop-Manager Agent, Mysql, etc.
RHEL (Rocky 8) :
/bin/bash dev-support/docker/image/build.sh rocky-8
RHEL (Rocky 8) :
/bin/bash dev-support/docker/containers/build.sh -e postgres -c 3 -o rocky-8 [--skip-compile]
Now you can access Web UI which exposes on http://localhost:18080
. Log in with username admin
and password admin
.
Clean up the containers when you are done developing or testing.
RHEL (Rocky 8) :
/bin/bash dev-support/docker/containers/build.sh -d