Slime: wiki system confluence5.6.6 installation, Chinese, hack and migrate

Source: Internet
Author: User

This article is sponsored by Ilanniweb, starting in Slime Line the world

Want to get more articles, you can follow my ilanniweb

Confluence is a professional enterprise knowledge management and collaboration software that can be used to build enterprise wikis. It enables collaboration and knowledge sharing among team members.

There are many tutorials about confluence online, here we take the confluence5.6.6 version as an example to carry out related experiments.

first, the environment preparation

The confluence is dependent on the Java environment, which means that the JDK needs to be installed and if the version is 1.7 or higher, as follows:

Java-version

In addition, we also need to create a corresponding database, user name and password for confluence, as follows:

Mysql-uroot-p ' kans123qwe '-e ' CREATE database confluence default character set UTF8 collate utf8_bin;grant all on conflu ence.* to ' confluenceuser ' @ ' percent ' identified by ' confluencepasswd ';

The base environment is configured as such.

Second, download confluence and its crack pack

There are many versions of confluence that we can view directly from the following connection

Https://www.atlassian.com/software/confluence/download-archives

We can see that confluence has a variety of installation packages for each version of Windows and Linux platforms, where we choose bin mode. In addition, we can also see that the current Confluence version is 5.10.2.

Download the confluence5.6.6 as follows:

wget Https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-5.6.6-x64.bin

Domestic download speed is relatively slow, need to wait patiently.

After the confluence installation package has been downloaded, we will download the cracked package and connect the following:

http://down.51cto.com/data/2236416

third, installation and crack confluence

After the confluence5.6.6 package has been downloaded, we will now start installing confluence.

3.1 installation confluence

Now start installing confluence5.6.6, using the following command:

chmod 755 Atlassian-confluence-5.6.6-x64.bin

./atlassian-confluence-5.6.6-x64.bin

Through, we can clearly see confluence installed in the/opt/atlassian/confluence and/var/atlassian/application-data/confluence directory, And the confluence listening port is 8090.

Confluence's main configuration file, stored in the/opt/atlassian/confluence/conf/server.xml file, is as follows:

Vim/opt/atlassian/confluence/conf/server.xml

We will now visit the following address, as follows:

cf.ilanni.com:8090

Note: This access address is adjusted according to your century server address.

Through, we can see now confluence want us to enter license, below we break.

3.2 cracked confluence

Copy the server ID in the above, and then close confluence, using the following command:

/etc/init.d/confluence stop

Then switch to the/opt/atlassian/confluence/confluence/web-inf/lib directory and delete the JAR6 files at the beginning of Atlassian-extras as follows:

Cd/opt/atlassian/confluence/confluence/web-inf/lib

ll |grep Atlassian-extra |wc–l

RM-FR atlassian-extra*

Unzip the package, and then put the inside of the Atlassian-extras-3.2.jar, Confluence-5.6.6-language-pack-zh_cn.jar, Mysql-connector-java-5.1.39-bin.jar three jar files are copied to the/opt/atlassian/confluence/confluence/web-inf/lib directory, as follows:

Where Atlassian-extras-3.2.jar file is associated with license, Confluence-5.6.6-language-pack-zh_ Cn.jar is the Confluence Chinese language pack, and Mysql-connector-java-5.1.39-bin.jar is a jar package associated with the confluence connection to the MySQL database.

Explain again:

Atlassian the Chinese language pack for all products, we can download it at the following address:

https://translations.atlassian.com/dashboard/download?lang=zh_CN#/Confluence/5.6.6

The Mysql-connector-java-5.1.39-bin.jar file can be connected to the MySQL version of mysql5.7 and below, and can refer to the following connection:

http://www.w3resource.com/mysql/mysql-java-connection.php

Finally, to start confluence, use the following command:

/etc/init.d/confluence start

To run the cracked jar package, note that we are running the cracked jar package in Windows as follows:

Java-jar Confluence_keygen.jar

Paste the server ID that you copied above, and then click. Gen. As follows:

If the above is shown, then we have cracked the success.

3.3 configuration database

After the hack is complete, we will now configure the confluence database as follows:

Again, we enter the database user name and password created in the first section and click ' Next '. This phase takes a little longer to wait because the initialization of the database is in progress.

After the database is initialized, the related table of the database is as above.

When the database is initialized, it jumps to the following interface:

3.4 Configuring a background Administrator

Initialize an empty site, as follows:

Configure the Confluence administrator account and password as follows:

After the installation is complete, confluence is as follows:

The interface of confluence after landing is as follows:

The installation is complete at this confluence.

3.5 viewing the confluence configuration file

Confluence installation is complete, we look at the confluence configuration file Confluence.cfg.xml. As follows:

Vim/var/atlassian/application-data/confluence/confluence.cfg.xml

Through, we can see the confluence configuration file has confluence license, database and its user name and password.

Iv. migration of Confluence

Confluence migration is very simple, we just need to upload the original confluence backup file to confluence backstage, and then restore the line.

By this confluence the migration is complete.

Five, confluence and Nginx integration

Confluence Access uses the 8090 port, in order to access the convenience, we put confluence and nginx integration, as follows:

Cat/usr/local/nginx/conf/vhost/cf.ilanni.com.conf

Upstream Confluence {

Server 127.0.0.1:8090;

}

server {

Listen 80;

server_name cf.ilanni.com;

Server_tokens off;

Client_max_body_size 0;

Access_log/var/log/confluence_access.log access;

Error_log/var/log/confluence_error.log;

Location/{

Proxy_read_timeout 300;

Proxy_connect_timeout 300;

Proxy_redirect off;

Proxy_http_version 1.1;

Proxy_set_header Host $http _host;

Proxy_set_header X-real-ip $remote _addr;

Proxy_set_header x-forwarded-for $proxy _add_x_forwarded_for;

Proxy_set_header X-forwarded-proto http;

Proxy_pass http://confluence;

}

}

Through, we can see Confluence and Nginx integration has been completed.

Slime: wiki system confluence5.6.6 installation, Chinese, hack and migrate

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.