2 安装企业wiki:confluence
Posted 落忆无痕
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了2 安装企业wiki:confluence相关的知识,希望对你有一定的参考价值。
修改confluence的配置文件
[[email protected] usr]# cd /opt/atlassian/confluence
[[email protected] confluence]# ls -a
. .. bin conf confluence .install4j install.reg jre lib LICENSE licenses logs NOTICE README.html README.txt RELEASE-NOTES RUNNING.txt synchrony-proxy temp uninstall webapps work
[[email protected] confluence]# dir
bin conf confluence install.reg jre lib LICENSE licenses logs NOTICE README.html README.txt RELEASE-NOTES RUNNING.txt synchrony-proxy temp uninstall webapps work
[[email protected] confluence]# cd conf
[[email protected] conf]# cat -n server.xml
1 <Server port="8000" shutdown="SHUTDOWN" debug="0">
2 <Service name="Tomcat-Standalone">
3 <Connector port="8090" connectionTimeout="20000" redirectPort="8443"
4 maxThreads="48" minSpareThreads="10"
5 enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
6 protocol="org.apache.coyote.http11.Http11NioProtocol" />
7
8 <Engine name="Standalone" defaultHost="localhost" debug="0">
9
10 <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4">
11 <Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
12 <!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties -->
13 <Manager pathname="" />
14 <Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />
15 </Context>
16
17 <Context path="${confluence.context.path}/synchrony-proxy" docBase="../synchrony-proxy" debug="0" reloadable="false" useHttpOnly="true">
18 <Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />
19 </Context>
20 </Host>
21
22 </Engine>
23
24 <!--
25 To run Confluence via HTTPS:
26 * Uncomment the Connector below
27 * Execute:
28 %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
29 $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
30 with a password value of "changeit" for both the certificate and the keystore itself.
31 * Restart and visit https://localhost:8443/
32
33 For more info, see https://confluence.atlassian.com/display/DOC/Running+Confluence+Over+SSL+or+HTTPS
34 -->
35 <!--
36 <Connector port="8443" maxHttpHeaderSize="8192"
37 maxThreads="150" minSpareThreads="25"
38 protocol="org.apache.coyote.http11.Http11NioProtocol"
39 enableLookups="false" disableUploadTimeout="true"
40 acceptCount="100" scheme="https" secure="true"
41 clientAuth="false" sslProtocols="TLSv1,TLSv1.1,TLSv1.2" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2" SSLEnabled="true"
42 URIEncoding="UTF-8" keystorePass="<MY_CERTIFICATE_PASSWORD>"/>
43 -->
44 </Service>
45 </Server>
46
以上是关于2 安装企业wiki:confluence的主要内容,如果未能解决你的问题,请参考以下文章