Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

couchbase debian wheezy python client

View gist:693d13e2e3c293b31628
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# to Couchbase: please release Debian binaries
# to end users: save yourself an afternoon. below works on fresh Debian Wheezy 7.0.0-2 amd64
# author https://www.linkedin.com/in/peterstyk
# license bsd
 
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y build-essential python-dev python-pip libevent-dev openjdk-7-jre curl unzip
wget http://packages.couchbase.com/clients/c/libcouchbase-2.3.2.tar.gz
tar -xzf libcouchbase-2.3.2.tar.gz
cd libcouchbase-2.3.2
./configure && make && sudo make install
cd ..
wget https://pypi.python.org/packages/source/c/couchbase/couchbase-1.2.2.tar.gz#md5=5bfd6b17ec6e7a2e55d262f469f0fcd6
tar -xzf couchbase-1.2.2.tar.gz
cd couchbase-1.2.2
python setup.py build_ext --inplace --library-dir /usr/local/lib --include-dir /usr/local/include
sudo python setup.py install
sudo ldconfig /usr/local/lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.