Artifactory(JFrog Artifactory)
1.Artifactory概念
一个通用的二进制仓库,Maven仓库服务端软件。它可以存储Docker镜像、IOS/Android/EXE软件包,或者Maven Jar包
由Java实现,从7.43.x开始,其安装包自带JDK 17;开源的 JFrog 版本只支持 Gradle、ivy、maven、SBT、Generic 5种仓库类型
2.Artifactory安装
参考链接:https://www.cnblogs.com/eagle6688/p/17221651.html (参考:https://blog.51cto.com/ilanni/2580329)
(1)安装(尽量使用新服务器安装,如果安装dcoker或其他应用,可能存在问题)
wget https://releases.jfrog.io/artifactory/artifactory-rpms/artifactory-rpms.repo -O jfrog-artifactory-rpms.repo
mv jfrog-artifactory-rpms.repo /etc/yum.repos.d/
yum install jfrog-artifactory-oss -y
几个重要路径:
安装目录: /opt/jfrog/artifactory
日志目录: /opt/jfrog/artifactory/var/log
系统配置模板目录: /opt/jfrog/artifactory/var/etc
配置文件: /opt/jfrog/artifactory/var/etc/system.yaml
(2)授权
chmod -R 755 /opt/jfrog/artifactory/var/log
chmod -R 755 /opt/jfrog/artifactory/var/etc
(3)防火墙和启动
firewall-cmd --list-all
firewall-cmd --permanent --add-port=8081/tcp
firewall-cmd --permanent --add-port=8082/tcp
firewall-cmd --reload
systemctl start artifactory && systemctl enable artifactory
systemctl status artifactory
(4)访问
http://192.168.88.137:8081
默认账户//用户名: admin 密码: password