Path: blob/main/L4assets/Databand Labs Assets/Installation_commands(1).txt
1928 views
# Install and test docker1sudo curl -fsSL https://get.docker.com -o get-docker.sh2sudo sh get-docker.sh3sudo docker run hello-world456# Install and test docker-compose78# Instructions from official docker documentation do not work: the first two commands run, but they state that docker compose is already installed. Then the last command does not find docker compose9# sudo apt-get update10# sudo apt-get install docker-compose-plugin11# docker compose version1213# These instructions work. Note the hardcoded version of docker compose on curl command, which is not ideal and should be verified14sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose15sudo chmod +x /usr/local/bin/docker-compose16docker-compose --version171819# Test installation of rsync20sudo rsync --version2122# Copy installation files - via ssh or Filezilla to any directory, for example to /home/itzuser/databand_installation2324# Change permissions on the copied file25sudo chmod 777 databand-1.0.10-docker-compose.tar.gz2627# Untar the file in the installation directory28sudo tar -xvf databand-1.0.10-docker-compose.tar.gz2930# Switch to the installation directory31sudo ./databand-cmd.sh setup32sudo ./databand-cmd.sh load-images33sudo ./databand-cmd.sh create-secrets3435# Switch to the /opt/databand directory36sudo vi custom.env3738# Update custom.env to either use the local or external Postgres39# Vi commands40# i to insert, Esc to exit the insert mode41# !wq: to save the file4243# From the /opt/databand run ./databand-cmd.sh start to start databand.44sudo ./databand-cmd.sh start4546# Optional you can run ./databand-cmd.sh status to validate that everything is up and running.47sudo ./databand-cmd.sh status4849# Create new Databand user by running command ./databand-cmd.sh create-user, follow interective prompt.5051# Now you can access UI in the http://$INSTANCE_IP:8080/ URL, and login with user created in step 8.5253