Last active
August 29, 2015 14:03
-
-
Save styk-tv/693d13e2e3c293b31628 to your computer and use it in GitHub Desktop.
couchbase debian wheezy python client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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