Couchbase 安装

进入官方网站,找到下载链接。里面可以选择不同的版本社区版 / 商业版

官方网页有bug, 在部分版本的chrome无法正常操作,切换到火狐浏览器即可.

企业版和社区版差别还是很大的,查看对比:https://www.couchbase.com/products/editions

google搜索当中的广告,很有商业气息~~

下载页面

我的是ubuntu14.04_amd64版本,下载后是一个.deb文件,直接运行安装即可

couchbase-server-enterprise_5.5.0-ubuntu14.04_amd64.deb

在启动时会提示进入配置页面,自带的测试数据库可以选择性安装,以方便开始我们的demo. 总共有三个自带buckets

  • beer-sample

  • gamesim-sample

  • travel-sample

也可以在以后的Couchbase UI页面找到 Setting -> Sample Buckets 选择安装测试数据

或者也可以在Docker中安装:Use Docker to Install Couchbase Server

注意安装中出现问题可以参考:https://developer.couchbase.com/documentation/server/5.5/install/plan-for-production.html

优先考虑浏览器版本的问题:https://developer.couchbase.com/documentation/server/5.5/install/install-browsers.html

其他

如果chrome 下载使用了最新版出现频繁闪退,执行以下命令

sudo apt-get install --reinstall libnss3

附录服务器简易安装:

$ sudo wget  http://packages.couchbase.com/releases/5.5.1/couchbase-server-enterprise_5.5.1-ubuntu14.04_amd64.deb
# sudo wget  http://packages.couchbase.com/releases/5.5.0/couchbase-server-enterprise_5.5.0-ubuntu14.04_amd64.deb
# sudo apt-get install python-httplib2
$ sudo dpkg -i  couchbase-server-enterprise_5.5.1-ubuntu14.04_amd64.deb

Last updated

Was this helpful?