jfrog安装和破解
破解文件地址:https://pan.baidu.com/s/1DJdTkvJfG-Ut3FbntISneQ?pwd=st2t
破解软件码云地址:软件工具/data/artifactory/artifactory-injector-1.1.jar · 李文超/chenjimblog - Gitee.com (opens new window)
# 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.11.5
cd /data/jfrog/var/
ls artifactory-injector-1.1.jar
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
破解
# 进去容器
docker exec -it -u root artifactory /bin/bash
cd /opt/jfrog/artifactory/app/third-party/java/bin/
# 破解
./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==
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
把 artificatory-injector-1.1.jar放入挂载目录:
/data/jfrog/var/
在终端输入
./java -jar artifactory-injector-1.1.jar
,之后会跳出2个选项,分别是: 1-生成密钥字符串; 2-破解 java 在 third-party目录,无法直接输入命令使用 执行java需在/opt/jfrog/artifactory/app/third-party/java/bin
目录下选择“2”现象先进行软件的破解
输入软件包的路径,如果不确定位置,根据错误提示的路径,通过find 命令找到 artifactory-pro相关路径
/opt/jfrog/artifactory/app/artifactory/tomcat
选择“1”
把生成的密钥字符串拷贝出来,直接在UI中使用
# 2. 页面配置
将生成的license输入进去。
上次更新: 2024/03/27, 08:45:38