bitbucket安装
1,安装文件下载
官网bin文件下载地址:https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-7.7.0-x64.bin
实际文件地址:https://product-downloads.atlassian.com/software/stash/downloads/atlassian-bitbucket-7.7.0-x64.bin
2,git安装
需要安装git 2.19版本,过低的git版本不能支持;
3,bitbucket安装
直接运行 ./atlassian-bitbucket-7.7.0-x64.bin,安装过程安装提示输入;
将破解jar文件添加于系统环境变量中export JAVA_OPTS="-javaagent:/opt/atlassian/bitbucket/7.6.0/bin/atlassian-agent.jar ${JAVA_OPTS}"
使用service atlbitbucket start命令启动Bitbucket;可以使用service atlbitbucket stop命令停止Bitbucket;
如果使用mysql数据库,需要将mysql-connector-java-x.xx.jar拷贝至/var/atlassian/application-data/bitbucket/lib,修改所有者属性;
使用http://ip:7990进行Bitbucket初始化访问;
需要注册的时候使用java -jar /path/to/atlassian-agent.jar -m admin@mail.com -o org -p bitbucket -s XXXX-XXXX-XXXX-XXXX进行序列号计算;
在Bitbucket界面,管理>插件管理进行插件jar文件上传,使用atlassian-agent.jar 进行序列号计算,注意-p 后面的内容用单引号包含;
4,相关插件地址
中文:https://marketplace.atlassian.com/apps/1220595/chinese-language-pack-for-bitbucket/version-history
Rest API:https://marketplace.atlassian.com/apps/1211542/atlassian-rest-api-browser?hosting=server&tab=installation
个人图形:https://marketplace.atlassian.com/apps/1210934/awesome-graphs-for-bitbucket?hosting=cloud&tab=overview
图形展示:https://marketplace.atlassian.com/apps/1212147/charts-graphs-for-bitbucket?hosting=datacenter&tab=overview