jforg安装免费版

jforg安装免费版

准备工作

下载jforg 版本 7.63.9 更高版本不支持
下载地址:https://jfrog.com/download-legacy/?product=artifactory
docker 下载:docker pull releases-docker.jfrog.io/jfrog/artifactory-pro:7.63.9

1. 启动容器

docker run --name artifactory --restart always \
-v /data/jfrog/var/:/var -d \
-v /etc/localtime:/etc/localtime \
-p 28081:8081 -p 28082:8082 \
releases-docker.jfrog.io/jfrog/artifactory-pro:7.63.9

cd /data/jfrog
ls artifactory-injector-1.1.jar

jar 包复制
docker cp  /data/jfrog/artifactory-injector-1.1.jar artifactory:/opt/jfrog/artifactory/app/third-party/java/bin/

进去容器

1.执行jar 包
2.第一个选择2 注册artifactory
3.选择artifactory home 地址 /opt/jfrog/artifactory/app/artifactory/tomcat
4.最后生成license 选择生成密码

docker exec -it -u root artifactory /bin/bash

cd /opt
# 破解
./java -jar artifactory-injector-1.1.jar
What do you want to do?
1 - generate License String
2 - inject artifactory
exit - exit
# 
2
where is artifactory home? ("back" for back)
/opt/jfrog/artifactory/app/artifactory/tomcat
artifactory detected. continue? (yes/no)
yes
DONE!
# 生成授权License,选择1,记录生成的license,然后exit退出
What do you want to do?
1 - generate License String
2 - inject artifactory
exit - exit
1
eyJhcnRpZmFjdG9yeSI6eyJpZCI6IiIsIm93bmVyIjoicjRwMyIsInZhbGlkRnJvbSI6MTY3NDEwNjkyODI2MCwiZXhwaXJlcyI6NDgyOTc4MDUyODI1MywidHlwZSI6IkVOVEVSUFJJU0VfUExVUyIsInRyaWFsIjpmYWxzZSwicHJvcGVydGllcyI6e319fQ==

jar 包地址:
https://wwjx.lanzout.com/iCtD51boan4j
密码:f243

你可能感兴趣的:(java,持续集成)