The install.pl
script is a command-line tool for installing the Tungsten
Dashboard. This document provides a detailed guide on how to use this script.
Usage
install.pl [ --docker
, --docker-compose
, -d
] [ --help
, -h
] [ --kubernetes
, --k8
, -k
] [ --methos
, -m
]
Where:
Table 6.1. install.pl
Options
Option | Description |
---|---|
--docker , --docker-compose , -d | Specify the docker-compose deployment method (The same as issuing -m docker-compose) |
--help , -h | Use this option to display the help message. |
-k , --k8 , --kubernetes | Specify the kubernetes deployment method (The same as issuing -m kubernetes). |
-m , --methos | Specify the deployment method (docker-compose or kubernetes). |
For example, to install using Docker Compose, you would run:
shell> ./install.pl -m docker-compose
To install using Kubernetes, you would run:
shell> ./install.pl -m kubernetes
If no method is specified, the script will prompt you to choose a method interactively.
Prerequisites check
The script checks for prerequisites based on the selected installation method:
Docker and docker-compose for the Docker Compose method.
Kubectl and Helm for the Kubernetes method.
If the required tools are not found, the script will display an error message and exit. For more information on prerequisites, see Chapter 2, Prerequisites
Interactive Prompts
During execution, the script will prompt you for various pieces of information, such as the admin username and password, the domain for your application, and the path for your application. Please follow the prompts and provide the necessary information.