rokevin
移动
前端
语言
  • 基础

    • Linux
    • 实施
    • 版本构建
  • 应用

    • WEB服务器
    • 数据库
  • 资讯

    • 工具
    • 部署
开放平台
产品设计
  • 人工智能
  • 云计算
计算机
其它
GitHub
移动
前端
语言
  • 基础

    • Linux
    • 实施
    • 版本构建
  • 应用

    • WEB服务器
    • 数据库
  • 资讯

    • 工具
    • 部署
开放平台
产品设计
  • 人工智能
  • 云计算
计算机
其它
GitHub
  • 仓库

仓库

Artifactory

中文官网 | 英文官网

介绍

Artifactory 是 JFrog 的一个产品,用作二进制存储库管理器。二进制存储库可以将所有这些二进制统一托管,从而使团队的管理更加高效和简单。

就跟你用 Git 一样,Git 是用来管理代码的,Artifactory 是用来管理二进制文件的,通常是指 jar, war, pypi, DLL, EXE 等 build 文件。

我觉得使用 Artifactory 的最大优势是创造了更好的持续集成环境,有助于其他持续集成任务去 Artifactory 里调用,再部署到不同的测试或开发环境,这对于实施 DevOps 至关重要。

安装

  1. 从官网下载 Open Source Artifactory,这里演示的是安装到 Linux,所以点击 Download RPM 下载
  2. 将下载好的 jfrog-artifactory-oss-6.14.0.rpm 上传到 Linux 上
# 在根目录创建一个文件,你也可以在任何目录创建文件夹
sudo mkdir /artifactory
cd /artifactory
# 将下载好的 jfrog-artifactory-oss-6.15.0.rpm 上传到你的 Linux 上
$ ls
jfrog-artifactory-oss-6.14.0.rpm
# 安装 artifactory
sudo rpm -ivh jfrog-artifactory-oss-6.14.0.rpm

管理

# 启动服务
sudo systemctl start artifactory.service
# 停止服务
sudo systemctl stop artifactory.service
# 查看服务状态
sudo systemctl status artifactory.service

访问

Artifactory 默认端口是8040,安装成功后访问:http://hostname:8040 即可登录(默认用户名 admin 密码 password)

升级

  1. 从官网下载最新的 Artifactory
  2. 将下载好的 jfrog-artifactory-oss-6.15.0.rpm(目前最新)上传到你的 Linux 上
cd /artifactory
ls
jfrog-artifactory-oss-6.14.0.rpm  jfrog-artifactory-oss-6.15.0.rpm
# 停止服务
sudo systemctl stop artifactory.service
# 进行升级
sudo rpm -U jfrog-artifactory-oss-6.15.0.rpm
# 输出日志,显示升级成功
warning: jfrog-artifactory-oss-6.15.0.rpm: Header V4 DSA/SHA1 Signature, key ID d7639232: NOKEY
Checking if ARTIFACTORY_HOME exists
Removing tomcat work directory
Removing Artifactory's exploded WAR directory
Initializing artifactory service with systemctl...

************ SUCCESS ****************
The upgrade of Artifactory has completed successfully.

Start Artifactory with:
> systemctl start artifactory.service

Check Artifactory status with:
> systemctl status artifactory.service

NOTE: Updating the ownership of files and directories. This may take several minutes. Do not stop the installation/upgrade process.

nexus

nexus

缺点:不能放ios库

大仓

https://docs.gradle.org/current/userguide/composite_builds.html

https://github.com/gradle/gradle/tree/master/subprojects/docs/src/samples/compositeBuilds/hierarchical-multirepo

https://yrom.net/blog/2019/01/02/simple-way-to-construct-monorepo-for-android/

https://yrom.net/blog/2018/10/18/evolution-of-android-codebase-organization-in-bilibili/

最近更新:: 2025/10/22 15:36
Contributors: luokaiwen