Download and extract the Xray installer if required.
Run
configureJas.sh
from the extracted Xray installer directory and provide the necessary inputs as directed.RPM - You can find the file in the following location,
jfrog-xray-<version>-rpm/configureJas.sh
.Deb - You can find the file in the following location,
jfrog-xray-<version>-deb/configureJas.sh
.Linux Archive - You can find the file in the following location,
jfrog-xray-<version>-linux/xray/app/bin/configureJas.sh
User Account for Linux Archive Installation
Use the same user account to install Xray when you run
configureJas.sh
.Xray user used to run the script must have sudo permission to install Ansible from the official upstream package manager. If the user cannot have sudo permission, install Ansible before running this script.
Docker Compose - You can find the file in the following location,
jfrog-xray-<version>-compose/configureJas.sh
Enter the information required by the script.
When the installation is successful, you can find the
kube_config.yaml
file under/opt/jfrog/xray/var/etc
in Deb/RPM installation,<xray installation directory>/var/etc
in Linux Archive installation, and/root/.jfrog/xray/var/etc
for Docker Compose installation.The installation also updates the Xray System YAML file with the entries for JAS.
Note
If you install the k3s cluster on the same machine as Xray (for testing and not for production), and use the Docker Compose installation, update the IP in
kube_config.yaml
to match the IP of the machine. This ensures that Xray can access the k3s cluster from within the container.Restart the Xray service to enabled JAS.
HA Installation
Copy
kube_config.yaml
from the first node to the additional nodes under the same path.You can find
kube_config.yaml
file under/opt/jfrog/xray/var/etc
in Deb/RPM installation,<xray installation directory>/var/etc
in Linux Archive installation, and/root/.jfrog/xray/var/etc
for Docker Compose installation.Run
configureJas.sh
.Choose the option to use the existing
kube_config.yaml
file.Restart the Xray service after the installation is complete.