How to Install JFrog Artifactory on Ubuntu 16.04/18.04 LTS

 

Introduction 

JFrog Artifactory is cross-stage programming that permits DevOps to deal with numerous bundle storehouses, facilitated locally or in the cloud from a solitary stage.

JFrog Artifactory can coordinates with your present climate, furnishing high accessibility with dynamic/dynamic bunching and multi-site replication to computerize your pipeline and empower quicker deliveries.

In this post, We will install and configure JFrog Artifactory on ubuntu 16.04/18.04 LTS.

 

Step 1: Update the System

 

You need to update the ubuntu repository by using the command.

sudo apt-get update

 

Step 2: Installing Dependencies 

 

In this step, You need to install java package by following the given command.

sudo apt-get install openjdk-8-jdk software-properties-common wget -y

After installation of java packages lets verify it by using the given command.

java -version

You should get the output like this.

Step 3: Adding Repository 

 

Its time to download the JFrog Artifactory by using the given command step by step.

sudo wget -qO - https://api.bintray.com/orgs/jfrog/keys/gpg/public.key | sudo apt-key add -

sudo add-apt-repository "deb [arch=amd64] https://jfrog.bintray.com/artifactory-debs $(lsb_release -cs) main"

 

Step 4: Installing JFrog Artifactory

 

Here you need to update the ubuntu repository and after that you need to install the JFrog Artifactory by following the commands.  

sudo apt-get update
sudo apt-get install jfrog-artifactory-oss -y

 

Step 5: Controlling Services

 

By default, You will get the JFrog Artifactory service in stop state, To verify it use the given command.

sudo systemctl status artifactory.service

You need to enable the service on boot, Use the following command for that.

sudo systemctl enable artifactory.service

 

As we can already see that by default service is on stop state, You need to use the given command for that.


sudo systemctl start artifactory.service

Verify the service is running or not by following the command.

sudo systemctl status artifactory.service

You should get output like this.

 

Step 6: Port Testing

 

You need to verify the port 8081 and port 8082 with help of netstate command, JFrog running on that ports.

netstat -plntu

 You should get the output like this.

Step 7: UFW Rules

 

Now you need to open the 8081 and 8082 ports in UFW firewall if you have enabled it.

sudo ufw status 
sudo ufw allow 8081
sudo ufw allow 8082


 

Step 8: Access Admin Panel of Artifactory

 

In this step, We need to access the Admin panel of JFrog Artifactory with given web address.

http://localhost:8082 or http://IP_Address:8082

 When you get the login page like this, So then You need to use the default username password.


Username – admin

Password – password

 

 In the next step, You will get the Welcome webpage like this, Just click on Get started button.

Its time set a new password to protect the JFrog Artifactory.

Here you need to update your server Public IP address or local IP address as well.

Skip this proxy setting for now.

In the end, You should get the congratulations web page like this, Just click on Finish button.

Here we are able to get the JFrog Artifactory dashboard as showing in the screenshot.

Here you can find more article for repository server, You should look into this also.

 

1. Nexus

 

Conclusion

This post told you the best way to introduce JFrog Artifactory on Ubuntu 18.04 | 16.04. In the event that you discover any blunder above, if it’s not too much trouble utilize the structure underneath to report it.

How to Install JFrog Artifactory on Ubuntu 16.04/18.04 LTS

One thought on “How to Install JFrog Artifactory on Ubuntu 16.04/18.04 LTS

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top