準備 :centos7 系統 docker
安裝mysql
docker run --name mysql-db \
--restart always \
-p 3306:3306 \
-e mysql_root_password=1q2w3e4r.. \
-v data_mysql_vol:/var/lib/mysql \
-v conf_mysql_vol:/etc/mysql/conf.d \
-v data_backup_vol:/backup \
-d mysql:5.7
進入mysql 容器中修改 核心配置檔案
[client]
default-character-set = utf8
[mysql]
default-character-set = utf8
[mysqld]
character_set_server = utf8
collation-server = utf8_bin
transaction_isolation = read-committed
建立mysql 使用者
create database jiradb character set 'utf8';
create user jirauser identified by 'jira';
grant all privileges on *.* to 'jirauser'@'%' identified by 'jira' with grant option;
grant all privileges on *.* to 'jirauser'@'localhost' identified by 'jira' with grant option;
flush privileges;
安裝jira
docker run
--detach --restart always
--link mysql-jira:mysql
--publish 8721:8080
cptactionhank/atlassian-jira-software
然後訪問8721埠 進行初始化設定 (去需要去官網 註冊下 獲取試用 註冊碼)
附上 mysql 設定
database type:mysql
hostname:mysql
port:3306
database:jira
username:root
password:1q2w3e4r..
坐等完成。
——————————————————————破解————————————————————————
wget
wget
獲取 jira 容器 id
docker ps
假設 id 是 qq2212qq
進入jira容器
docker exec -it qq2212qq bash
刪除 jar
rm -rf /opt/atlassian/jira/atlassian-jira/web-inf/lib/atlassian-extras-3.1.2.jar
退出容器
exit
將破解包移入
docker cp atlassian-extras-3.2.jar qq2212qq:/opt/atlassian/jira/atlassian-jira/web-inf/lib/
重啟docker restart qq2212qq
----------------------------------破解外掛程式
進入jira容器
docker exec -it qq2212qq bash
刪除 jar
rm -rf /opt/atlassian/jira/atlassian-jira/web-inf/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-x.xx.x.jar
退出容器
exit
將破解包移入
docker cp atlassian-universal-plugin-manager-plugin-2.22.4.jar qq2212qq:/opt/atlassian/jira/atlassian-jira/web-inf/atlassian-bundled-plugins/
重啟docker restart qq2212qq
大功告成!
docker安裝jira心得
拉取jira映象,將 替換成你所需要的版本。這裡以7.12.1版本舉例,其他版本可訪問 docker hub 搜尋atlassian jira software關鍵字。docker pull cptactionhank atlassian jira software docker pull cpta...
JIRA企業版linux下安裝和破解
tar xvfz atlassian jira enterprise 3.13.5 standalone.tar.gz mv atlassian jira enterprise 3.13.5 standalone jira mysql uroot ppassword mysql create dat...
Jira 安裝注意事項
linux 伺服器安裝指南 為安裝檔案賦予許可權 chmod r 777 atlassian jira software 7.3.1 x64.bin 執行安裝檔案進行安裝jira atlassian jira software 7.3.1 x64.bin會執行該安裝檔案,根據指示進行安裝 預設安裝目...