Confluence 6 配置 Windows 服務

來源:互聯網
上載者:User

標籤:property   href   ref   http   name   plain   sys   工具   load   

當你使用 Start Confluence Automatically on Windows as a Service 的方式啟動的時候,你有下面 2 種方式來配置你的系統屬性:通過 command line 或者 in the Windows Registry

通過命令列方式來為 Windows 服務設定屬性

如何通過命令列方式為 Windows 伺服器設定屬性:

  1. 找到 Confluence 在 Windows 中安裝的服務名(進入 控制台(Control Panel)> 管理工具(Administrative Tools)> 服務(Services)):

    在上面的樣本中,服務名稱被命名為 Confluence121213135538

  2. 開啟 Windows 的命令列視窗(選擇 開始(Start )cmd.exe

  3. cd 進入你安裝 Confluence 執行個體的  bin 目錄,然後運行下面的命令:

    tomcat8w //ES//<SERVICENAME>

    按照上面的樣本,這個命令應該修改為  tomcat8w //ES//Confluence121213135538
    針對你使用 Confluence 的版本不同,Tomcat 的版本號碼也有可能不同。

  4. 單擊 Java 標籤頁來查看當前啟動的選項列表:

  5. 應用新的選線,或者修改選項,通過添加選項配置到已經存在的 Java Options 列表後面。請參考 Recognized System Properties 頁面中的內容對屬性參數進行配置。

通過 Windows registry 為 Windows services 設定屬性

在一些 Window 的版本中,可能沒有辦法為啟動服務添加 Java 變數的。如果你的 Windows 是這種情況的話,你必須添通過查看註冊表中的選項列表來添加屬性。

  1. 進入登錄編輯程式(開始(Start)regedit.exe)。

  2. 找到 Services 實體
    HKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> Confluence service name

  3. 修改已經存在的屬性,你可以通過雙擊來修改變數名。

  4. 希望修改其他的屬性,雙擊選項名稱。

  5. 請參考 Recognized System Properties 頁面中的內容對每一行變數進行配置。

部署在 AWS 上的 Confluence 資料中心

如果你使用的是 Quick Start 或者 CloudFormation 範本部署 Confluence 資料中心到 AWS。你需要通過 Cloud Formation Template 傳遞配置參數,請不要使用上面描述的方法。

  1. 在 AWS 控制台中,選擇 Update Stack

  2. Advanced 中的 Catalina Properties 欄位輸入你的系統屬性:

    -Xms1024m -Xmx1024m -Dsystemproperty=value
  3. 修改將會應用到新的節點中。

 

https://www.cwiki.us/display/CONF6ZH/Configuring+System+Properties


Confluence 6 配置 Windows 服務

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.