Building an efficient Team collaboration tool (iii) Confluence installation configuration

Source: Internet
Author: User
Tags parent directory create database

Confluence is a professional enterprise knowledge management and collaboration software, an enterprise-level wiki. It enables collaboration and information sharing among team members. Confluence is simple to use, but its powerful editing and site management features help team members share information, document collaboration, and Brainstorm. At present, confluence is widely used in project team, development team, marketing team.

1. System environment

OS:

CentOS Release 5.6

Jdk:

1.6.0_26

Web Server:

tomcat-6.0.32

Db:

MySQL Community Server 5.5.15

Jdbc

mysql-connector-java-5.1.17

Confluence:

Confluence 3.4.5-ear/war (WAR)

The system environment configuration is not described here, assuming Tomcat, MySQL and other environmental configuration completed.

2. Directory Planning

/usr/local/jdk1.6

JDK installation directory, Java_home and classpath set to global environment variables

MySQL uses the RPM default installation path

/opt/tomcat6

Tomcat installation directory

/opt/atlassian

Atlassian the parent directory of the product installation

/opt/atlassian/home

Atlassian Product Home directory, Confluence_home is in/opt/atlassian/home/confluence

/opt/atlassian/confluence

Jira installation directory

3. Establishment of the Confluence database

Log in to MySQL with root user to create schema required for Jira

Mysql> CREATE database confluence character set UTF8;

Mysql> Grant all on confluence.* to confluence@ ' localhost ' identified by ' confluence ';

4. Generate Confluence Project

Download Confluence3.4.5-ear/war (War) (choose War version is mainly to feel flexible configuration), extract to a temporary directory (for example:/opt/resource).

Switch to the unpacked directory and run build.sh:

$ sh build.sh

After the operation to generate the corresponding directories and files, into the dist/directory, the Confluence-3.4.5.war files extracted into the/opt/atlassian/confluence directory.

Create confluence.xml under Tomcat ' s conf/catalina/localhost/, as follows:

<contextpath= "/confluence" docbase= "/opt/atlassian/confluence" reloadable= "true" crosscontext= "true"/>

5. Update Tomcat class Pack

Jira-jars-tomcat6.zip Download Address:

http://confluence.atlassian.com/download/attachments/231932640/jira-jars-tomcat6.zip?version=1& modificationdate=1252474277487

Mail.jar Download Address

http://www.oracle.com/technetwork/java/index-138643.html

Activation.jar (ie jaf) Download address

http://www.oracle.com/technetwork/java/index-135046.html

and MySQL JDBC driver:

http://www.mysql.com/downloads/connector/j/

See "Building an efficient team collaboration tool (i) Jira installation Configuration".

6. Crowd related configuration

Modify/opt/atlassian/confluence/web-inf/classes/confluence-init.properties:

Confluence.home=/opt/atlassian/home/confluence

7. Run Tomcat and follow the wizard to initialize confluence

Restart Tomcat, enter http://<ip>:8080/confluence in the browser, and go to the Setup Wizard to install and initialize confluence through the wizard.

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.