Blog
Moving ejabberd 2.1.x to a different server
Both server running ejabberd 2.1.x
Sync the config files.
# rsync -avP oldhost:/etc/ejabberd/ /etc/ejabberd/
Maybe also copy ssl-certs and allow ejabberd to access the pem file.
On the old server. ejabberd must be still running.
# ejabberdctl backup /tmp/ejabberd-oldhost.backup
On the new server. ejabberd must be already running.
# ejabberdctl restore /tmp/ejabberd-oldhost.backup
Mac OS X iTerm2, tmux and jump word
Currently I'm working on a MacBook. Not entirely by choice, however.
I'm trying to use my almost used environment, including tmux. As Terminal replacement I'm using iTerm2, since it seems to be faster. Unfortunately I was not able to use ALT-[left|right] to jump words backward and forward. The only thing I had to do to solve this... capturing the sequences of ALT-left and ALT-right and place them into ~/.inputrc
# Press ALT-left
$ read
^[^[[D
# and ALT-right
$ read
^[^[[C
$ vi ~/.inputrc
"\e\e[D": backward-word
"\e\e[C": forward-word
And open an new instance of iTerm2.