JFrog Artifactory is one of the most advanced repository management applications which integrate seamlessly with continuous integration and delivery tools. It helps you have a single source of truth for all your packages, container images and Helm charts. This guide will walk you through the installation of JFrog Artifactory on Ubuntu 20.04.
With JFrog Artifactory, you use your favorite orchestration tools to manage your application deployments using different configuration packages and application artifacts managed in Artifactory, such as Docker and Helm. It offers a variety of storage solutions that let your repositories scale as your business grows.
Install JFrog Artifactory on Ubuntu 20.04
We will be installing the JFrog’s Artifactory open source edition created to speed up development cycles using binary repositories. You can choose to install JFrog Artifactory on Ubuntu 20.04 from the Debian packages or using Docker container images.
Our installation method is from the debian packages provided in an APT repository. Add the repository to your Ubuntu system by running the following commands.
Step 1: Import repository GPG Key
Start by importing the GPG key used for signing the debian packages.
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
After confirming the importation of GPG key, you can now add the 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
Update APT index:
sudo apt update
Step 3: Install JFrog Artifactory on Ubuntu 20.04
Use the apt package manager to install JFrog Artifactory on Ubuntu 20.04:
sudo apt update sudo apt install jfrog-artifactory-oss
Installation will start immediately.
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: jfrog-artifactory-oss 0 upgraded, 1 newly installed, 0 to remove and 36 not upgraded. Need to get 422 MB of archives. After this operation, 767 MB of additional disk space will be used. Get:1 https://jfrog.bintray.com/artifactory-debs bionic/main amd64 jfrog-artifactory-oss amd64 7.4.3 [422 MB] Fetched 422 MB in 6s (74.2 MB/s) ....
Start and enable the service:
sudo systemctl start artifactory.service sudo systemctl enable artifactory.service
Confirm service status:
$ systemctl status artifactory.service ● artifactory.service - Artifactory service Loaded: loaded (/lib/systemd/system/artifactory.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2020-05-28 01:24:19 CEST; 1min 0s ago Main PID: 8385 (java) Tasks: 0 (limit: 4567) Memory: 1.6M CGroup: /system.slice/artifactory.service ‣ 8385 /opt/jfrog/artifactory/app/third-party/java/bin/java -Djava.util.logging.config.file=/opt/jfrog/artifactory/app/artifactory/tomcat/> May 28 01:24:18 ubuntu su: pam_unix(su:session): session opened for user artifactory by (uid=0) May 28 01:24:19 ubuntu su: pam_unix(su:session): session closed for user artifactory May 28 01:24:19 ubuntu su: (to artifactory) root on none May 28 01:24:19 ubuntu su: pam_unix(su:session): session opened for user artifactory by (uid=0) May 28 01:24:19 ubuntu su: pam_unix(su:session): session closed for user artifactory May 28 01:24:19 ubuntu su: (to artifactory) root on none May 28 01:24:19 ubuntu su: pam_unix(su:session): session opened for user artifactory by (uid=0) May 28 01:24:19 ubuntu su: pam_unix(su:session): session closed for user artifactory May 28 01:24:19 ubuntu systemd: Started Artifactory service. ...
Step 4: Access Artifactory Web Interface
Artifactory can be accessed using the following URL:
You should see Artifactory welcome page.
The default logins are:
Username: admin Password: password
Click the “Get Started” button.
Reset admin password by setting a new one.
Provide base URL for your JFrog.
Select the repositories to be created during installation.
You now have JFrog Artifactory installed on Ubuntu 20.04 Linux machine.
Liquid Software: How to Achieve Trusted Continuous Updates in the DevOps World
$12.99 in stock
Continuous Delivery for Java Apps: Build a CD Pipeline Step by Step Using Kubernetes, Docker, Vagrant, Jenkins, Spring, Maven and Artifactory