unbuntu12.04下安装CouchDB

ljlia@ljlia:~$ sudo apt-get install python-software-properties -y

ljlia@ljlia:~$ sudo add-apt-repository ppa:couchdb/stable -y

ljlia@ljlia:~$ sudo apt-getupdate-y

移除之前安装的couchDB

ljlia@ljlia:~$ sudo apt-get remove couchdb couchdb-bin couchdb-common -yf

重新安装

ljlia@ljlia:~$ sudo apt-get install -V couchdb

重新启动

ljlia@ljlia:~$ sudo stop 

ljlia@ljlia:~$ sudo start couchdb

在浏览器访问:http://127.0.0.1:5984/

会输出:

{"couchdb":"Welcome","uuid":"1a530f01c25394f48edefab03425e606","version":"1.6.1","vendor":{"version":"12.04","name":"Ubuntu"}}

安装成功!

你可能感兴趣的:(unbuntu12.04下安装CouchDB)