Description: This article in the confluence-wiki-5.6.5 version of the pro-test passed
(including the wiki program and all the files needed to crack the Chinese)
First, unzip the zip file after the attachment file
1.atlassian-confluence-5.6.5.tar.gz Confluence Wiki Official program
2.mysql-connector-java-5.1.25-bin.jar if using MySQL requires this driver
3.confluence5.x-crack.zip Hack Tool
4.atlassian-extras-2.4.jar cracked the required jar package
5.confluence-language-std-cn.jar Chinese Package
II. installation of official procedures
1.TAR-ZXVF atlassian-confluence-5.6.5.tar.gz
2.VI atlassian-confluence/web-info/class/confluence-init.properties;
Modify the Confluence.home parameter to customize a directory, facilitate upgrade management, license information, and MySQL connection configuration is also in this directory (confluence.cfg.xml).
3.cd atlassian-confluence/bin &&./atlassian-confluence-start.sh
Description: Of course we can put a tomcat on our own, then take out the confluence directory under the Atlassian-confluence and configure the Tomcat Server.xml (that's what I did)
4. After the successful launch, the browser opens, the page is selected on the right side, and then enters the interface which requires the input of license key. So that our official program and installation success
Third, crack
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, run keygen.sh or Keygen.bat according to our own system or run Confluence_keygen.jar directly (need to have Java running environment)
3. Enter the Server ID in the fourth step of Name,server ID "second, install official program" in the Desktop program interface.
4. Click on path to select "One, annex file" Atlassian-extras-2.4.jar, a new Atlassian-extras-2.4.jar is generated, the original jar becomes Atlassian-extras-2.4.bak, and the Atlassian-extras-2.4.jar Renamed to Atlassian-extras-3.2.jar, at this point, we finally need the cracked file Atlassian-extras-3.2.jar ready
5. Click Gen, the generated key is copied into a text file, which you need to use. You may need to close this desktop program to generate a new atlassian-extras-2.4.jar.
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 one we just generated the renamed file: Atlassian-extras-3.2.jar. 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.
9. After copying, proceed to select Database connection. Choose according to your own circumstances. Seemingly temporarily do not support CentOS7 Mariadb, anyway, here I had a long time, later or replaced the PostgreSQL database.
10.OK, the other step down is easy.
Iv. Points of attention
1. As I am using CentOS7, has no longer support MySQL database, replaced by a MySQL group mariadb, find a lot of documents said does not support mariadb what, but tried, the table was created a few, but for other reasons did not succeed, Later also gave up the attempt, directly replaced with PostgreSQL.
2.confluence-wiki on the system memory requirements are relatively high, recommended memory 2g+, I use 2G, after loading only hundreds of trillion of memory left. 512G, 1G of memory after you configure the database connection, the next step is easy to die, and then Tomcat reported memory overflow
V. Other SOLUTIONS
1. Put the corresponding program of atlassian-confluence in the appropriate place, and modify the various configuration files
Configuration files that may need to be modified are:
bin/setenv.sh in catalina_opts= "$CATALINA _OPTS-XLOGGC: $LOGBASEABS/logs/gc-' Date +%f_%t '. log-xx:+ Usegclogfilerotation-xx:numberofgclogfiles=5-xx:gclogfilesize=2m ", modified to: catalina_opts=" $CATALINA _opts-xloggc:$ logbaseabs/logs/gc-' Date +%f '. log-xx:+usegclogfilerotation-xx:numberofgclogfiles=5-xx:gclogfilesize=2m "
The log format does not support underscores.
Conf/server.xml
Here you can modify the port custom configuration of the Connector,server to be required, not necessarily 8000 and 8090.
2. If you want to configure the Slb+nginx, remember to upstream to the corresponding atlassian-confluence on the intranet machine
3. Go to Atlassian-confluence/bin &&/atlassian-confluence-start.sh, launch the app
4. Install product according to the option, in order to enter the licence page, You can first follow the prompts in atlassian.com to register an account, and temporarily apply for one months of licence, and then the official claims of licence to continue to install, configure the database connection and other information until successful.
5. What can I do with a licence that is only valid for 1 months in the previous step? Or to follow the "three, crack" step of the instructions to break the steps. However, the results can be adjusted to three aspects.
A, stop the confluence service.
b, go into the atlassian-confluence/confluence/web-inf/lib package of the confluence server and delete all the 6 jar packages that start with the Atlassian-extras. Replace with the one we just generated the renamed file: Atlassian-extras-3.2.jar.
C, open the Confluence.home parameter corresponding to the Confluence.cfg.xml in the directory, back up the Licencekey, and then copy their generated key here to replace the original key.
6. Restart the confluence service, accidentally found, "Your evaluation expires in 3787 months, 9 days, 5 hours."
[Forwarding]confluence wiki installation cracked Chinese