制品库 Jfrog Artifactory 搭建私服

发布于 2024-07-21
1218

我们非常重视原创文章,为尊重知识产权并避免潜在的版权问题,我们在此提供文章的摘要供您初步了解。如果您想要查阅更为详尽的内容,访问作者的公众号页面获取完整文章。

扫码阅读
手机扫码阅读
Article Summary

JFrog Artifactory Overview

JFrog Artifactory is a highly powerful binary repository manager used by many Fortune 500 companies, such as Google, Apple, Cisco, Oracle, Huawei, and Tencent. It has a leading position in the binary software artifact management field, with a complex categorization of versions for releases. There are several subscription types including Pro, Pro X, Enterprise X, Enterprise+, Artifactory OSS, Artifactory CE, and JFrog Container Registry, each serving different needs and some of them being free.

Installation of JFrog Artifactory

To install JFrog Artifactory for Java Maven projects, the OSS version is downloaded from the official community website. An example download could be a zip file named jfrog-artifactory-oss-7.35.2-windows.zip, which is simply extracted to a directory, such as C:\jenkins\artifactory-oss7. Configuration involves editing a YAML file and setting up a MySQL database using provided scripts. The MySQL database version should be 8.x or higher, and the corresponding driver needs to be downloaded and placed in the specified directory. To start the service, a batch file is executed, and the database is then checked.

Configuring JFrog Artifactory

After starting the JFrog Artifactory service, it can be accessed at http://localhost:8082/ui/. The default admin credentials are found in a README.txt file, and upon logging in, the user is guided through initial setup steps including setting a new password and skipping optional configurations until the homepage appears.

Creating a Repository in JFrog Artifactory

JFrog Artifactory supports four types of repositories: remote, local, virtual, and distribution. Each type serves different scenarios, such as caching artifacts from other repositories, storing local build outputs, aggregating multiple repositories for team collaboration, and distributing artifacts publicly via JFrog Bintray SaaS with CDN acceleration. To create a repository, the user clicks on "Create a Repository," selects Maven for a remote repository, inputs "remote-cnter" as the repository key, leaves default values, and then creates the repository.

BUG弄潮儿

多年开发经验,专注软件开发、架构;推送 微服务,分布式,Spring全家桶,Redis,Linux,Nginx等技术,欢迎一起学习、探讨。

105 篇文章
浏览 150K

还在用多套工具管项目?

一个平台搞定产品、项目、质量与效能,告别整合之苦,实现全流程闭环。

加入社区微信群
与行业大咖零距离交流学习
PMO实践白皮书
白皮书上线