Confluence5.65+centos+mysql installation hack

Source: Internet
Author: User
Tags tomcat server

Take atlassian-confluence-5.6.5 For example   install Java environment         Install jdk,5.6.5 with Yum does not support jdk1.8, so installing 1.7 or 1.6 can          Add Java environment variables:                to open/etc/profile, at the end of the file Face export three environment variables: java_home; PATH; classpath                    Export JAVA_HOME=/USR/LIB/JVM/JAVA-1.6.0&N Bsp                   export path= $JAVA _home: $JAVA _home/bin: $PATH     &N Bsp               export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar:$ java_home/lib/        When added, use Source/etc/profile or. /etc/profile make the environment variable effective   Unzip the confluence software, either via a soft link or by copying the extracted content directly into a folder in/usr/local/            ln-s/usr/src/atlassian-confluence-5.6.5/usr/local/confluence  Open/usr/local/confluence/ Confluence/web-inf/classes/confluence-init.properties file         Set the Confluence.home parameter to the root of confluence             confluence.home=/usr/local/ confluence/    can modify the port of the Web interface in/usr/local/confluence/conf/server.xml, change 8090 to 8099 or other             Connector port= "8099"   Start and stop Tomcat server:            in/usr/local/ Confluence/bin found in start-confluence.sh and stop-confluence.sh two boot files, start or stop    connect mysql        At/etc/my.cnf              in [mysqld] add             &NBSP ;character-set-server=utf8            collation-server=utf8_bin  Creating a database
CREATE DATABASE confluence CHARACTER SET UTF8 COLLATE utf8_bin; GRANT all privileges the confluence.* to ' confluenceuser ' @ ' localhost ' identified by ' confluencepass '; Download and unzip the Mysql-connector-java to copy the Mysql-connector-java-5.1.36-bin.jar file inside the extract to/usr/local/confluence/confluence/ In Web-inf/lib Edit/usr/local/confluence/conf/server.xml File        in <context path= "" docbase= ". /confluence "debug=" 0 "reloadable=" false "usehttponly=" true ">                & nbsp  <!--Logger is deprecated in Tomcat 5.5. Logging configuration for confluence are specified in Confluence/web-inf/classes/log4j.properties-->    & nbsp   Back <manager pathname= ""/> Front, plus resource parameters                   &NBSP ; <resource name= "jdbc/confluence" auth= "Container" type= "Javax.sql.DataSource"                         username= "Confluenceuser"                         password= "Confluencepass"               &NBSP ;       driverclassname= ' com.mysql.jdbc.Driver '                          url="jdbc:mysql://localhost:3306/confluence?useunicode=true&amp;characterencod                        Ing=utf8 "                  & nbsp     maxactive= "                        maxidle=" 7 "                        defaulttransactionisolation=" read_com mitted                         validationquery= "SELECT 1"/&gt ;
Edit/usr/local/confluence/confluence/web-inf/web.xml FileAt the end of the file, add the following </web-app>: <resource-ref> <description>connect                         Ion Pool</description> <res-ref-name>jdbc/confluence</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>container</res -auth> </resource-ref> cracked

1. Unzip the attachment in the Confluence5.x-crack.zip, regardless of the inside of the Atlassian-extras-2.4.jar, this should be used in other versions.

2. We go directly to invisible and run keygen.sh or Keygen.bat according to our own system (requires a Java Runtime environment)

3. Enter the Server ID in the fourth step of Name,server ID "second, install official program" in the program interface.

4. Click Path, Select the Atlassian-extras-2.4.jar in the attachment, a new Atlassian-extras-2.4.jar is generated, the original jar becomes Atlassian-extras-2.4.bak, and the atlassian-extras-2.4 The. Jar is renamed Atlassian-extras-3.2.jar, so we finally need the cracked file Atlassian-extras-3.2.jar ready

5. Click Gen, copy the generated key, and wait for it to be used.

6. Go to the Atlassian-confluence/confluence/web-inf/lib package of the confluence server and delete all the jar packs that start with the 6 Atlassian-extras. Replace with the Atlassian-extras-3.2.jar we just generated. It is also important to note that if you use MySQL, the Mysql-connector-java-5.1.25-bin.jar in the attachment is placed in this directory.

7. Restart Confluence

8. After the restart to enter the "second, install the official procedures," the fourth step interface, you need to fill in key, this is the fifth step above the key copied.

First rename the Atlassian-extras-3.2.jar to Atlassian-extras-2.4.jar

Tools to download
http://download.csdn.net/download/u011391839/6877453

If the JDK environment variable is already configured on your computer, double-click the Confluence_keygen.jar in the toolkit to execute it, and the child shoes that are not configured need to be configured with the JDK environment variable. After opening as

We click on. patch!, select the Atlassian-extras-2.4.jar you just renamed, A new Atlassian-extras-2.4.jar is generated, the original jar becomes atlassian-extras-2.4.bak, and we rename the generated Atlassian-extras-2.4.jar to atlassian-extras-3 .2.jar, at this point, we finally need to Atlassian-extras-3.2.jar is ready.

After entering the Atlassian-confluence-5.6.5/confluence/web-inf/lib package of the confluence server, we deleted all the jar packages that started with the previous 6 Atlassian-extras. Replace with the Atlassian-extras-3.2.jar we just generated, start the confluence, need to fill in the key, use the tool, enter name and ServerID, name casually write, ServerID on the Confluence page, click. gen! can be generated, fill in the Confluence page is OK.

Here are the three patch files to use:



Confluence5.65+centos+mysql installation hack

Related Article

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.