wiki department

wiki部署
author: 李建生
版本:confluence5.6

A ready link

1. Upload Software

[root@web01 tools]# ls
apache-tomcat-8.0.27.tar.gz atlassian-jira-software-7.6.0-EAP01.tar.gz
atlassian-confluence-6.5.0.tar.gz jdk-8u60-linux-x64.tar.gz
[root@web01 tools]#

2. Extract the installation jdk

[root@web01 tools]# tar xf jdk-8u60-linux-x64.tar.gz -C /application/
[root@web01 tools]# ln -s /application/jdk1.8.0_60/ /application/jdk

3. Set Environment Variables

[root@web01 tools]# sed -i.ori '$a export JAVA_HOME=/application/jdk\nexport PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH\nexportCLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$JAVA_HOME/lib/tools.jar' /etc/profile
[root@web01 tools]# source /etc/pro
profile profile.d/ profile.ori protocols    
[root@web01 tools]# source /etc/profile
[root@web01 tools]# java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
[root@web01 tools]#

Second, the database configuration

Database using mysql5.7

MariaDB [(none)]> create database confluencedb character set utf8 collate utf8_bin;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> CREATE user 'confluenece'@'%' IDENTIFIED BY 'rtmap911'; 
Query OK, 0 rows affected (0.09 sec)

MariaDB [(none)]> GRANT ALL PRIVILEGES ON confluencedb.* TO 'confluence'@'%' IDENTIFIED BY 'traffic';
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]>

Third, the installation confluence

1. Under Setup

cd /server/tools
wget https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-5.6.6-x64.bin

2. Download the installation package to crack

We need to break the pc segment has java environment

https://page00.ctfile.com/fs/15323800-217465309

3. Start the installation

Modify permissions

[root@conflunce tools]# chmod 755 atlassian-confluence-5.6.6-x64.bin
[root@conflunce tools]# ./atlassian-confluence-5.6.6-x64.bin

Execute the installation program

[root@conflunce tools]# ./atlassian-confluence-5.6.6-x64.bin 
Unpacking JRE ...
Starting Installer ...
java.util.prefs.FileSystemPreferences$
INFO: Created system preferences directory in java.home.

This will install Confluence 5.6.6 on your computer.
OK [o, Enter], Cancel [c]
o
Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (uses default settings) [1], Custom Install (recommd users) [2, Enter], Upgrade an existing Confluence installation [3
1
See where Confluence will be installed and the settings that will b
Installation Directory: /opt/atlassian/confluence 
Home Directory: /var/atlassian/application-data/confluence 
HTTP Port: 8090 
RMI Port: 8000 
Install as service: Yes 
Install [i, Enter], Exit [e]
i

Extracting files ...

……

Please wait a few moments while Confluence starts up.
Launching Confluence ...
Installation of Confluence 5.6.6 is complete
Your installation of Confluence 5.6.6 is now ready and can be accessed via
your browser.
Confluence 5.6.6 can be accessed at http://localhost:8090
Finishing installation ...

4. Installation page

Note: This access address is adjusted according to their centuries server address.

wiki department

wiki department

Do not close the page at this time began to crack

Fourth, crack

1. ready to crack

1. stop conflunce Service

[root@conflunce tools]# /etc/init.d/confluence stop
executing using dedicated user
If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide

Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out
Using CATALINA_BASE: /opt/atlassian/confluence
Using CATALINA_HOME: /opt/atlassian/confluence
Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp
Using JRE_HOME: /opt/atlassian/confluence/jre/
Using CLASSPATH: /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/confluence/work/catalina.pid
Tomcat stopped.

2. Delete the file

root@conflunce ~]# cd /opt/atlassian/confluence/confluence/WEB-INF/lib
[root@conflunce lib]# ll |grep atlassian-extra |wc -l
6
[root@conflunce lib]# ll |grep atlassian-extra 
-rw-r--r-- 1 root root 14935 12月 1 2014 atlassian-extras-api-3.2.jar
-rw-r--r-- 1 root root 21788 12月 1 2014 atlassian-extras-common-3.2.jar
-rw-r--r-- 1 root root 38244 12月 1 2014 atlassian-extras-core-3.2.jar
-rw-r--r-- 1 root root 5171 12月 1 2014 atlassian-extras-decoder-api-3.2.jar
-rw-r--r-- 1 root root 6668 12月 1 2014 atlassian-extras-decoder-v2-3.2.jar
-rw-r--r-- 1 root root 68438 12月 1 2014 atlassian-extras-legacy-3.2.jar
[root@conflunce lib]# rm -fr atlassian-extra*

Extracting modify a package, and then copy the inside atlassian-extras-3.2.jar, Confluence-5.6.6-language-pack-zh_CN.jar, mysql-connector-java-5.1.39-bin.jar to three jar files / opt / atlassian / confluence / confluence / WEB-INF / lib directory

atlassian-extras-3.2.jar #破解文件
Confluence-5.6.6-language-pack-zh_CN.jar #中文插件
mysql-connector-java-5.1.39-bin.jar #mysql连接器 

mysql-connector-java-5.1.39-bin.jar file and the following can be connected mysql5.7 mysql versions, reference may be connected as follows:

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

wiki department

3. Start confluence

[root@conflunce ~]# /etc/init.d/confluence start

2. The final crack at pc

Jdk Runtime Environment needs to be installed on the note windows.

wiki department

serverID to fill in the web interface

wiki department

The generated key can be copied with the web interface

wiki department

5, configuration database

wiki department

5.1, choose direct JDBC

wiki department

5.2, enter the database user password

wiki department

5.3, the database initialization is complete, it will jump to the following screen

wiki department

5.4, ​​configuration confluence of the administrator account and password

wiki department

5.5, enter the administrator information

wiki department

5.6, the installation is complete

wiki department

5.7 After the installation is complete interface

wiki department

Guess you like

Origin blog.51cto.com/shengge520/2422331