当前位置: 首页 > 工具软件 > Artifactory > 使用案例 >

Jfrog Artifactory的搭建

欧阳意蕴
2023-12-01

一、Artifactory搭建

1. 首先需要安装java

准备一台服务器或虚拟机,安装java。这个很简单,就不赘述了

2. 安装JFrog Artifactory

  • 安装方式一:rpm安装

rpm包官网安装指导:

Downloads & Open Source Solutions for Developers and DevOps Experts | JFrog

进入官网开源下载页面,点击Copy Command:

wget https://releases.jfrog.io/artifactory/artifactory-rpms/artifactory-rpms.repo -O jfrog-artifactory-rpms.repo;
sudo mv jfrog-artifactory-rpms.repo /etc/yum.repos.d/;
sudo yum update && sudo yum install jfrog-artifactory-oss

在服务器上执行拷贝的命令。

 安装完成后将JFROG_HOME写入/etc/profile

  • 安装方式二:tar.gz包安装

下载tar.gz包: oss-release

解压并安装artifactory服务。

$ cd /usr/local/
$ tar zxf jfrog-artifactory-oss-7.37.14-linux.tar.gz
$ mv artifactory-oss-7.37.14 artifactory
$ cd artifactory/app/bin/
$ sudo ./installService.sh

启动artifactory

$ sudo systemctl daemon-reload
$ sudo systemctl start artifactory.service

 类似资料: