Installing Broker on CentOS
Make sure you have completed all generic prerequisites mentioned in the Prerequisites section.
Install OpenJDK 21 using the following command:
sudo dnf install java-21-openjdk java-21-openjdk-devel -yRun the following command to verify Java installation:
$ java -versionCreate a user and group britivebroker as a best practice before installing the broker:
Creating a group:
sudo groupadd britivebrokerCreating and adding a user to the group:
sudo useradd -g britivebroker britivebroker
Install the broker using the downloaded package. If you are upgrading/updating a broker, see Upgrading Access Broker.
sudo rpm -ivh britivrbroker.rpmChange the directory to /opt:
cd /optVerify if the owner of the folder britive-broker is britivebroker; if not, change the owner of the britive-broker directory:
sudo chown -R britivebroker:britivebroker britive-brokerChange directory to broker's config file:
cd /opt/britive-broker/config/Rename the config file:
mv broker-config-template.yml broker-config.ymlOpen and edit the broker configuration file (broker-config.yml) using vi. For more details about the configuration file, see the Configure broker-config.yml file.
vi broker-config.ymlA list of brokers is updated on Britive after users download and install the broker package on their system.
Start the Britive Broker service:
systemclt service start britive-broker
Upgrading Access Broker
Uninstall the Britive package for the broker and install the desired version.
Ensure /opt/britive-broker/conf/broker-config.yml and /opt/britive-broker/conf/logback.xml have not been modified after the upgrade.