Confluence is a professional enterprise knowledge management and collaboration software that can be used to build enterprise wikis. It can achieve collaboration and knowledge sharing between team members.
Refer to jira crack installation, here I install Confluence and jira to the same server, so the above environment configuration reference: http://blog.csdn.net/wh211212/article/details/76020723
mysql -uroot -p'211212'-e "create database confluence default character set utf8 collate utf8_bin;grant all on confluence.* to 'confluence'@'%' identified by 'confluencepasswd';"
# According to your own habits, redefine Confluence's username and password
It is recommended to download the Confluence installation file directly on the server through wget. The installation file may be damaged during the downloading to the local and uploading to the server.
# Move to the directory where the confluence installation file is located, and execute the following command to install:
chmod +x atlassian-confluence-6.3.1-x64.bin
sudo ./atlassian-confluence-6.3.1-x64.bin
It can be seen from the above figure that confluence is installed in the /opt/atlassian/confluence and /var/atlassian/application-data/confluence directories, and the default listening port of confluence is 8090. The default installation is all the way.
Note: The main configuration file of confluence is /opt/atlassian/confluence/conf/server.xml, which is similar to jira. This server.xml is equivalent to the server.xml configuration file in tomcat
Before the change:<Context path="" docBase="../confluence" debug="0" reloadable="false">
After the change:<Context path="/confluence" docBase="../confluence" debug="0" reloadable="false">
< Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"
proxyName="wiki.aniu.so" proxyPort="80"/>
server {
listen wiki.aniu.so:80;
server_name wiki.aniu.so;
location /confluence {
client_max_body_size 100m;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:8090/confluence;}
location /synchrony {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:8091/synchrony;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";}}
# After the configuration is complete, restart confluence and nginx, and then pass the domain name:http://wiki.aniu.so/confluence visit confluence
As can be seen from the above figure, proxy confluence through the domain name nginx has been successful, and here is set to Chinese to continue installation.
Select product installation and click Next to continue installation
1、 Install Confluence, apply for a test KEY directly from the official website when you need KEY
2、 Replace the two files, which are
/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.2.jar
/opt/atlassian/confluence/confluence/WEB-INF/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-2.22.jar
A backup must be made before replacement to facilitate rollback.
3、 Restart the Confluence service and use the product normally.
Replace the file,
/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.2.jar
# Download the jar file for cracking from Baidu Cloud, and then restart confluence
Recommended Posts