# cd /usr/ports/net-im/ejabberd # make install clean # cd /usr/local/etc/ejabberd # proxy::/usr/local/etc/ejabberd:>cp ejabberd.cfg.example ejabberd.cfg mkdir /tmp/eja cd /tmp/eja svn co https://svn.process-one.net/ejabberd-modules cd /tmp/eja/ejabberd-modules/mod_log_chat/trunk/ erl -pa ../../ejabberd-dev/trunk/ebin -make cp ebin/mod_log_chat.beam /usr/local/lib/erlang/lib/ejabberd-1.1.4/ebin/ mkdir -p /var/log/ejabberd/chat chown ejabberd:ejabberd /var/log/ejabberd/chat /usr/local/etc/rc.d/ejabberd start su ejabberd %/usr/local/bin/ejabberdctl ejabberd@proxy register admin proxy password