root@coam:/lib/ejabberd/ebin# ejabberdctl modules_available atom_pubsub Provides access to all PEP nodes via an AtomPub interface ejabberd_auth_http Authentication via HTTP request ejabberd_mod_mam Message Archive Management (XEP-0313) ejabberd_trace Easy tracing of connections made to ejabberd ircd IRC server frontend to ejabberd mod_archive Supports almost all the XEP-0136 version 0.6 except otr mod_cron Execute scheduled commands mod_http_offline POST offline messages to a web mod_http_upload HTTPFile Upload mod_log_chat Logging chat messages intext files mod_logsession Logsession connections tofile mod_logxml Log XMPP packets toXMLfile mod_mam_mnesia Message ArchiveManagement (XEP-0313) mod_message_log Log one line per message transmission intextfile mod_muc_log_http Serve MUC logson the web mod_openid Transform the Jabber Serverin an openid provider mod_post_log Logs messages to an HTTP API mod_profile User Profile (XEP-0154) in Mnesia table mod_rest HTTPinterfaceto POST stanzas into ejabberd mod_restful RESTful API for ejabberd mod_s2s_log Log all s2s connections in a file mod_shcommands Execute shell commands mod_statsdx Calculates and gathers statistics actively mod_webpresence Publish user presence information in the web
converse.initialize({ //bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes bosh_service_url: 'https://coopens.com:5280/http-bind/', // Please use this connection manager only for testing purposes keepalive: true, message_carbons: true, play_sounds: true, roster_groups: true, show_controlbox_by_default: true, xhr_user_search: false });
cd ~/.ejabberd-modules/mod_logxml/conf sudo vi mod_logxml.yml modules: mod_logxml: # stanza: # - iq # - other # direction: # - external # orientation: # - send # - recv logdir: "/data/home/yzhang/CoamRunning/Erlang/dev/logs/" # timezone: universal # show_ip: false # rotate_days: 1 rotate_megs: 100000 # rotate_kpackets: no # check_rotate_kpackets: 1
1 2 3 4
Wed Feb 2417:26:45 yzhang@coam:~/.ejabberd-modules$ sudo ejabberdctl module_install mod_logxml src/mod_logxml.erl:263: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information. src/mod_logxml.erl:264: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information. ok
git clone https://github.com/royneary/mod_push.git # copy the source code folder to the module sources folder of your ejabberd # installation (may be different on your machine) sudo cp -R mod_push /var/spool/jabber/.ejabberd-modules/sources/ # if done right ejabberdctl will list mod_push as available module ejabberdctl modules_available # automatically compile and install mod_push ejabberdctl module_install mod_push