Today we are going to learn that how to install JFrog Artifactory on Ubuntu 20.04. Before proceeding towards the installation process let’s have a short introduction about JFrog Artifactory.
JFrog Artifactory is most popular repository management application that provides you a standalone platform for all of your packages, container images & Helm charts. By using JFrog Artifactory you can use your favorite tools for managing your applications deployments with the help of various config packages & applications artifacts being manages Artifactory e.g Docker & Helm. With JFrog Artifactory you avail various kinds of storage solution. So, let’s move towards the installation of JFrog Artifactory on Ubuntu 20.04.
Step 1: Update Your System
sudo apt -y update
Step 2: Import GPG Repository Key
Add the GPG repository key for JFrog Artifactory on Ubuntu 20.04 by hitting the below command.
wget -qO - https://api.bintray.com/orgs/jfrog/keys/gpg/public.key | sudo apt-key add -
After it run the below command to add the JFrog Artifactory to the Ubuntu 20.04.
echo "deb https://jfrog.bintray.com/artifactory-debs bionic main" | sudo tee /etc/apt/sources.list.d/jfrog.list
After it run the update command to take effects of the changes.
sudo apt update
Step 3: Installing JFrog Artifactory On Ubuntu 20.04
To install the JFrog Artifactory on Ubuntu 20.04, fire the below command in your terminal.
sudo apt update sudo apt install jfrog-artifactory-oss
You’ll see the similar output:
[email protected]:~$ sudo apt install jfrog-artifactory-oss Reading package lists… Done Building dependency tree Reading state information… Done The following packages were automatically installed and are no longer required: dbconfig-common libboost-context1.71.0 libboost-coroutine1.71.0 libboost-program-options1.71.0 libboost-regex1.71.0 linux-headers-5.4.0-26 linux-headers-5.4.0-26-generic linux-image-5.4.0-26-generic linux-modules-5.4.0-26-generic linux-modules-extra-5.4.0-26-generic Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: jfrog-artifactory-oss 0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded. Need to get 425 MB of archives. After this operation, 764 MB of additional disk space will be used. Get:1 https://jfrog.bintray.com/artifactory-debs bionic/main amd64 jfrog-artifactory-oss amd64 7.5.7 [425 MB] Fetched 425 MB in 1min 38s (4,346 kB/s)
Then start the JFrog Artifactory services.
sudo systemctl start artifactory.service
To start JFrog Artifactory on boot fire the below command in your terminal.
sudo systemctl enable artifactory.service
Verify the status of JFrog Artifactory by typing.
sudo systemctl status artifactory.service
$ 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-06-18 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/> Jun 18 01:24:18 ubuntu su: pam_unix(su:session): session opened for user artifactory by (uid=0) Jun 18 01:24:19 ubuntu su: pam_unix(su:session): session closed for user artifactory Jun 18 01:24:19 ubuntu su: (to artifactory) root on none Jun 18 01:24:19 ubuntu su: pam_unix(su:session): session opened for user artifactory by (uid=0) Jun 18 01:24:19 ubuntu su: pam_unix(su:session): session closed for user artifactory Jun 18 01:24:19 ubuntu su: (to artifactory) root on none Jun 18 01:24:19 ubuntu su: pam_unix(su:session): session opened for user artifactory by (uid=0) Jun 18 01:24:19 ubuntu su: pam_unix(su:session): session closed for user artifactory Jun 18 01:24:19 ubuntu systemd: Started Artifactory service. …
Step 4: Accessing JFrog Artifactory Web Interface
Visit the given link to go to the JFrog Artifactory dashboard from Web browser.
Provide the below credentials to login.
Username = admin
Password = password
Then hit the “Get Started” button.
For security reasons, set up the new admin password and hit “Next” button.
After it type the base URL for your JFrog in the box and click on “Next” button.
Choose the repositories you want to create during the installation process.
And hit “Next” button.
Congratulations! You’ve successfully installed and set up the JFrog Artifactory on Ubuntu 20.04.