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/
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# InstallingonLinuxSolarisorMacO S-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
1
/
2
Jenkins Crash Course in Just 1 Hour – Part1
Jenkins Crash Course in Just 1 Hour – Part2
Git Branching and Merging Tutorials
Python Complete Overview in 1 Hour
Complete Datadog Tutorials in Just 4 Hours
Git Fundamental Tutorials in just 4 hours
Ansible Fundamental in Just 1 hour
What is Docker and Containers
Jira Roadmap Tutorials
Git Tutorial for Beginners
Git Tutorials with using Github
Git Crash Course in Just 4 Hours
Artifactory Fundamental Tutorial
Git Fundamental with Gitlab and Github
Maven Fundamental Tutorial
1
/
2
Latest posts by Rajesh Kumar (see all)
- Laravel breeze vs laravel fortify comparison - December 17, 2024
- How to Choose Wireless Access Points for Office - December 13, 2024
- Online Real Estate Courses: Navigating the Shift to Digital Education - December 13, 2024