wget https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.13.0-x64.bin chmod +x atlassian-jira-software-7.13.0-x64.binhtml
root@jenkins:/data/jira# ./atlassian-jira-software-7.13.0-x64.bin Unpacking JRE ... Starting Installer ... Dec 04, 2019 3:44:32 PM java.util.prefs.FileSystemPreferences$1 run INFO: Created user preferences directory. Dec 04, 2019 3:44:32 PM java.util.prefs.FileSystemPreferences$2 run INFO: Created system preferences directory in java.home. This will install JIRA Software 7.13.0 on your computer. OK [o, Enter], Cancel [c] o Choose the appropriate installation or upgrade option. Please choose one of the following: Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing JIRA installation [3] 2 Where should JIRA Software be installed? [/opt/atlassian/jira] /data/jira Default location for JIRA Software data [/var/atlassian/application-data/jira] /data/jira/jira_data The home directory cannot be a sub-directory of the installation directory. Please use another location. Default location for JIRA Software data [/data/jira/jira_data] /data/jira_data Configure which ports JIRA Software will use. JIRA requires two TCP ports that are not being used by any other applications on this machine. The HTTP port is where you will access JIRA through your browser. The Control port is used to startup and shutdown JIRA. Use default ports (HTTP: 8080, Control: 8005) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2] 2 HTTP Port Number [8080] 8050 Control Port Number [8005] 8040 JIRA can be run in the background. You may choose to run JIRA as a service, which means it will start automatically whenever the computer restarts. Install JIRA as Service? Yes [y, Enter], No [n] y Details on where JIRA Software will be installed and the settings that will be used. Installation Directory: /data/jira Home Directory: /data/jira_data HTTP Port: 8050 RMI Port: 8040 Install as service: Yes Install [i, Enter], Exit [e] i Extracting files ... Please wait a few moments while JIRA Software is configured. Installation of JIRA Software 7.13.0 is complete Start JIRA Software 7.13.0 now? Yes [y, Enter], No [n] y Please wait a few moments while JIRA Software starts up. Launching JIRA Software ... Installation of JIRA Software 7.13.0 is complete Your installation of JIRA Software 7.13.0 is now ready and can be accessed via your browser. JIRA Software 7.13.0 can be accessed at http://localhost:8050 Finishing installation ...
mysql> create database jira_new; Query OK, 1 row affected (0.04 sec) mysql> grant all privileges on *.* to jira@'192.168.83.50' identified by 'jira'; Query OK, 0 rows affected (0.03 sec) mysql> flush privileges; Query OK, 0 rows affected (0.02 sec)
下載鏈接驅動,否則報錯 wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.46.zip -O /data/jira/atlassian-jira/WEB-INF/lib /etc/init.d/jira stop && /etc/init.d/jira startjava
https://id.atlassian.com/signup?application=mac&continue=https://my.atlassian.com 登錄帳號後,選擇New Evaluation License mysql
找該包下載 atlassian-extras-3.2.jar http://www.javashuo.com/article/p-tmcmlnua-dc.htmlsql