安裝了openfire後要求配置,一般用戶名都是admin,密碼是安裝時用戶所設定的密碼。因爲種種緣由會出現沒法登錄的現象。現有兩種方法能夠解決。
1. 進入openfire的安裝目錄下--->進入conf文件夾--->打開openfire.xml文件--->將<setup>true</setup>中的true改成false 這樣不用用戶名和密碼也能夠登錄
2. 將openfire.xml文件中
<admin>
<authorizedUsernames>jimuser</authorizedUsernames>
</admin>
<adminConsole>
<!-- Disable either port by setting the value to -1 -->
<port>9090</port>
<securePort>9091</securePort>
</adminConsole>
紅色代碼處改成本身的用戶名。