Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Artifactory Install and Configurations Guide

Prerequisite

https://www.jfrog.com/confluence/display/JFROG/System+Requirements

Artifactory OSS Install in Linux Manually


$ cd /opt/
$ wget https://releases.jfrog.io/artifactory/bintray-artifactory/org/artifactory/oss/jfrog-artifactory-oss/7.21.5/jfrog-artifactory-oss-7.21.5-linux.tar.gz
$ cd artifactory-pro-7.21.5
$ cd app/bin
$ ./artifactory.sh start

# BROWSE - http://15.207.221.219:8082
# Username/Password - admin/password

Artifactory Pro Install in Linux Manually


$ cd /opt/
$ wget https://releases.jfrog.io/artifactory/artifactory-pro/org/artifactory/pro/jfrog-artifactory-pro/7.23.3/jfrog-artifactory-pro-7.23.3-linux.tar.gz
$ tar -zxvf jfrog-artifactory-pro-7.23.3-linux.tar.gz
$ cd jfrog-artifactory-pro-7.23.3
$ cd app/bin
$ ./artifactory.sh start

$ ./artifactory.sh status
Using default router's certificate and private key
router is running (PID: 10621)

metadata is running (PID: 10767)
event is running (PID: 10878)
frontend is running (PID: 10994)
Artifactory is running, on pid=11080

# BROWSE - http://15.207.221.219:8082
# Username/Password - admin/password

Artifactory Pro Install in Linux using Debian Package


# To determine your distribution, run lsb_release -c or cat /etc/os-release
# Example:echo "deb https://releases.jfrog.io/artifactory/artifactory-pro-debs xenial main" | sudo tee -a /etc/apt/sources.list;
wget -qO - https://releases.jfrog.io/artifactory/api/gpg/key/public | sudo apt-key add -;
echo "deb https://releases.jfrog.io/artifactory/artifactory-pro-debs xenial main" | sudo tee -a /etc/apt/sources.list;
sudo apt-get update && sudo apt-get install jfrog-artifactory-pro
deb https://releases.jfrog.io/artifactory/artifactory-pro-debs xenial main

Start Artifactory with:
$ systemctl start artifactory.service

Check Artifactory status with:
$ systemctl status artifactory.service

Installation directory was set to /opt/jfrog/artifactory
You can find more information in the log directory /opt/jfrog/artifactory/var/log
System configuration templates can be found under /opt/jfrog/artifactory/var/etc
Copy any configuration you want to modify from the template to /opt/jfrog/artifactory/var/etc/system.yaml

Artifactory OSS Install in Linux using Docker


$ docker run -p 8081:8081 -p 8082:8082 -d releases-docker.jfrog.io/jfrog/artifactory-oss:latest
# BROWSE - http://15.207.221.219:8082
# Username/Password - admin/password

Artifactory Pro Install in Linux using Docker


$ docker run -p 8081:8081 -p 8082:8082 -d releases-docker.jfrog.io/jfrog/artifactory-pro:latest
# BROWSE - http://15.207.221.219:8082
# Username/Password - admin/password

Artifactory Pro Install using Helm


$ helm repo add jfrog https://charts.jfrog.io; helm repo update; kubectl create ns jfrog-platform; helm upgrade --install jfrog-platform -n jfrog-platform jfrog/jfrog-platform --set artifactory.mc.enabled=false --set distribution.enabled=false --set redis.enabled=false --set pipelines.enabled=false --set insight.enabled=false

BELOW ARE OLD VERSION – ARCHIVED

 
 
Download and Install JDK 8 using RPM
$ yum install wget -y

$ wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" 

amp;source=gmail&ust=1538578811202000&usg=AFQjCNFTog2RTpP6vJg7vCwY_Ya7woleIg”>http://download.oracle.com/otn-pub/java/jdk/8u131-$ b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.rpm

rpm -Uvh jdk-8u131-linux-x64.rpm

 
RPM File – Download, Install & Run Artifactory Pro
Download PRO
wget https://bintray.com/jfrog/artifactory-pro-rpms/rpm -O bintray-jfrog-artifactory-pro-rpms.repo

