This topic describes installation of the Bridge Client service using a Linux archive.
Review and verify prerequisites before you begin installation.
To install the Bridge Client with a Linux Archive:
Download the latest Bridge Client Linux archive from the official JFrog releases page.
Move the downloaded file to the
/optdirectory. The Bridge service and the user that are created during installation inherit required run and execute permissions from the/optdirectory.mv jfrog-bridge-<version>-linux.tar.gz /opt/
Go to the
/optdirectory. Extract the contents of the archive, and rename the extracted folder tobridge.cd /opt tar -xf jfrog-bridge-<version>-linux.tar.gz mv jfrog-bridge-<version>-linux bridge
Run the installer.
bridge/app/bin/install.sh [-u <user_name>] [-g <group_name>] [-h]
where:
-h(optional) displays usage information-u(optional) specifies the user that runs the product. The installer creates this user if it does not exist. By default, a user namedbridgeis created.-g(optional) specifies the group that runs the product. The installer creates this group if it does not exist. By default, a group namedbridgeis created.The installer runs as an interactive script. At the following prompt, enter the URL of the self-managed JPD that will host the Bridge client. This URL is used to register the Bridge client in the JPD topology.
The JFrog URL allows Bridge to connect to a JFrog Platform Instance. (You can copy the JFrog URL from Administration > Security > General > Connection details) JFrog URL [http(s)://<self_managed_JPD>:8082]:
At the following prompt, enter the Join Key defined of the self-managed JPD.
The Join Key is the secret key used to establish trust between services in the JFrog Platform. (You can copy the Join Key from Administration > Security > General > Connection details) Join Key:
At the following prompt, enter the Master Key of the self-managed JPD.
Provide the Artifactory's master key. It can be found in the data directory of the jpd under /etc/security/master.key Master Key:
At the following prompt, enter the IP address of the machine that runs the script. Otherwise, the script will take the default value.
For IPv6 address, enclose value within square brackets as follows : [<ipv6_address>] Please specify the IP address of this machine (Default: 0.0.0.0):
Press Enter. The installer script creates directories and completes the setup.
Installation complete. Installation log can be found at [/opt/bridge/var/log/install.log] NOTE : Make sure /opt/bridge is owned by bridge. chown -R bridge:bridge /opt/bridge
If necessary, change the ownership of the entire
/opt/bridgedirectory to the bridge user and group to prevent permission issues.chown -R <user name>:<group name> /opt/bridge
Access the configuration file at
bridge/var/etc/system.yamland modify it to customize connection details, ports, the node ID, and other settings.Use systemd or init.d commands to start and manage the service.
Using systemd:
systemctl <start|stop|status> bridge.service
Using init.d:
service bridge <start|stop|status>
Use the following bash command to monitor Bridge service log entries:
tail -f bridge/var/log/console.log
Bridge Client Installation in an HA Cluster
Repeat the procedure described above to install the Bridge Client service on several nodes in an HA cluster:
In step 5, use the same URL for all nodes in the cluster.
In step 8, use the unique IP address of each node.