Artifacts are the file that contains both compiled code and resources. For example in Java .war, .ear, .jar are the artifacts. Artifact repository is a repository which contains multiple versions of artifacts. JFrog artifactory is one of the popular, advanced repository management tool. It can be integrated with continuous integration and delivery for faster delivery of the product. Devops use JFrog for managing binaries across different environments, security, access control and traceability, support for docker chef etc.
Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform related Software Installation tasks on Ubuntu OS.
In this context, we shall look into how to install the JFrog artifactory in Ubuntu 20.04 and configure it.
To begin, ensure that your system packages is up to date. To do this, execute the following command:
$ sudo apt update
Then, add the GPG key by entering the following command.
$ wget -qO - https://api.bintray.com/orgs/jfrog/keys/gpg/public.key | sudo apt-key add -
Add jfrog repository in your apt list. Just copy and paste the following command in your terminal:
$ echo "deb https://jfrog.bintray.com/artifactory-debs bionic main" | sudo tee /etc/apt/sources.list.d/jfrog.list
Now, let's update apt index:
$ sudo apt update
Next, you can install using jfrog service by entering the following command:
$ sudo apt install jfrog-artifactory-oss
To start the service, run the command:
$ sudo systemctl start artifactory.service
Enable the service:
$ sudo systemctl enable artifactory.service
Check the status of service:
$ systemctl status artifactory.service
Open your browser and enter http://IP_or DOMAIN-NAME:8081/artifactory
Use default username and password to log in.
The default logins are:
You need to reset the admin password.
Setup the base URL, like your domain name to access the JFrog artifactory web UI. You can skip if you don't have any.
Now, the next step is to configure the default proxy. If your enterprise has a proxy gateway for accessing the server, use it otherwise skip it.
Now your installation and basic configuration is finished. You can start creating a repository based on your project.
This article covers how to Install JFrog Artifactory on Ubuntu. JFrog Artifactory is the world’s most advanced repository manager designed to integrate with the majority of continuous integration and delivery tools. With JFrog Artifactory, delivering an end to end automated solution with artifacts tracking from development to production becomes a reality.
Jfrog provides you with an interactive, responsive user interface. It has more features than other artifactory management tools. For more information please visit the official site of JFrog. https://jfrog.com/open-source