Atlassian realization of enterprise-level knowledge management and collaborative platform

Source: Internet
Author: User
Tags openldap

#Install Dependence Package

Yum-y removeopenldap-2.4.23-32.el6_4.1.i686

Yum-y Install gccgcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetypefreetype-devel libxml2 libxml2-devel Zlib zlib-devel glibc glibc-devel glib2glib2-devel bzip2 bzip2-devel ncurses ncurses-devel Curl Curl-devel E2FSPROGSE2FSP Rogs-devel krb5 krb5-devel libidn libidn-devel OpenSSL openssl-developenldap openldap-devel nss_ldap openldap-clients Openldap-servers


#Create user MySQL

/usr/sbin/groupaddmysql

/usr/sbin/useradd-g MySQL Mysql-s/sbin/nologin


#Createinstall Directory

Mkdir/usr/local/mysql-p


#Downloadcmake

wget http://wwwNaNake.org/files/v2.8/cmake-2.8.3.tar.gz

Tar zxvf cmake-2.8.3.tar.gz

CD cmake-2.8.3

./configure

Make && make install

Yum Install Ncurses-devel

Yum Install Bison


#Downloadmysql Source Package

wget http://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.35.tar.gz

TAR-ZXVF mysql-5.5.35.tar.gz&& CD mysql-5.5.35


#Installmysql

/usr/local/bin/cmake-dcmake_install_prefix=/usr/local/mysql/-dmysql_unix_addr=/usr/local/mysql/mysql/ Mysql.sock-ddefault_charset=utf8-ddefault_collation=utf8_general_ci-dextra_charsets=all-dwith_extra_charsets: string=utf8,gbk-dwith_innobase_storage_engine=1-dwith_readline=1-denabled_local_infile=1-dmysql_datadir=/mnt/ mysql/-dmysql_user=mysql-dmysql_tcp_port=3306

make-j4&& make Install

chmod +w/usr/local/mysql/

Chown-r mysql.mysql/usr/local/mysql/

Mkdir/u1/mysql/data-p

Mkdir/u1/mysql/logs-p

# # #mkdir/u1/mysql/binlog-p

# # #mkdir/u1/mysql/relaylog-p

Chown-r mysql.mysql/u1/mysql/


Initialize the database

/usr/local/mysql/scripts/mysql_install_db--basedir=/usr/local/mysql/--datadir=/u1/mysql/data/--user=mysql


Startmysql

/USR/LOCAL/MYSQL/BIN/MYSQLD–DEFAULTS-FILE=/U1/MYSQL/MY.CNF &


Loginmysql

/usr/local/mysql/bin/mysql-s/u1/mysql/mysql.sock


Stopmysql

/usr/local/mysql/bin/mysqladminshutdown

#create Confluence Jira crowddatabases

Mysql> CREATE database confluencecharacter set UTF8;

Mysql> Grant on confluence.* to [e-mail protected] '% ' identified by ' confluence ';

mysql> flush Privileges;

Mysql> CREATE database crowdcharacter set UTF8;

Mysql> Grant all on crowd.* [email protected] '% ' identified by ' crowd ';

mysql> flush Privileges;

Mysql> CREATE database jiracharacter set UTF8;

Mysql> Grant all on jira.* to [e-mail protected] '% ' identified by ' Jira ';

mysql> flush Privileges;

#java Install

wget-p/usr/local Http://download.oracle.com/otn-pub/java/jdk/6u32-b05/jdk-6u32-linux-i586.bin

./ Jdk-6u32-linux-i586.bin

MV Jdk1.6.0_32 Java

Export Java_home=/usr/local/java

Exportclasspath= $CLASSPATH: $JAVA _home/lib: $JAVA _home/jre/lib

Exportpath= $JAVA _home/bin: $JAVA _home/jre/bin: $PATH: $HOME/bin

######## #save quit, javac-version, Javac 1.6.0_32

Download Package

mkdir/software&& CD Software

wget http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-5.5.3.tar.gz

wget http://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-2.6.5.tar.gz

wget http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.3.tar.gz

TAR-ZXVF atlassian-confluence-5.5.3.tar.gz

TAR-ZXVF atlassian-crowd-2.6.5.tar.gz

TAR-ZXVF atlassian-jira-6.3.tar.gz

Mkdir/opt/atlassian

MV Atlassian-confluence-5.5.3/opt/atlassian/confluence

MV Atlassian-crowd-2.6.5/opt/atlassian/crowd

MV Atlassian-jira-6.3/opt/atlassian/jira

#crowd Home Directory Config

Vim/opt/atlassian/crowd/crowd-webapp/web-inf/classes/crowd-init.properties

Like this "crowd.home=/var/atlassian/application-data/crowd/"


#crowd Port config Default 8095

Vim/opt/atlassian/crowd/apache-tomcat/conf/server.xml

Like this "<connectoracceptcount=" "connectiontimeout=" 20000 "disableuploadtimeout=" true "enablelookups=" False "maxhttpheadersize=" 8192 "maxthreads=" "minsparethreads=" "port=" 8095 "redirectport=" 8443 " Usebodyencodingforuri= "true" uriencoding= "UTF-8"/> "

#copy Mysql-connector-java-5.1.18-bin.jar to/opt/atlassian/confluence/lib/

cpmysql-connector-java-5.1.18-bin.jar/opt/atlassian/confluence/lib/


#start crowd Server

/opt/atlassian/crowd/start_crowd.sh


#confluence Home Directory Config

Vim/opt/atlassian/confluence/confluence/web-inf/classes/confluence-init.properties

Like this "confluence.home=/var/atlassian/application-data/confluence/"


#confluence Port config Defalult 8090

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

Like this "<connectorclassname=" Org.apache.coyote.tomcat4.CoyoteConnector "port=" 8090 "minprocessors=" 5 "

maxprocessors= "75"

Enablelookups= "false" redirectport= "8443" acceptcount= "ten" debug= "0" connectiontimeout= "20000"

Useurivalidationhack= "false" uriencoding= "UTF-8"/> "


#start Confluence Service

/opt/atlassian/confluence/bin/start-confluence.sh


#jira Home Directory Config

Vim/opt/atlassian/jira/atlassian-jira/web-inf/classes/jira-application.properties

Like this "Jira.home=/var/atlassian/application-data/jira"


#jira Port config Default 8070

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

Like this "<service name=" Catalina ">

<connector port= "8070"

Maxthreads= "150"

Minsparethreads= "25"

connectiontimeout= "20000"

Enablelookups= "false"

Maxhttpheadersize= "8192"

Protocol= "http/1.1"

Usebodyencodingforuri= "true"

Redirectport= "8443"

acceptcount= "100"

Disableuploadtimeout= "true"/> "

#Crack confluence# cracked Confluence

Http://confluence:post

1. record Server-id B13z-xwo6-nh6u-gt3d

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/75/7A/wKiom1Y532XBbBELAAK4FxKF2UU680.jpg "title=" Confluence.png "alt=" Wkiom1y532xbbbelaak4fxkf2uu680.jpg "/>

2.stop Confluenceserver

# two different methods

/opt/atlassian/confluence/bin/stop-confluence.sh

Kill-9 ' Ps-ef |grep Confluence | Gawk-f "" ' {print $} ' | Head-1 '

Cp/opt/atlassian/confluence/confluence/web-inf/lib/atlassian-extras-2.4.jar to LocalFile (Windows)


3. Download JDK and installed (skip)


4. Download Confluence_keygen and configuration

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/75/7A/wKiom1Y539uRGJd9AAMUs7oj6nI720.jpg "title=" aa.png "alt=" Wkiom1y539urgjd9aamus7oj6ni720.jpg "/>


This article is from the "Linuxblind Open Space" blog, so be sure to keep this source http://linuxblind.blog.51cto.com/7616603/1709744

Atlassian realization of enterprise-level knowledge management and collaborative platform

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.