zoukankan      html  css  js  c++  java
  • 2 安装企业wiki:confluence

    jira

    sudo /etc/init.d/jira start 启动 jiar
    sudo /etc/init.d/jira stop 停止 jiar


    方法一:$ sudo /etc/init.d/confluence start

    $ sudo /etc/init.d/confluence stop

    $ sudo /etc/init.d/confluence restart

    方法二:

    cd /opt/atlassian/confluence/bin

    关闭服务 ./shutdown.sh

    开启服务 ./startup.sh

    修改confluence的配置文件


    [root@localhost usr]# cd /opt/atlassian/confluence


    [root@localhost 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

    [root@localhost confluence]# cd conf
    [root@localhost 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%inkeytool -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   

  • 相关阅读:
    PL/SQL Developer保存自定义界面布局
    SQL Server 2008中SQL增强之二:Top新用途
    泛型和集合
    Go语言
    软件架构师培训
    using的几种用法
    【十五分钟Talkshow】如何善用你的.NET开发环境
    心的感谢
    【缅怀妈妈系列诗歌】之四:妈妈,对不起
    PDA开发经验小结 (转共享)
  • 原文地址:https://www.cnblogs.com/jasonlam/p/7815192.html
Copyright © 2011-2022 走看看