How to setup JFrog artifactory on your system.

Reading Time: 2 minutes

What is JFrog artifactory ?

JFrog Artifactory is the only universal repository manager that supports all major packaging formats , build tools and CI servers.

This can be used as an artifactory that is used to store artifacts.It is available in different forms. It’s open source , enterprise level etc. It supports pkg managers of any languages . It supports high availability that helps to store the artifacts published after build is complete.

Lets look into how to install JFrog artifactory and run it locally.

Steps to be followed :-

Here we will be installing Jfrog’s opensource artifactory that will be created to speed up the development cycle.

1 – Import repository GPG key

To import run the below code in your terminal

sudo apt update

wget -qO - | sudo apt-key add 

The above two codes will import the GPG key .

2- Next add the Jfrog artifactory

The below steps will add the Jfrog in your ubuntu system.

echo "deb focal main" | sudo tee /etc/apt/sources.list.d/jfrog.list

3 – Install the Jfrog artifactory using the below code.

Now update your system with the below command and then install the JFrog artifactory.

sudo apt update

sudo apt install jfrog-artifactory-oss

Below is the output of the above command.

Next we need to enable and install the service.

sudo systemctl start artifactory.service
sudo systemctl enable artifactory.service

After you run the command successfully check for the status using the below command.

sudo systemctl status artifactory.service

The output will be as below :-

So once installed the service will be up and running.

How to access the artifactory.

So to access the artifactory you need to hover on the port on which it is running . Mostly it is 8081 or 8082 . So head over to localhost:8081 or localhost:8082.

The output will be as shown below

The UI will be as above and once done put the username = admin and Password = password .

Once logged in the there you will get many option such as

  • deploy artifacts
  • artifcatory
  • pipelines
  • security and compliance

Once done you can go with the step as per the use case.

So that is all about the set up and usage of this artifactory.


Written by 

Rishivant is a enthusiastic devops learner at Knoldus. He believes in going 1% up everyday and showcases his learning in his work.