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.
-
Install Required Packages and Docker
Section titled “Install Required Packages and Docker”Install essential tools and Docker, which are needed for cloning the repository and running containerized services.
Terminal window sudo apt updatesudo apt install -y git curlsudo snap install docker -
Clone the OtterScale Repository
Section titled “Clone the OtterScale Repository”Download the OtterScale source code from GitHub.
Terminal window git clone https://github.com/otterscale/otterscale.git -
Configure the Environment File
Section titled “Configure the Environment File”Navigate to the cloned directory and set up the environment configuration.
Terminal window cd otterscalecp .env.example .envEdit the
.envfile 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). Replacexx.xx.xx.xxwith your actual IP.
You can edit the file using a text editor like
nano:Terminal window nano .env -
Start OtterScale Services
Section titled “Start OtterScale Services”Launch the necessary services in the background using Docker Compose.
Terminal window sudo docker-compose up -dVerify that the services are running:
Terminal window sudo docker-compose ps -
Execute the Installation Script
Section titled “Execute the Installation Script”Complete the installation via the web interface.
- Open your web browser and access the OtterScale UI at the
PUBLIC_API_URLyou configured (e.g.,http://192.168.1.100:8299). - In the UI, locate and copy the installation CLI command.
- 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.logfile in the current directory for detailed error information. - Open your web browser and access the OtterScale UI at the