Skip to content

Installation

This content is not available in your language yet.

This guide provides a detailed, step-by-step process for installing OtterScale on your Control Node. Ensure you have completed all prerequisites outlined in the Prerequisites section before proceeding. The installation involves setting up dependencies, configuring the environment, and deploying the system.

  1. Install essential tools and Docker, which are needed for cloning the repository and running containerized services.

    Terminal window
    sudo apt update
    sudo apt install -y git curl
    sudo snap install docker
  2. Download the OtterScale source code from GitHub.

    Terminal window
    git clone https://github.com/otterscale/otterscale.git
  3. Navigate to the cloned directory and set up the environment configuration.

    Terminal window
    cd otterscale
    cp .env.example .env

    Edit the .env file to update the following variables:

    • APP_VERSION: Set to the desired version (e.g., 0.6.0).
    • PUBLIC_API_URL: Set to your Control Node’s IP address and port (e.g., http://192.168.1.100:8299). Replace xx.xx.xx.xx with your actual IP.

    You can edit the file using a text editor like nano:

    Terminal window
    nano .env
  4. Launch the necessary services in the background using Docker Compose.

    Terminal window
    sudo docker-compose up -d

    Verify that the services are running:

    Terminal window
    sudo docker-compose ps
  5. Complete the installation via the web interface.

    1. Open your web browser and access the OtterScale UI at the PUBLIC_API_URL you configured (e.g., http://192.168.1.100:8299).
    2. In the UI, locate and copy the installation CLI command.
    3. Paste and run the command in your terminal with sudo privileges.

    If you encounter any issues during execution, first verify your Firewall Configuration as outlined in the Prerequisites section. Additionally, check the setup.log file in the current directory for detailed error information.