OS:Windows Server 2012 R2 Std
Atlassian:(购买都是10美元的Starter版本)
MySQL:5.7.28.0
JDBC:5.1.48
文件清单
mysql-connector-java-5.1.48.zip
atlassian-crowd-3.7.0.zip
atlassian-confluence-7.0.3-x64.exe
mysql-installer-community-5.7.28.0.msi
atlassian-jira-software-8.4.2-x64.exe
下载链接
https://www.atlassian.com/
https://dev.mysql.com/downloads/installer/
Atlassian官方对MySQL的安装要求
Confluence的要求(官方说Confluence的要求更严格,满足Confluence就满足Jira):
https://confluence.atlassian.com/doc/database-setup-for-mysql-128747.html
Jira的要求:
https://confluence.atlassian.com/adminjiraserver/supported-platforms-938846830.html
依次安装Microsoft Visual C++ 2013 Redistributable和MySQL
关闭mysql服务,修改mysql配置文件
C:\ProgramData\MySQL\MySQL Server 5.7\my.ini
修改如下变量的值:
max_allowed_packet=256M
innodb_log_file_size=2GB
在最后添加如下内容后保存为ANSI编码,退出
character-set-server=utf8
collation-server=utf8_bin
default-storage-engine=INNODB
transaction-isolation=READ-COMMITTED
binlog_format=row
进入服务管理器services.msc重启mysql服务
进入MySQL 5.7 Command Line Client,创建数据库:
mysql> CREATE DATABASE jira CHARACTER SET utf8 COLLATE utf8_bin;
mysql> CREATE DATABASE confluence CHARACTER SET utf8 COLLATE utf8_bin;
mysql> CREATE DATABASE crowd CHARACTER SET utf8 COLLATE utf8_bin;
创建并授权用户:
mysql> GRANT ALL PRIVILEGES on jira.* TO 'atlassian'@'localhost' IDENTIFIED BY ';
mysql> GRANT ALL PRIVILEGES on confluence.* TO 'atlassian'@'localhost';
mysql> GRANT ALL PRIVILEGES on crowd.* TO 'atlassian'@'localhost' ;
双击atlassian-jira-software-8.4.2-x64.exe按照提示默认完成安装即可,需要提示的是指定Home目录时建议自定义。
mysql-connector-java-8.0.13.jar
[Atlassian Root]\Confluence\confluence\WEB-INF\lib
Crowd的安装与以上相比简单很多,可以参照以下官方说明即可。
https://confluence.atlassian.com/crowd/installing-crowd-and-crowdid-191862.html
从官网下载JDK,以下为无需登录的迅雷链接:
https://download.oracle.com/otn/java/jdk/8u221-b11/230deb18db3e4014bb8e3e8324f81b43/jdk-8u221-windows-x64.exe?AuthParam=1563589007_663a1f07ff53f2baa3925f340f025ad7
当前最新版本:jdk-8u231-windows-x64.exe
需要特别注意的是:JDK的安装目录不能够包含空格,否则在安装Crowd时会报错,所以必须自行指定路径,此处使用C:\Java\jdk1.8.0_231。
安装完成后,修改系统变量,增加JAVA_HOME,值为:C:\Java\jdk1.8.0_231\
参照官方说明即可。
https://confluence.atlassian.com/crowd/configuring-crowd-to-work-with-ssl-151520306.html
https://confluence.atlassian.com/crowd/configuring-an-ssl-certificate-for-microsoft-active-directory-63504388.html
https://confluence.atlassian.com/crowd/overview-of-sso-179445277.html
https://confluence.atlassian.com/crowd/troubleshooting-sso-with-crowd-131466214.html
https://blog.csdn.net/baidu_36743954/article/details/96569214