Centos7上安裝、破解bamboo6.0.3


1、下載bamboo安裝包,地址:https://www.atlassian.com/software/bamboo/download?_ga=2.65378349.245489969.1512876945-1569392796.1512635383(選擇tar.gz)

2、服務器上安裝jdk1.8

3、在一個較大的分區下,新建一個文件夾,例如/home/CI-new,將安裝包拷貝到該文件夾下,並解壓。

[root@host-10-0-251-216 ~]# cd /home/CI-new/
[root@host-10-0-251-216 CI-new]# ls
atlassian-bamboo-6.0.3.tar.gz
[root@host-10-0-251-216 CI-new]# tar -xvzf atlassian-bamboo-6.0.3.tar.gz
[root@host-10-0-251-216 CI-new]# ls
atlassian-bamboo-6.0.3  atlassian-bamboo-6.0.3.tar.gz

4、/home/CI-new文件夾下新建一個bamboo_home文件夾

[root@host-10-0-251-216 CI-new]# mkdir bamboo_home
[root@host-10-0-251-216 CI-new]# ls
atlassian-bamboo-6.0.3  atlassian-bamboo-6.0.3.tar.gz  bamboo_home
[root@host-10-0-251-216 CI-new]# cd bamboo_home/
[root@host-10-0-251-216 bamboo_home]# pwd
/home/CI-new/bamboo_home
[root@host-10-0-251-216 bamboo_home]#

5、拷貝atlassian-extras-decoder-v2-3.3.0.jar(鏈接:https://pan.baidu.com/s/1a0NJl58cF4JKu4T01fIDXA 密碼:nfdy)到/home/CI-new/atlassian-bamboo-6.0.3/atlassian-bamboo/WEB-INF/lib文件夾下,覆蓋原始的jar包(破解需要)

6、編輯配置文件,配置bamboo-home(第四步中創建的文件夾路徑)

[root@host-10-0-251-216 ~]# cat /home/CI-new/atlassian-bamboo-6.0.3/atlassian-bamboo/WEB-INF/classes/bamboo-init.properties
## You can specify your bamboo.home property here or in your system environment variables.
 
bamboo.home=/home/CI-new/bamboo_home

7、編輯配置文件,配置bamboo服務端口。編輯 /home/CI-new/atlassian-bamboo-6.0.3/conf/server.xml ,將其中的8085端口改為你希望的端口(例如8216),保存退出。

8、啟動bamboo

[root@host-10-0-251-216 ~]# cd /home/CI-new/atlassian-bamboo-6.0.3/bin/
[root@host-10-0-251-216 bin]# ls
bamboobanner.txt  catalina.sh         commons-daemon.jar            digest.sh        setenv.sh    start-bamboo.sh  stop-bamboo.sh   tomcat-native.tar.gz  version.sh
bootstrap.jar     catalina-tasks.xml  commons-daemon-native.tar.gz  setclasspath.sh  shutdown.sh  startup.sh       tomcat-juli.jar  tool-wrapper.sh
[root@host-10-0-251-216 bin]# ./start-bamboo.sh
 
To run Bamboo in the foreground, start the server with start-bamboo.sh -fg
 
Server startup logs are located in /home/CI-new/atlassian-bamboo-6.0.3/bin/logs/catalina.out
 
Bamboo Server Edition
   Version : 6.0.3
                   
 
If you encounter issues starting or stopping Bamboo Server, please see the Troubleshooting guide at https://confluence.atlassian.com/display/BAMBOO/Installing+and+upgrading+Bamboo
 
Using CATALINA_BASE:   /home/CI-new/atlassian-bamboo-6.0.3
Using CATALINA_HOME:   /home/CI-new/atlassian-bamboo-6.0.3
Using CATALINA_TMPDIR: /home/CI-new/atlassian-bamboo-6.0.3/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /home/CI-new/atlassian-bamboo-6.0.3/bin/bootstrap.jar:/home/CI-new/atlassian-bamboo-6.0.3/bin/tomcat-juli.jar
Tomcat started.
[root@host-10-0-251-216 bin]#

9、訪問bamboo界面:hostIp:8216,在界面上會顯示serverID例如:Server id  BUS3-0CBR-GDG7-DKUY

10、破解license

  1. 破解原理詳見:http://www.jianshu.com/p/20dbcf85f962?utm_campaign=haruki&utm_content=note&utm_medium=reader_share&utm_source=weixin
  2. 搭建開發環境(jdk8),使AtlassianLicenseGenerator.java(鏈接:https://pan.baidu.com/s/1mp3luH7kdkAOY1khAZuPyQ 密碼:5msg)能夠運行
  3. 執行main函數,輸入對應的信息,即可得到license。將license錄入到系統中,即完成破解

 11、license驗證之后,按照要求輸入管理員信息即可

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM