1.配置好JDK
2.安装好mysql,/data/mysql/init.d/mysql start
/data/mysql/bin/mysql -u root -p
mysql 用户名 **** 密码 ****
jira创建数据库,创建用户并赋与权限:
mysql> create database jira_yidai character set 'UTF8’;
mysql> create user jirauser identified by 'jirauser';
mysql> grant all privileges on *.* to 'jirauser'@'%' identified by 'jirauser' with grant option;
mysql> grant all privileges on *.* to 'jirauser'@'localhost' identified by 'jirauser' with grant option;
mysql> flush privileges;
wiki创建数据库,创建用户并赋与权限:
CREATE DATABASE wiki_yidai CHARACTER SET utf8 COLLATE utf8_bin;
GRANT ALL PRIVILEGES ON wiki_yidai.* TO wikiuser@'localhost' IDENTIFIED BY 'wikiuser’;
GRANT ALL PRIVILEGES ON wiki_yidai.* TO wikiuser@'%' IDENTIFIED BY 'wikiuser’;
3.停止firewall
systemctl stop firewalld.service
4.安装jira:
jira wiki包放在/opt/atlassian下 ./atlassian-jira-software-7.7.0-x64.bin 按提示逐步执行 端口8080不变
安装完成后 不要立即启动jira,需要将/opt/atlassian/jira-jar/下的atlassian-extras-3.2.jar和mysql-connector-java-5.1.44-bin.jar
copy到/