You need to use a supported OS, for the binary build dependencies to download.
This was tested with Ubuntu 16.04, but other distributions might also work...
https://code.google.com/archive/p/git-repo/
See https://github.com/couchbase/tlm
To download the full amount of repositories (800M), use the default manifests:
# repo init -u git://github.com/couchbase/manifest -m couchbase-server/spock/5.0.0.xml
# repo init -u git://github.com/couchbase/manifest -m couchbase-server/vulcan/5.5.0.xml
Or use these reduced manifests, that only include the moxi dependencies (128M):
$ mkdir moxi
$ cd moxi
$ repo init --no-clone-bundle -u https://github.com/afbjorklund/couchbase-manifest -b moxi -m moxi-5.0.0.xml
$ repo sync
Then to build, you can either use make
to build everything or just moxi:
$ mkdir build
$ cd build
$ cmake -GNinja -DCOUCHBASE_KV_COMMIT_VALIDATION=True -DCB_DOWNLOAD_DEPS_DEFAULT_MANIFEST=$PWD/../moxi-manifest.cmake ..
$ ninja moxi
To install, you need the moxi
program and the various libraries it uses.
The default distribution installs in either /opt/moxi
or /opt/couchbase
.
- 2.5.0 (legacy)
- 5.0.0
- 5.0.1
- 5.1.0
- 5.1.1
- 5.5.0 (community unreleased, enterprise only)
- 5.5.1 (community unreleased, enterprise only)
See https://www.couchbase.com/downloads
-
http://packages.couchbase.com/releases/2.5.0/moxi-server_2.5.0_x86_64.deb
-
https://packages.couchbase.com/releases/5.0.0/couchbase-server-community_5.0.0-ubuntu16.04_amd64.deb
Note: the new package insists on having 4 CPU and 4 GB RAM, even if you only want to run the moxi server.