The installer script provides you an interactive way to install Distribution and its dependencies. All install types are supported.
All install types are supported, including Docker Compose, RPM, and Debian.
Before you proceed with the installation, review the system requirements.
Complete the following steps to install the product.
Extract the contents of the compressed archive and go to the extracted folder.
Docker Compose/RPM/DEB
tar -xvf jfrog-distribution-<version>-<compose|rpm|deb>.tar.gz cd jfrog-distribution-<version>-<compose|rpm|deb>
OS user permissions for Linux archive
When running Distribution, the installation script creates a user called
distribution
by default, which must have run and execute permissions on the installation directory.We recommend that you extract the Distribution download file into a directory that gives run and execute permissions to all users such as
/opt
.mv jfrog-distribution-<version>-linux.tar.gz /opt/ cd /opt tar -xf jfrog-distribution-<version>-linux.tar.gz mv jfrog-distribution-<version>-linux distribution cd distribution
Linux Archive
mv jfrog-distribution-<version>-linux.tar.gz /opt/ cd /opt tar -xf jfrog-distribution-<version>-linux.tar.gz mv jfrog-distribution -<version>-linux distribution cd distribution
.env file included within the Docker-Compose archive
The .env file is used by docker-compose and is updated during installations and upgrades.
Some operating systems do not display dot files by default. If you make any changes to the file, remember to backup before an upgrade.
Run the installer script.
The script prompts you with a series of mandatory inputs, including the
jfrogURL
(custom base URL) andjoinKey
.Docker Compose
./config.sh
RPM/Debian
./install.sh
Linux archive
distribution/app/bin/install.sh --user <user name> --group <group name> -h | --help : [optional] display usage -u | --user : [optional] (default: distribution) user which will be used to run the product, it will be created if its unavailable -g | --group : [optional] (default: distribution) group which will be used to run the product, it will be created if its unavailable
Check prerequisites for Distribution in Linux Archive before running the install script.
Validate and customize the product configuration (optional), including the third party dependencies connection details and ports.
Start and manage the Distribution service.
systemd OS
systemctl start|stop distribution.service
systemv
service distribution start|stop
Docker Compose
cd jfrog-distribution-<version>-compose # Starting from Distribution 2.5.x Redis has been moved to a compose file of its own, this needs to be started before starting other services docker-compose -p distribution-redis -f docker-compose-redis.yaml up -d # Starting from 2.5.x, PostgreSQL needs to be started before starting the other services. docker-compose -p distribution-postgres -f docker-compose-postgres.yaml up -d docker-compose -p distribution up -d docker-compose -p distribution ps docker-compose -p distribution down
Linux Archive
distribution/app/bin/distribution.sh start|stop
You can install and manage Distribution as a service in Linux archive installation. For more information, see Start Distribution section under Linux Archive Manual Installation .
Access Distribution from your browser at:
http://<jfrogUrl>/ui/
.Go to the Distribution tab in the Application module in the UI.
Check the Distribution log.
tail -f $JFROG_HOME/distribution/var/log/console.log
Configure log rotation of the console log
The
console.log
file can grow quickly since all services write to it. For more information, see configure the log rotation.