项目管理之jira

安装

https://confluence.atlassian.com/adminjiraserver/installing-jira-applications-on-linux-938846841.html

数据库配置

https://confluence.atlassian.com/adminjiraserver/connecting-jira-applications-to-mysql-5-7-966063305.html
CREATE DATABASE jiradb CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,ALTER,INDEX on jiradb.* TO 'jirauser'@'10.81.184.%' IDENTIFIED BY 'jirapassed';
flush privileges;

破解

https://github.com/pengzhile/atlassian-agent
java -jar atlassian-agent.jar -m 'jira@qq.com'  -p jira -o 'http://10.66.6.220:8080' -s 'B4Y4-EDXJ-3XWQ-ITW1'

操作说明:

yum install java-11-openjdk -y

[root@bogon yum.repos.d]# cat /etc/yum.repos.d/mariadb.repo 
[mariadb]
name=mariadb
baseurl=http://mirrors.neusoft.edu.cn/mariadb//mariadb-10.3.15/yum/centos7-amd64/
enabled=1
gpgcheck=0

yum install mariadb-server -y

vim /etc/my.cnf.d/server.cnf
[mysqld]
default-storage-engine=INNODB
character_set_server=utf8mb4
innodb_default_row_format=DYNAMIC
innodb_large_prefix=ON
innodb_file_format=Barracuda
innodb_log_file_size=2G
sql_mode = NO_AUTO_VALUE_ON_ZERO
datadir=/data/mysql
skip_name_resolve
open_files_limit=4005
max_connections=3000

mkdir -pv /data/mysql
chown mysql.mysql /data/mysql
systemctl start mariadb
systemctl enable mariadb

MariaDB [(none)]> CREATE DATABASE jiradb CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
Query OK, 1 row affected (0.001 sec)
MariaDB [(none)]> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,ALTER,INDEX on jiradb.* TO 'jirauser'@'127.0.0.1' IDENTIFIED BY 'jirapassed';
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.001 sec)

/usr/sbin/useradd --create-home --comment "Account for running Jira Software" --shell /bin/bash jira

tar xvf atlassian-jira-software-8.2.0.tar.gz
mv atlassian-jira-software-8.2.0-standalone /data/jirasoftware
tar xvf mysql-connector-java-5.1.47.tar.gz 
mv mysql-connector-java-5.1.47/mysql-connector-java-5.1.47.jar /data/jirasoftware/lib/
tar xvf atlassian-agent-v1.2.2.tar.gz 
mv atlassian-agent-v1.2.2/atlassian-agent.jar /data/jirasoftware/
mkdir /data/jirasoftware-home
chown -R jira   /data/jirasoftware  /data/jirasoftware-home
chmod -R u=rwx,go-rwx   /data/jirasoftware  /data/jirasoftware-home

vim /etc/profile
export JIRA_HOME=/data/jirasoftware-home
export JAVA_OPTS="-javaagent:/data/jirasoftware/atlassian-agent.jar ${JAVA_OPTS}"
source /etc/profile

cat /data/jirasoftware/atlassian-jira/WEB-INF/classes/jira-application.properties
# Do not modify this file unless instructed. It is here to store the location of the JIRA home directory only and is typically written to by the installer.
jira.home =  /data/jirasoftware-home

su -u jira
cd /data/jirasoftware/bin/
./start-jira.sh

java -jar atlassian-agent.jar -m 'jira@qq.com'  -p jira -o 'http://10.66.6.220:8080' -s 'B4Y4-EDXJ-3XWQ-ITW1'

git已经被封了,附件为破解 atlassian-agent.jar

atlassian-agent-v1.2.2.tar.gz

  • 项目管理之jira已关闭评论
  • 39 views
    A+
发布日期:2020年10月28日  所属分类:linux