misfoc.us

  • Archive
  • RSS
  • Ask me anything

BigCouch 0.4 and FreeBSD

With great excitement, Cloudant announced the release of BigCouch 0.4 yesterday. One of the exciting features for me is FreeBSD support. For a complete list of new features, click here for the changelog. I didn’t find any good sources for installation help in FreeBSD, so I thought I would throw something up. Here goes:

Let’s start with the dependencies:
# pkg_add -r gmake libtool help2man erlang-lite icu spidermonkey curl git
# rehash
We’re going to grab the latest from Github for our setup:

(The source is available as a package here)

# git clone git://github.com/cloudant/bigcouch.git
# cd bigcouch
If you have bash installed in your environment, you can skip this next step:

(there was a push that changed the configure script from requiring bash, but was changed back after some issues with Solaris)

# grep -rl '/bin/bash' * | xargs sed -i "" 's/bash/sh/g'
If you’d like to change what ip the single-node port (5986) listens on, run this command:

(this is used for some admin functions)

# sed -i '' 's/127.0.0.1/<Desired IP>/g' rel/overlay/etc/default.ini
Next, we need to create a directory were we will be installing BigCouch:
# mkdir /usr/local/bigcouch
We’ll finish up with a quick config change and then the standard make stuff:
# ./configure -p /usr/local/bigcouch
# make
# make install
If all goes well, you should be able to fire up BigCouch:
# /usr/local/bigcouch/bin/bigcouch

There currently isn’t a port for FreeBSD that I’ve been able to find aside from this dated one on Github. After some more testing, I’ll most likely end up getting a port put together so I can get this build out puppetized easier, but that’s another project for another day.

    • #bigcouch
    • #couchdb
    • #freebsd
    • #opensource
  • 1 year ago
  • 14
  • Comments
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

About

A place for me to post about things that interest me. If you stick around, you might find something interesting!

Me, Elsewhere

  • @landrysplace on Twitter
  • adalan420 on Youtube
  • adalan on github

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile
Effector Theme by Pixel Union