jira-7.13.0 破解,配置https,邮件jdni,OSS单点登录

环境介绍:

系统版本:CentOS Linux release 7.5.1804 (Core) X64

软件版本:atlassian-jira-software-7.13.0-x64.bin

破解包
用于主程序破解:atlassian-extras-3.2.jar
jdbc:mysql-connector-java-5.1.39-bin.jar
用于插件管理破解:atlassian-universal-plugin-manager-plugin-2.22.9.jar

首先安装:
./atlassian-jira-software-7.13.0-x64.bin #全部默认安装即可,如需更改自定义配置,根据需求自己更改

application-data #jira的数据存放目录
jira #jira的程序运行目录

开始破解:
cd jira/atlassian-jira/WEB-INF/lib/ #切换到jira程序的lib库
用破解包替换掉atlassian-extras-3.2.jar,同时上传mysql-connector-java-5.1.39-bin.jar到当前目录
cd jira/atlassian-jira/WEB-INF/atlassian-bundled-plugins #切换插件管理的目录
用破解包atlassian-universal-plugin-manager-plugin-2.22.9.jar替换掉原来的jar包即可

设置jira程序内存大小:
vi jira/bin/setenv.sh

JVM_MINIMUM_MEMORY=”1024m”
JVM_MAXIMUM_MEMORY=”2048m”

更改为适合自己的大小

重启jira程序:
jira/bin/stop-jira.sh
jira/bin/start-jira.sh

配置https访问:
cd jira/conf/ #程序应用目录
vi server.conf

<!– 注释掉原来的配置 –>
<!–
<Connector port=”8080″ relaxedPathChars=”[]|” relaxedQueryChars=”[]|{}^&#x5c;&#x60;&quot;&lt;&gt;”
maxThreads=”150″ minSpareThreads=”25″ connectionTimeout=”20000″ enableLookups=”false”
maxHttpHeaderSize=”8192″ protocol=”HTTP/1.1″ useBodyEncodingForURI=”true” redirectPort=”8443″
acceptCount=”100″ disableUploadTimeout=”true” bindOnInit=”false”/>
–>

<!– 取消https配置的注释,这里注意,域名一定要改成自己使用 –>
<Connector port=”8080″ relaxedPathChars=”[]|” relaxedQueryChars=”[]|{}^&#x5c;&#x60;&quot;&lt;&gt;”
maxThreads=”150″ minSpareThreads=”25″ connectionTimeout=”20000″ enableLookups=”false”
maxHttpHeaderSize=”8192″ protocol=”HTTP/1.1″ useBodyEncodingForURI=”true” redirectPort=”8443″
acceptCount=”100″ disableUploadTimeout=”true” bindOnInit=”false” secure=”true” scheme=”https”
proxyName=”your.domain” proxyPort=”443″/>

重启jira程序:
jira/bin/stop-jira.sh
jira/bin/start-jira.sh

配置邮件jdni:
mv jira/atlassian-jira/WEB-INF/lib/javax.mail-* jira/lib #将邮件jra包放到程序应用lib库下
更改配置文件:
vi conf/server.conf
”’
<Context path=”” docBase=”${catalina.home}/atlassian-jira” reloadable=”false” useHttpOnly=”true”>
<Resource name=”UserTransaction” auth=”Container” type=”javax.transaction.UserTransaction”
factory=”org.objectweb.jotm.UserTransactionFactory” jotm.timeout=”60″/>
<Manager pathname=””/>
<JarScanner scanManifest=”false”/>
<!– 添加如下段落 –>
<Resource name=”mail/OUTsmtp”
auth=”Container”
type=”javax.mail.Session”
mail.smtp.host=”smtp.exmail.qq.com”
mail.smtp.port=”465″
mail.smtp.auth=”true”
mail.smtp.user=”dldev@bj-dltc.com”
password=”ram6Fubqcu3I”
mail.smtp.starttls.enable=”true”
mail.smtp.socketFactory.class=”javax.net.ssl.SSLSocketFactory”
/>
<!– 添加如上段落 –>
</Context>
”’
重启jira程序:
jira/bin/stop-jira.sh
jira/bin/start-jira.sh

此条目发表在版本管理分类目录。将固定链接加入收藏夹。