Forked from erikrs92/gist:2f310e7604afbf97d6fa640e68c98fc5
Created
December 18, 2024 06:31
-
-
Save tmxdyf/ec238caff9337c2c43dae3d72689f420 to your computer and use it in GitHub Desktop.
Jfrog OSS - Linux Install - ubuntu 24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Login sudo or user sudo permisions, and add user artifactory. | |
| # Step 1: Import repository GPG Key | |
| $ sudo apt update | |
| $ wget -qO - https://api.bintray.com/orgs/jfrog/keys/gpg/public.key | sudo apt-key add - | |
| # Step 2: Add JFrog Artifactory to Ubuntu 20.04 | |
| $ echo "deb https://jfrog.bintray.com/artifactory-debs bionic main" | sudo tee /etc/apt/sources.list.d/jfrog.list | |
| $ sudo apt update | |
| #Step 3: Install JFrog Artifactory on Ubuntu 20.04 | |
| $ sudo apt install jfrog-artifactory-oss | |
| # Update File system.yaml. | |
| $ sudo nano /var/opt/jfrog/artifactory/etc/system.yaml | |
| ..... | |
| database: | |
| type: postgresql | |
| driver: org.postgresql.Driver | |
| url: "jdbc:postgresql://DATABASE_SERVER:5432/DBNAME?currentSchema=SCHEMANAME" | |
| username: USER | |
| password: PASSWORD | |
| ..... | |
| # Start and enable the service: | |
| $ sudo systemctl start artifactory.service | |
| $ sudo systemctl enable artifactory.service | |
| # Log in web ui: Port 8081 or 8082 | |
| # Go to http://SERVERIP_OR_DOMAIN:8081/artifactory | |
| # The default logins are: | |
| # Username: admin | |
| # Password: password | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment