The company's Jira and wikis have been in use for a long time and have implemented user-integrated logins with the same username and password. But each login two applications must lose two times username and password, feel inconvenient, so decided to jira and wiki implementation of single sign-on, I was using crowd to achieve a single sign-on and management.
The following is the installation process:
I. Installation of JIRA and wikis
My version here is jira4.4.4,confluence-5.1.2. JDK environment has been installed, the specific installation steps do not say, online many installed cracked. MySQL has also been installed on the 192.168.0.212 machine.
II. installation and preparation of crowd
1. Package download
I'm going to put the package directly under the/root.
Download package atlassian-crowd-2.7.0.tar.gz, download address https://www.atlassian.com/software/crowd/download
Download JDBC Connector Mysql-connector-java-5.1.6-bin.jar
2. Install Java environment in local widows
Download the Install jdk-7u40-windows-i586 Application (Windows edition)
For detailed steps, click on the link.
Http://wenku.baidu.com/view/0dbcf09a71fe910ef12df8e8.html
Third, the crowd of the crack installation
1, modify the configuration file
[Root@vm231atlassian] #tarzxfatlassian-crowd-2.7.0.tar.gz-c/opt/atlassian/crowd/
[Root@vm231crowd] #mkdircrowd_home
Create a crowd_home as a crowd profile directory
[Root@vm231crowd] #cdatlassian-crowd-2.7.0/crowd-webapp/web-inf/classes/
[Root@vm231classes] #vimcrowd-init.properties
Change the Crowd.home property to the profile directory established for crowd
2, crowd and MySQL database connection
Log on to the 192.168.0.212 machine (the machine where the database is installed) and configure the Add database:
[root@localhost~] #mysql-uroot-p
Enterpassword:
...
mysql>createdatabasecrowdcharactersetutf8;
mysql>grantalloncrowd.*tocrowd@ "%" identifiedby "crowd";
mysql>grantalloncrowd.*tocrowd@ "localhost" identifiedby "crowd";
3, for crowd plus MySQL driver
This column more highlights: http://www.bianceng.cn/webkf/tools/