Confluence Installation Deployment

Source: Internet
Author: User

1. installation package Download

Jdk‐8u77‐linux‐x64.rpmatlassian‐confluence‐5.9.7.tar.gzmysql‐connector‐java‐5.1.24.tar.gzconfluence‐5.4.4‐ Language‐pack‐zh_cn

Package Description:

JDK‐8U77‐LINUX‐X64.RPM//java Environment Pack atlassian‐confluence‐5.9.7.tar.gz//confluence Source package mysql‐connector‐java‐5.1.24. tar.gz//mysql Connection Package CONFLUENCE‐5.4.4‐LANGUAGE‐PACK‐ZH_CN//Chinese Package Plugin

Download path:

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

2. Installing the Java Environment

2.1. Installing the JDK Package

#rpm-IVH jdk-8u77-linux-x64.rpm

2.2. View version

# Java-versionjava Version "1.8.0_77" Java (tm) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot (tm) 64-bit Server V M (build 25.77-b03, Mixed mode)

2.3. Setting Environment variables

# vi/etc/profile# Add the following java_home=/usr/java/jdk1.8.0_77jre_home=/usr/java/jdk1.8.0_77/jrepath= $PATH: $JAVA _home/bin : $JRE _home/binclasspath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar: $JRE _home/libexport java_home JRE_HOME PATH classpath# Source/etc/profile

3. Install MySQL

3.1. Install MySQL

#yum Install mysql-server mysql-devel php56w-mysql mysql-5.1.73

3.2. Start the initialization database

#/etc/init.d/mysqld Start

3.3. Create a database and add users

#/etc/init.d/mysqld Start#mysql–uroot–p>create Database confluence character set utf8;>grant all on confluence.* to [e-mail protected] "%" identified by "confluence", >grant all on confluence.* to [email protected] "localhost" identifie D by "confluence";

4. Installing confluence

4.1. Unpacking the Package

# TAR-XF atlassian-confluence-5.9.7.tar.gz# cp-a atlassian-confluence-5.9.7/data/atlassian-confluence/

4.2. Modify the Data directory

# Vim Confluence/web-inf/classes/confluence-init.properties

# Modify as follows:

Confluence.home=/data/atlassian-confluence/data

4.4. Create Additional Data Catalog

# cd/data/atlassian-confluence# mkdir Data

4.5. Modify Server.xml

# cd/data/atlassian-confluence# mkdir data# cd/data/atlassian-confluence/# vi conf/server.xml# Add <context path= under this line "Docbase=". /confluence "debug=" 0 "reloadable=" false "usehttponly=" true "># content as follows: <resource name=" Jdbc/confluence "auth=" Container "type=" Javax.sql.DataSource "username=" Confluence "password=" Confluence "Driverclassname=" Com.mysql.jdbc.Driver "Url=" jdbc:mysql://localhost:3306/confluence?useunicode=true&amp;characterencoding= UTF8 "maxactive=" "maxidle=" 7 "defaulttransactionisolation=" read_committed "validationquery=" Select 1 "/>

4.6. Modify Web. xml

# Increased between <web-app and </web-app>

<resource-ref><description>connection pool</description><res-ref-name>jdbc/confluence </res-ref-name><res-type>javax.sql.datasource</res-type><res-auth>container</ Res-auth></resource-ref>

5. Install the database connection

# mkdir data# tar-xf mysql-connector-java-5.1.24.tar.gz# CD mysql-connector-java-5.1.24# MV mysql-connector-java-5.1.24-bin.jar/data/atlassianconfluence/confluence/web-inf/lib/

6. Start the process

confluence/confluence/web-inf/lib/# cd/data/atlassian-confluence/

# Test for errors

#./bin/configtest.sh

# If there is no error, start

#./bin/start-confluence.sh

7. View the process

#./bin/start-confluence.sh# Ps-ef | grep java# Netstat-ntpl | grep javatcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 13302/javatcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN 13302/java

8. Visit http://ip:8090

Secure ports can be accessed before access

# IPTABLES-NL | grep 8090ACCEPT TCP--0.0.0.0 0.0.0.0/0 TCP dpt:8090 State NEW

9. Graphics Configuration

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7F/0A/wKioL1cQyxbzvvRGAAD6YA-Ysjg426.png "title=" c1.png "alt=" Wkiol1cqyxbzvvrgaad6ya-ysjg426.png "/>

Can connect with Google Registration trial, find a license, Next will connect JDBC

Enter data access user and password

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7F/0A/wKioL1cQy17zBUx1AACoN6Q7Lvs381.png "title=" c2.png "alt=" Wkiol1cqy17zbux1aacon6q7lvs381.png "/>

Select an empty station

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7F/0D/wKiom1cQysqAaXbEAAB9Z55ULMQ386.png "title=" c3.png "alt=" wkiom1cqysqaaxbeaab9z55ulmq386.png "/> Configuration Administrator account

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7F/0D/wKiom1cQyvzBzjEGAAE8ZW7FVuI308.png "title=" c4.png "alt=" Wkiom1cqyvzbzjegaae8zw7fvui308.png "/>

Configure administrator user name and password

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7F/0D/wKiom1cQyx-ihy13AACBf2bRCFs342.png "title=" c5.png "alt=" Wkiom1cqyx-ihy13aacbf2brcfs342.png "/>

10. About cracking

Copy files to related directories:

10.1. Copying files

#./bin/start-confluence.# CP Atlassian-extras-decoder-v2-3.2.jar/data/atlassianconfluence/confluence/web-inf/lib /

10.2. Restart the process

# cd/data/atlassian-confluence/#./bin/stop-confluence.sh#./bin/start-confluence.sh

11. Added Chinese support

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7F/0A/wKioL1cQzB3AwlTSAABNbfEI8eA154.png "title=" c6.png "alt=" Wkiol1cqzb3awltsaabnbfei8ea154.png "/>

Upload a Chinese supported plugin

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7F/0A/wKioL1cQzELShksuAABH3BCAnNU233.png "title=" c7.png "alt=" Wkiol1cqzelshksuaabh3bcannu233.png "/>


This article is from the "OPS rookie" blog, please be sure to keep this source http://ckl893.blog.51cto.com/8827818/1764287

Confluence Installation Deployment

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.