sudo mv bintray-jfrog-artifactory-pro-rpms.repo /etc/yum.repos.d/

sudo yum install jfrog-artifactory-pro
 
Zip File – Download, Install & Run Artifactory Pro
$ wget https://bintray.com/api/ui/download/jfrog/artifactory-pro/org/artifactory/pro/jfrog-artifactory-pro/6.1.0/jfrog-artifactory-pro-6.1.0.zip
 
RPM File – Download, Install & Run Artifactory OSS
wget https://bintray.com/jfrog/artifactory-rpms/rpm -O bintray-jfrog-artifactory-rpms.repo

sudo mv bintray-jfrog-artifactory-rpms.repo /etc/yum.repos.d/

sudo yum install jfrog-artifactory-oss
 
Zip File – Download, Install & Run Artifactory OSS
$ wget https://bintray.com/jfrog/artifactory/download_file?file_path=jfrog-artifactory-oss-6.1.0.zip
 
RPM File – Download, Install & Run Artifactory CE
wget https://bintray.com/jfrog/artifactory-rpms/rpm -O bintray-jfrog-artifactory-rpms.repo

sudo mv bintray-jfrog-artifactory-rpms.repo /etc/yum.repos.d/

sudo yum install jfrog-artifactory-cpp-ce
 
Zip File – Download, Install & Run Artifactory CE
$ wget https://bintray.com/jfrog/artifactory/download_file?file_path=jfrog-artifactory-cpp-ce-6.1.0.zip
 
To Understand the directory structure.
https://www.jfrog.com/confluence/display/RTF4X/Installing+on+Linux+Solaris+or+Mac+OS#InstallingonLinuxSolarisorMacOS-RPMorDebianInstallation
 
To Run Artifactory – start manually
/opt/jfrog/artifactory/bin/artifactory.sh
 
To Run Artifactory – start as a daemon
/opt/jfrog/artifactory/bin/artifactoryctl start

/opt/jfrog/artifactory/bin/artifactoryctl check

/opt/jfrog/artifactory/bin/artifactoryctl stop
 
To Run Artifactory – install Artifactory as a service
/opt/jfrog/artifactory/bin/installService.sh

systemctl status artifactory.service

systemctl start artifactory.service

systemctl stop artifactory.service


Docker Way: Pull docker image of artifactory pro
docker login -u usernmae -p 543a181849465b127327a92231f63b321980f1fb jfrog-docker-reg2.bintray.io

docker pull jfrog-docker-reg2.bintray.io/jfrog/artifactory-pro:6.1.0

docker run -d -p 8081:8081 jfrog-docker-reg2.bintray.io/jfrog/artifactory-pro:6.1.0

# Wait for "Artifactory successfully started" using below commands.

docker logs cont-id

http://x.x.x.x:8081/artifactory

admin/password
 
Docker Way: Pull docker image of artifactory OSS
docker login -u usernmae -p 543a181849465b127327a92231f63b321980f1fb jfrog-docker-reg2.bintray.io

docker pull jfrog-docker-reg2.bintray.io/jfrog/artifactory-oss:6.1.0

docker run -d -p 8081:8081 jfrog-docker-reg2.bintray.io/jfrog/artifactory-oss:6.1.0

# Wait for "Artifactory successfully started" using below commands.

docker logs cont-id

http://x.x.x.x.134:8081/artifactory

admin/password
 
Docker Way: Pull docker image of artifactory CE
docker login -u usernmae -p 543a181849465b127327a92231f63b321980f1fb jfrog-docker-reg2.bintray.io

docker pull jfrog-docker-reg2.bintray.io/jfrog/artifactory-cpp-ce:6.1.0

docker run -d -p 8081:8081 jfrog-docker-reg2.bintray.io/jfrog/artifactory-cpp-ce:6.1.0

# Wait for "Artifactory successfully started" using below commands.

docker logs cont-id

http://x.x.x.x.134:8081/artifactory

admin/password
Additional Resources:
 
Artifactory Tutorial | JFROG Artifactory Tutorial | Package Management with JFROG Artifactory Crash Course
 
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x