Software project development Environment Building four: Bitbucket4.10.1 installation

Source: Internet
Author: User
Tags install perl version control system

BitBucket is a source-code hosting software, online can apply to free to 5 of the most users of the source repository, but the source code in others there how can be assured, so it is necessary to build a private source repository. With mercurial and git as distributed versioning, it's easy for development teams to use a distributed version control system that allows team members to encode without having to consider geo-problem collaboration. With BitBucket, Git is much easier to manage, and team members can review the branch list and pull requests for lightweight code reviews to deliver higher-quality code.

First, install the support components in the CentOS7.2 environment

1, jdk1.8.0_102 64-bit (installation see: http://newthink.blog.51cto.com/872263/1859308)

2, MySQL 5.6.32 64-bit (installation see: http://newthink.blog.51cto.com/872263/1851969)

To set up a database for BitBucket:

Mysql–uroot–pcreate DATABASE bitbucket CHARACTER SET UTF8 COLLATE utf8_bin; GRANT all on bitbucket.* to ' bitbucket ' @ '% ' of ' identified by ' bitbucket '; GRANT all privileges the bitbucket.* to ' bitbucket ' @ ' localhost ' identified by ' bitbucket '; FLUSH privileges; QUIT

3, Git1.8.3 installation (version 1.8 or higher, git is an open source distributed version control system, can effectively, high-speed processing from very small to very large project version management. Git is an open source version control software developed by Linus Torvalds to help manage the development of the Linux kernel. )

Yum–y install git #yum –y update git #若已安装可以升级下. Git–version

4, Perl 5.16.3 installation (version to 5.8.8 or higher, Perl, a feature-rich computer programming language, like the scripting language, Perl does not need the compiler and linker to run the code, all you have to do is write the program and tell Perl to run it)

Yum–y Install Perl #yum –y Update Perl #若已安装可以升级下. Perl–version

Second, download BitBucket and install

Cd/usr/local/srcwget https://downloads.atlassian.com/software/stash/downloads/ Atlassian-bitbucket-4.10.1-x64.binchmod +x atlassian-bitbucket-4.10.1-x64.bin./ Atlassian-bitbucket-4.10.1-x64.bin

Interaction in the installation (the default service HTTP port is 7990, the service port is 8006, and can be re-entered as needed when installed):

650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;margin:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/89/DD/wKioL1ggJsGSqLapAADYWhFdQRg226.png "width=" 852 "height=" 851 "/>

650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/89/e0/wkiom1ggjskbbfkqaagff7klgwg961.png "width=" 853 "height=" 261 "/>

After the installation is successful, the service is started and can be accessed via http://localhost:7990

650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;margin:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/89/E0/wKiom1ggJsOw-nAmAACoJkjZDto236.png "width=" 957 "height=" 672 "/>

Third, crack

1. Stop the service and upload the file

Service Atlbitbucket Stop

Download/opt/atlassian/bitbucket/4.10.1/atlassian-bitbucket/web-inf/on BitBucket server Lib in Atlassian-extras-decoder-v2-3.3.0.jar and Atlassian-extras-legacy-3.3.0.jar two files

650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;margin:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/89/DD/wKioL1ggJsWQtspaAAGsxMvRyJQ855.png "width=" 968 "height=" 698 "/>

Download/opt/atlassian/bitbucket/4.10.1/atlassian-bitbucket/web-inf/ Atlassian-bundled-plugins in Atlassian-universal-plugin-manager-plugin-2.21.3.jar file

650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/89/e0/wkiom1ggjsbwdl-daagtyvlnlhc247.png "width=" 969 "height=" 695 "/>

Using 360 compression to open the Atlassian-extras-decoder-v2-3.3.0.jar file, replace the \com\atlassian\extras\decoder\v2\ Version2licensedecoder.class file.

Also open the Atlassian-extras-legacy-3.3.0.jar file with 360 compression, replace the \com\atlassian\license\licensemanager.class file,

Open the Atlassian-universal-plugin-manager-plugin-2.21.3.jar file with 360 to replace the \com\atlassian\extras\decoder\v2\ Version2licensedecoder.class and \com\atlassian\license\licensemanager.class two files.

Finally, replace the three files on the original path to cover.

Iv. installation of MySQL database driver

1. Download MySQL connector/j jdbc driver (download website: http://dev.mysql.com/downloads/connector/j/)

2. Unzip the downloaded file.

3. Copy the Mysql-connector-java-5.1.40-bin.jar file to the BitBucket server directory/opt/atlassian/bitbucket/4.10.1/lib

4. Restart the service.

Cd/usr/local/src/wget Http://cdn.mysql.com//Downloads/Connector-J/mysql-connector-java-5.1.40.zipunzip MYSQL-CONNECTOR-JAVA-5.1.40.ZIPCP Mysql-connector-java-5.1.40/mysql-connector-java-5.1.40-bin.jar/opt/atlassian /bitbucket/4.10.1/lib/service Atlbitbucket Start

V. BitBucket initialization

1, landing site http://localhost:7990, system initialization, need to wait a few 10 seconds.

2, if the MySQL driver installation is correct, you can configure the database, after the following configuration, click "Test" tests the connection database is normal, after successful "Next".

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/89/E0/wKiom1ggJseizz2XAACAtde20aI070.png "height=" 751 "/>

3. Apply for a trial license

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/89/DD/wKioL1ggJsiixUQKAACAG3u7jYc692.png "height=" 572 "/>

Need to have a Atlassion account login to apply for a trial account

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/89/E0/wKiom1ggJsqzWv6sAADtrPnlu3I116.png "height=" 969 "/>

Investigate the problem, fill in a random

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/89/DD/wKioL1ggJsuwJ-_cAACiZko1q6s797.png "height=" 665 "/>

Confirm Server IP

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/89/DD/wKioL1ggJsuyVIWvAAAum67kBBQ534.png "height=" 307 "/>

License has it, Next.

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/89/E0/wKiom1ggJs3ChXWaAADhX6Gbmto227.png "height=" 848 "/>

4, set the administrator account, if you want to integrate Jira, click the left button, if you do not need to direct "Go to BitBucket"

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/89/E0/wKiom1ggJs6RwQmQAABjrjS5hMA593.png "height=" 558 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/89/DD/wKioL1ggJs_TdOTwAAEUjjodZzc365.png "height=" 963 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/89/E0/wKiom1ggJtKyk23fAACw7f5_HPA044.png "height=" 825 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/89/DD/wKioL1ggJtOjF2BMAACNVFfBvH4520.png "height=" 590 "/>

Vi. Install Chinese Language pack

1. Download Bitbucket4.10.1 Chinese Language Pack (: HTTPS://TRANSLATIONS.ATLASSIAN.COM/DASHBOARD/DOWNLOAD?LANG=ZH_CN#/BITBUCKET/4.11.0-RC1)

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/89/DD/wKioL1ggJtSBcLQLAACBcWffwq8304.png "height=" 486 "/>

2. Install the language pack

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/89/E0/wKiom1ggJtWgGx0cAADzl4uuWjM262.png "height=" 908 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/89/E0/wKiom1ggJtbT5cjvAABxhs0KMGQ715.png "height=" 426 "/>

Refresh, the Chinese version came.

Vii. Application Connection confluence (Jira already connected automatically)

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/89/E0/wKiom1ggJtfTXDH6AACIl7qar7c071.png "height=" 556 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/89/E0/wKiom1ggJtixJ6CXAACIl7qar7c878.png "height=" 556 "/>

After jump to confluence need Administrator account password configuration under the program connection, finally set the success:

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/89/DD/wKioL1ggJtryskT4AACbqRPTsEI526.png "height=" 560 "/>

Eight, set up mail server

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/89/DD/wKioL1ggJxvR3P8eAADVNVyjkzY384.png "height=" 826 "/>

This article from the "Strong Technical communication blog," Please be sure to keep this source http://newthink.blog.51cto.com/872263/1870235

Software project development Environment Building four: Bitbucket4.10.1 installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.