2
有沒有任何選項可以安靜地安裝openfire?Openfire無語安裝和配置
我試圖自動化openfire配置。看到後,配置後唯一更改的文件是C:\ Program Files(x86)\ Openfire \ conf \ openfile.xml。
<jive>
<adminConsole>
<!-- Disable either port by setting the value to -1 -->
<port>9090</port>
<securePort>9091</securePort>
</adminConsole>
<locale>en</locale>
<!-- Network settings. By default, Openfire will bind to all network interfaces.
Alternatively, you can specify a specific network interfaces that the server
will listen on. For example, 127.0.0.1. This setting is generally only useful
on multi-homed servers. -->
<!--
<network>
<interface></interface>
</network>
-->
<connectionProvider>
<className>org.jivesoftware.database.DefaultConnectionProvider</className>
</connectionProvider>
<database>
<defaultProvider>
<driver>net.sourceforge.jtds.jdbc.Driver</driver>
<serverURL>jdbc:jtds:sqlserver://localhost:1433/schema_openfire;appName=jive</serverURL>
<username>sa</username>
<password>yadayada</password>
<testSQL>select 1</testSQL>
<testBeforeUse>false</testBeforeUse>
<testAfterUse>false</testAfterUse>
<minConnections>5</minConnections>
<maxConnections>25</maxConnections>
<connectionTimeout>1.0</connectionTimeout>
</defaultProvider>
</database>
<setup>true</setup>
</jive>
複製後的域名配置openfire.xml,從不更新所需的域名。無論如何,它仍保持Localhost IP 127.0.0.1。
有沒有做過任何openfire安裝和配置自動化?
這正是我所擁有的問題。我一直無法確定Openfire在哪裏存儲服務器名稱,我可以通過管理界面手動更改它。你能解決這個問題嗎? – mpvvliet