惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
博客园_首页
H
Help Net Security
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
B
Blog
I
InfoQ
SecWiki News
SecWiki News
T
Tailwind CSS Blog
Spread Privacy
Spread Privacy
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Vulnerabilities – Threatpost
N
Netflix TechBlog - Medium
P
Palo Alto Networks Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Vercel News
Vercel News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
K
Kaspersky official blog
M
MIT News - Artificial intelligence
S
Schneier on Security
T
Threat Research - Cisco Blogs
F
Fortinet All Blogs
Cyberwarzone
Cyberwarzone
Scott Helme
Scott Helme
aimingoo的专栏
aimingoo的专栏
Martin Fowler
Martin Fowler
MyScale Blog
MyScale Blog
The Cloudflare Blog
Recent Announcements
Recent Announcements
Security Latest
Security Latest
G
GRAHAM CLULEY
IT之家
IT之家
Y
Y Combinator Blog
The Last Watchdog
The Last Watchdog
腾讯CDC
Google DeepMind News
Google DeepMind News
V
V2EX
S
Securelist
TaoSecurity Blog
TaoSecurity Blog
B
Blog RSS Feed
S
SegmentFault 最新的问题
博客园 - 叶小钗
P
Proofpoint News Feed
云风的 BLOG
云风的 BLOG
Project Zero
Project Zero
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
F
Full Disclosure

博客园 - hyamw

Win11单语言系统添加美式键盘的方法 Unity中AndroidJavaProxy方法参数为null的坑 CentOS下安装dotnet tools工具报错 (转)支持 PS/2 与 USB 的键盘过滤驱动(可卸载) Unity编辑器扩展-Custom List, displaying data your way 值得推荐的C/C++框架和库 (真的很强大)〔转〕 SIGGRAPH2016【转】 在64位windows下使用instsrv.exe和srvany.exe创建windows服务[转] VS2015调试UWP程序时提示错误DEP0700 : Registration of the app failed. Another user has already installed Unity 4.x Asset Bundle 重名 VC++ Debugger Tips[转] centos下postgresql的安装与配置[转] CentOS 访问Windows7共享文件夹 svn+ssh方式svn服务器和客户端的配置[转载] 利用Ptrace在Android平台实现应用程序控制[转] AS3地图拼接与战争迷雾的实现[转载] 一些游戏开发相关资料(收集) Bit Twiddling Hacks[转] Unity3D实用工具汇总[转]
【转】代码审查工具fisheye/crucible安装及破解
hyamw · 2023-02-08 · via 博客园 - hyamw

本文摘自:https://www.cnblogs.com/schblog/p/12450893.html

前言

如果下载fisheye,则是单纯的代码深度检查工具,如果需添加CodeReview评论功能模块,则需要安装的是Crucible(集成了fisheye),而不是fisheye工具;尽管Crucible集成了fisheye,但是在安装的过程中仍然需要crucible和fisheye两个独立的license号。

一、安装、破解fisheye最新版4.8.0 所需文件

环境准备:jdk1.8

1.下载Crucible。

https://www.atlassian.com/software/crucible/download   最新版本链接

https://www.atlassian.com/software/crucible/download-archives  以前版本链接

  

2.下载所需要的破解文件 “fisheye2以上破解文件.7z”

http://pan.baidu.com/s/18BOWC

链接: https://pan.baidu.com/s/1f3KdoTv0wI2cRRlywbkyXg  提取码: dst9

百度网盘分享,快速免费下载。

二、破解步骤

解压下载好的文件,解压好了以后,注意!不要立马双击"D:\crucible\crucible-4.8.0\fecru-4.8.0\bin\run.bat"启动crucible.

1.打开“fisheye2以上破解文件\crucible_keygen.bat”

如下图所示:

2.找到crucible-4.8.0\fecru-4.8.0\lib\atlassian-extras-2.5.jar 文件

将atlassian-extras-2.5.jar文件先备份atlassian-extras-2.5-副本.jar,更改atlassian-extras-2.5.jar为atlassian-extras-2.3.1-SNAPSHOT.jar,因为破解程序目前我只找到2.3.1的破解,改名才能继续往下走!

3.进入D:\crucible\crucible-4.8.0\fecru-4.8.0\binn目录下

双击run.bat 即可启动Crucible,

4.浏览器中输入http://localhost:8060/

 6.生成http://localhost:8060页面中需要填充的Crucible和fisheye序列号。

(1)打开crucible_keygen.bat,选中lib中改名后的atlassian-extras-2.3.1-SNAPSHOT.jar,生成Crucible的license序列号

 

 将生成的key填充至步骤4中的license中,然后点击下一步进入页面Inclusions中。

(2)打开fisheye_keygen.bat,选中lib中改名后的atlassian-extras-2.3.1-SNAPSHOT.jar,生成fisheye的license序列号

 将生成的key填充至页面Inclusions中license中。至此Crucible和fisheye已破解完毕。剩下的配置按需填充个即可。

7.Crucible自带的数据库不可用作生产环境,需替换数据库,这里我替换为mysql数据库,mysql下载地址为:https://downloads.mysql.com/archives/installer/

 我使用的是5.7.29版本,对应的sql驱动下载地址:https://dev.mysql.com/downloads/connector/j/5.1.html

将下载下来的sql驱动放到Crucible的lib库中,然后重启服务。

8.安装mysql数据库,为Crucible创建专有数据库,然后修改Crucible数据库为mysql。

注:本人环境为win7+jdk 1.8(64位)(bai),安装的为4.8.1版本fisheye。

摘自:https://www.cnblogs.com/amosli/p/3427990.html

二、可能遇到的问题

可能出现的问题就是,双击run.bat打不开,那么请参考此文章:

 fisheye下载好了之后,解压后怎么运行run.bat都报错误,错误提示如下:


D:\developsoft\fisheye-3.1.5\fecru-3.1.5>bin\run.bat --debug
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
请按任意键继续. . .

网上搜索了很久,最后试了很多,终于找到解决方法了!哈哈!

在 控制面板\系统和安全\系统--->高级系统设置----》系统属性-----》高级----》环境变量-----》系统变量----》新建

变量名:FISHEYE_OPTS

变量值:-Xms128m -Xmx512m -XX:MaxPermSize=256m

再点击确定--》确定 

即可。

原因分析:我的电脑4g内存,win7(32位),jdk 1.7(32位),因为是32位的系统,所以原则上4G内存只能读2G左右,但是fisheye默认值为

RAM

1GB minimum, 2GB will provide performance "headroom". Your Java heap should be sized at 512MB with theFISHEYE_OPTS environment variable, adjustable up to 1024MB depending on performance.

它是建议最好1G以上,2G为推荐值,但是jdk默认值最好关于fisheye的预留值要512M以上,如果你的内存没有那么大,那么手动把MaxPermSize调小即可。

重新双击run.bat,然后在浏览器中输入localhost:8060即可打开fisheye,fisheye的默认端口为8060。

摘自: http://www.cnblogs.com/amosli/p/3427841.html