How To Install & configure JFrog Artifactory on Ubuntu 20.04

JFrog Artifactory is a free & open-source artifact repository manager. It is used for providing end-to-end automation, binaries management (binary resources) & it can be stored and modified in remote repositories according to configuration values that control caching and proxy. It artifact repository manager which integrates seamlessly with CI/CD tools.

JFrog Artifactory is used for managing application deployments using various configuration softwares & application artifacts such as Docker and Helm.

Install JFrog Artifactory on ubuntu

Update the system.

apt-get update

Install Gnupg2 package.

apt-get install gnupg2 

Add Repo & Key.

wget -qO - https://api.bintray.com/orgs/jfrog/keys/gpg/public.key | apt-key add -
&
echo "deb https://jfrog.bintray.com/artifactory-debs bionic main" | 
tee /etc/apt/sources.list.d/jfrog.list

Update the packages.

apt-get update

Install JFrog Artifactory.

apt-get install jfrog-artifactory-oss

Here is the command output.

......

************ SUCCESS ****************
The Installation of Artifactory has completed successfully.

NOTE: It is highly recommended to use Artifactory with an external 
database (MySQL, Oracle, Microsoft SQL Server, PostgreSQL, MariaDB).
..     
> systemctl start artifactory.service

Check Artifactory status with:
> systemctl status artifactory.service
..

Installation directory was set to /opt/jfrog/artifactory
...

Triggering migration script, this will migrate if needed ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.6) ...

Start & Enable the JFrog Service.

systemctl start artifactory
systemctl enable artifactory

Check the JFrog Service status.

systemctl status artifactory

Here is the command output.

/lib/systemd/system/artifactory.service; enabled; vendor preset: enabled)
     Active: active (running) ; 9s ago
   Main PID: 6019 (java)
      Tasks: 0 (limit: 4706)
     Memory: 1.6M
     CGroup: /system.slice/artifactory.service

Access JFrog Artifactory web-interface

http://server-ip:8082/ui/login/

Here is the output.

  • By default,username is admin .
  • password is password.
  • Click on Login.

 

Fig 2

 

  • Click on Get started.

 

Fig 2

 

  • Change the default password.
  • Click on Next.

 

Fig. 3

 

  • Set the custom URL for accessing the JFrog platform.
  • Click on Next.

 

Fig. 5

 

  • Configure the default Proxy like host name, port number ,user-name & password otherwise skip the proxy configuration.
  • Click on Next.

 

Fig. 3

 

  • Click on FInish.
  • Now, JFrog platform is Ready.

 

Fig. 3

 

  • Click on Create a New Repository.

 

Fig. 4

 

  • Select Repo Type : basic ,advanced or replications.
  • Click on Package type.

JFrog

 

  • Choose Package type. Select Generic.

 

Fig. 7

  • Provide Repository Name.

 

Fig. 8

 

  • Click on Save & Finish.

Fig. 4

 

  • Now, New Local Repository is Ready.

 

Fig. 5

 

Leave a Reply

Your email address will not be published.