Please visit my website and subscribe to my youtube channel for more articles

https://devops4solutions.com/

Download artifactory ( Installed on windows)

For linux

Copy software from your machine to linux

Java should be present

Install JAVA 8

yum install wget ( in case wget is not found)

$ wget --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u161-b12/2f38c3b165be4555a1fa6e98c45e0808/jdk-8u161-linux-x64.rpm$ sudo yum localinstall jdk-8u161-linux-x64.rpmexport JAVA_HOME=/usr/java/jdk1.8.0_161/
export JRE_HOME=/usr/java/jdk1.8.0_161/jre
PATH=$PATH:$HOME/bin:$JAVA_HOME/binexport PATH
sudo alternatives --config java

Start artifactory.bat/.sh,present in bin folder

Go to your browser and visit IP_ADDRESS:8081 to visit Artifactory in the browser:

Login — default username password — admin/password

Image for post

Create a Local repository to store package files created by the Jenkins project:

Click on Admin -> Repositories ->Local

Image for post

Click on New:

Image for post

Select Maven as a Project Type:

Image for post

Give a Repository Key “jenkins-release” and click on Save and Finish:

Image for post

Similarly, create a Jenkins-snapshot repository:

Image for post

Verify all repositories in the list:

Image for post

Create a user that you can utilize from Jenkins to access Artifactory:

Image for post

Click on New:

Image for post

Provide user details and Save:

Image for post

Verify the list of users:

Image for post

Provide the newly created user with permissions to the repositories:

Security -> Pemissions

Image for post

Create a new permission “jenkins-permission”

Select Repositories and click on Save & Finish:

Image for post

Check the Permissions Management section in Artifactory for recent changes:

Image for post

Edit the permissions and assign the user: If user is already admin then it has all permissions

Image for post

Click on Save & Finish:

Image for post

Check the Permissions Management section in Artifactory for recent changes:

Image for post

Jfrog setup is complete

Written by

Devops Automation Enginneer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store