This guide will walk through installing and configuring Ejabberd on CentOS 7 to use Riak KV, Redis, and MySQL.
I have provided an example ejabberd.yml to help.
### | |
###' ejabberd configuration file | |
### | |
### | |
### The parameters used in this configuration file are explained in more detail | |
### in the ejabberd Installation and Operation Guide. | |
### Please consult the Guide in case of doubts, it is included with | |
### your copy of ejabberd, and is also available online at | |
### http://www.process-one.net/en/ejabberd/docs/ |
This guide will walk through installing and configuring Ejabberd on CentOS 7 to use Riak KV, Redis, and MySQL.
I have provided an example ejabberd.yml to help.
This guide assumes you have Riak KV installed and running on port 8087
. This guide walks through enabling Riak Search, enabling bucket-types, creating indices, inserting data, and searching data.
To enable Riak Search, which uses Solr, you will need to install Java.
To install Java:
coords = [ | |
Coordinate.new(x=0.0, y=1.8), | |
Coordinate.new(x=1.5, y=2.2), | |
Coordinate.new(x=2.8, y=3.5), | |
Coordinate.new(x=5.0, y=4.2), | |
Coordinate.new(x=2.0, y=4.2), | |
] | |
class Coordinate | |
attr_reader :x, :y |
#!/bin/bash | |
git checkout master && git fetch && git rebase origin/master | |
git checkout - && git rebase master |