Jira最新安装破解文档,企业常用项目管理工具Jira

寻技术 JAVA编程 2023年07月12日 138

jira安装具体步骤

  1. 安装docker
    image

  2. 启动docker
    image

  3. 上传并解压(tar -xvf)数据库驱动(tar.gz),上传破解jar包(atlassian-agent.jar)

  4. 运行命令,下载镜像并启动mysql容器

    docker run --name mysql     --restart always     -p 3306:3306     -e MYSQL_ROOT_PASSWORD=wjj123456     -v mysql_data:/var/lib/mysql     -v mysql_conf:/etc/mysql/conf.d     -v mysql_backup:/backup     -d mysql:5.7
    
  5. 进入/var/lib/docker/volumes/mysql_conf/_data/目录,执行命令

    vim mysql.cnf

    [mysqld]
    default-storage-engine=INNODB
    character_set_server=utf8mb4
    collation-server=utf8mb4_general_ci
    innodb_default_row_format=DYNAMIC
    innodb_large_prefix=ON
    innodb_file_format=Barracuda
    innodb_log_file_size=256M
    
    

    接下来按顺序执行以下命令:

    docker exec -it mysql bash
    
    mysql -u root -p
    #(输入刚才数据库配置的密码)
    
    show databases;
    
    CREATE DATABASE jira CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
    GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX on jira.* TO 'jira'@'%' IDENTIFIED BY 'jira';
    GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,ALTER,INDEX on jira.* TO 'jira'@'%' IDENTIFIED BY 'jira';
    flush privileges;
    
    show databases; #查看是否有jira数据库
    
    exit
    exit
    
    #运行jira容器
    docker run --name jira     --restart always    -e JVM_SUPPORT_RECOMMENDED_ARGS=-Duser.timezone=Asia/Shanghai     -p 85:8080     -v jira_data:/var/atlassian/application-data/jira     -v jira_opt:/opt/atlassian/jira     -d atlassian/jira-software:8.8.0
    
    docker ps #查看是否启动
    
    #在刚才解压的mysql-connector-java-5.1.49-bin.jar文件下执行以下命令
    docker cp mysql-connector-java-5.1.49-bin.jar jira:/opt/atlassian/jira/atlassian-jira/WEB-INF/lib
    # atlassian-agent.jar文件下执行以下命令
    docker cp atlassian-agent.jar jira:/opt/atlassian/jira/bin
    
    # 进入容器
    docker exec -it jira bash
    # 进入下面目录
    cd /opt/atlassian/jira/bin
    apt update
    apt install vim/vi
    
    vim setenv.sh
    #在文件末尾添加
    export JAVA_OPTS="-javaagent:/opt/atlassian/jira/bin/atlassian-agent.jar ${JAVA_OPTS}"
    
    #重要:
    docker restart mysql
    docker restart jira
    #查看容器是否正常运行
    docker ps
    
    #破解
    java -jar atlassian-agent.jar -p jira -m test@devops.tech -n devops -o https://zhile.io -s BLUD-BFC2-CXIO-U191
    

    按照指示填,即可破解成功!!!

关闭

用微信“扫一扫”