Skip to content
northscale edited this page Sep 13, 2010 · 13 revisions

Running moxi


  /usr/local/bin/moxi [flags] -z=<port=<mc_host:mc_port(,*)>

              moxi listens on the given port and forwards to
              downstream memcached servers running at
              mc_host:mc_port.  More than one mc_host:mc_port
              can be listed, separated by commas.
              For example, -z 11211=server1:11211,server2:11211

Things you may need for developing
check – C unit test framework

Package dependencies on platforms:

Ubuntu (tested with 8.0.4):

  • build-essential
  • automake
  • libtool
  • pkg-config
  • check
  • libssl-dev
  • sqlite3
  • libsqlite3-dev
  • libevent-dev
  • libglib2.0-dev
  • libglib2.0-0-dbg
apt-get install build-essential automake libtool pkg-config check libssl-dev sqlite3 libsqlite3-dev libevent-dev libglib2.0-dev libglib2.0-0-dbg

Also note that you may need to set PKG_CONFIG_PATH=/usr/lib/pkgconfig or wherever your pkgconfig directory is for libmemcached

OpenSolaris (tested with 2009.06):

  • pkg:/SUNWgnome-common-devel
  • pkg:/SUNWgit
  • pkg:/SUNWgnu-automake-110
  • pkg:/SUNWaconf
  • check (has to be built from source)

MacOS X:

You may need to set your PKG_CONFIG_PATH on MacOS as well.

Clone this wiki locally