美文网首页
Jira安装

Jira安装

作者: 诺之林 | 来源:发表于2020-04-15 15:34 被阅读0次

    目录

    Vagrant

    vim sources.list
    
    deb-src http://archive.ubuntu.com/ubuntu xenial main restricted
    deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
    deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
    deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
    deb http://archive.canonical.com/ubuntu xenial partner
    deb-src http://archive.canonical.com/ubuntu xenial partner
    deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
    
    vim Vagrantfile
    
    Vagrant.configure("2") do |config|
        config.vm.box = "ubuntu/xenial64"
        config.vm.box_check_update = false
        config.vm.host_name = "temp"
        config.vm.network "private_network", ip: "192.168.56.202"
        config.vm.provider "virtualbox" do |vb|
            vb.name = "temp"
            vb.cpus = "2"
            vb.memory = "3000"
        end
        config.vm.provision "file", source: "sources.list", destination: "/tmp/sources.list"
        config.vm.provision "shell", inline: <<-SHELL
            sudo mv /tmp/sources.list /etc/apt/sources.list && sudo apt update
        SHELL
    end
    
    vagrant up
    
    vagrant ssh
    

    Java

    sudo apt update
    
    sudo apt install -y openjdk-8-jdk
    
    java -version
    # openjdk version "1.8.0_242"
    # OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~16.04-b08)
    # OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
    

    MySQL

    sudo apt install -y mysql-server
    
    mysql -uroot -p123456  <<< "CREATE DATABASE jiradb CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;"
    
    mysql -uroot -p123456  <<< "SHOW DATABASES;"
    

    JIRA

    wget https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-8.3.0-x64.bin
    
    chmod +x atlassian-jira-software-8.3.0-x64.bin
    
    sudo ./atlassian-jira-software-8.3.0-x64.bin
    # Custom Install
    # /opt/atlassian/jira
    # /var/atlassian/application-data/jira
    # Use default ports (HTTP: 8080, Control: 8005)
    # Install JIRA as Service
    
    wget https://cdn.mysql.com//Downloads/Connector-J/mysql-connector-java-5.1.48.tar.gz
    
    tar xf mysql-connector-java-5.1.48.tar.gz
    
    sudo cp mysql-connector-java-5.1.48/mysql-connector-java-5.1.48.jar /opt/atlassian/jira/lib/
    

    Crack

    tar xf atlassian-agent-v1.2.3.tar.gz
    
    sudo cp atlassian-agent-v1.2.3/atlassian-agent.jar /opt/atlassian/jira/lib/
    
    sudo vim /opt/atlassian/jira/bin/setenv.sh
    # export JAVA_OPTS="-javaagent:/opt/atlassian/jira/lib/atlassian-agent.jar ${JAVA_OPTS}"
    
    • 重启JIRA服务
    sudo /opt/atlassian/jira/bin/shutdown.sh
    
    sudo /opt/atlassian/jira/bin/startup.sh
    
    image.png image.png image.png

    记住上述服务器ID => BUJA-N41K-QN7A-2H4B

    • 生成破解Key
    java -jar /opt/atlassian/jira/lib/atlassian-agent.jar
    
    java -jar /opt/atlassian/jira/lib/atlassian-agent.jar -p jira -m yl33643@gmail.com -n yl33643 -o https://nuozhilin.site/ -s BUJA-N41K-QN7A-2H4B
    
    image.png

    简单配置略过 至此安装完毕

    Plugin

    • 管理 => 管理应用 => 安装 Zephyr for JIRA

    • 生成破解Key

    java -jar /opt/atlassian/jira/lib/atlassian-agent.jar
    
    java -jar /opt/atlassian/jira/lib/atlassian-agent.jar -p com.thed.zephyr.je -m yl33643@gmail.com -n yl33643 -o https://nuozhilin.site/ -s B7B0-JQPT-QLGZ-2XRX
    
    image.png

    参考

    相关文章

      网友评论

          本文标题:Jira安装

          本文链接:https://www.haomeiwen.com/subject/kcvqvhtx.html