Can Openfire be configured via a CLI rather than a GUI?

Hi all,

Does Openfire support commandline configuration or is configuration only supported by the WebAdmin GUI?

I haven’t been able to find any documentation regarding Openfire syntax, like with ejabberd.

regards,

Paddy.

Most of OpenFire configuration is stored in database (except data needed to connect to database itself). So I imagine that if you can access database from console and can edit xml files you are OK configuring OF from console.

Milan

Thanks, your the first person to reply to any of my posts!

Hi,

there’s no console mode and I can’t recommend to try to edit the database directly as Openfire uses a database cache so your changes will likely be recognized by Openfire some hours ago. That’s likely not what you want. Anyhow one does configure the server usually one time, and offering also a console mode for this may be nice to have but currently it’s not possible.

Anyhow you can configure Openfire one time and then export the whole database if you want to use it as a base for other installations. You need to replace at least the xmpp.domain in the export before you import it to a new database for a new server.

LG

it2000 wrote:

… I can’t recommend to try to edit the database directly as Openfire uses a database cache …
Agree, but I mean in off-line mode, when OF is stoped.