官术网_书友最值得收藏!

Installing Couchbase

There are two editions of Couchbase available for download — Community and Enterprise. While both editions are largely the same, there are two key differences. The Community Edition is free to use for development and in your production systems. However, there is no guarantee that patches (critical or small) will be made to this build in a timely manner. This edition is intended primarily for development, or for those developers who are okay with relying on free support (that is, the Couchbase forums).

The Couchbase Server Enterprise Edition requires the acceptance of an End User License Agreement (EULA), with the user agreeing to install it on no more than two production nodes. Use of more than two nodes requires the purchase of a support license. There are a variety of support levels available. Enterprise Edition also receives priority patches and new features ahead of the Community Edition. It is recommended for use in mission-critical systems.

For the examples in this book, there are no meaningful differences between the two editions. As such, we'll use the Community Edition. How you install Couchbase Server will depend on your operating system. Once it is installed, maintaining and developing the server is generally the same experience on both Windows and Linux.

To get started, open your browser and go to http://www.couchbase.com/download. Here, you'll find the latest binaries. At the time of writing this book, the latest Enterprise Edition is 2.5.1 and the latest Community Edition is 2.2.0.

Installing Couchbase on Linux

The Couchbase team maintains 32-bit and 64-bit builds for Ubuntu, CentOS, and Red Hat Linux. After downloading the package on Ubuntu, run the following command to install it:

sudodpkg -icouchbase-server-enterprise_2.2.0_x86_64.deb

For CentOS or Red Hat installation, run this command:

sudo rpm --install couchbase-server-enterprise_2.2.0_x86_64.rpm

Installing Couchbase on Windows

For Windows 7, Windows 8, and Windows Server, there is a setup program. Simply download the installer, run the .exe file, and follow the steps of the wizard. When you install Couchbase on a Windows machine, you'll see the following prompt:

Installing Couchbase on Windows

Ephemeral port warning

By default, the highest port number that TCP may assign to an application requesting a user port is 5000 on Windows systems. This value is generally sufficient for development purposes, but in production deployments, Couchbase requires a greater number. For the purpose of this book, leaving your default settings as they are is safe.

Installing Couchbase on Mac OS X

Finally, if you're developing on a Mac, there is a development-only build available. After downloading the Mac package, double-click to unzip it. Then drag the contents into your Applications directory. For obvious reasons, the Mac release is for development only.

主站蜘蛛池模板: 印江| 玉门市| 吴川市| 株洲市| 贵溪市| 剑阁县| 黄大仙区| 靖边县| 桦南县| 恩平市| 伊春市| 林口县| 涡阳县| 仁布县| 丰都县| 庐江县| 琼海市| 临猗县| 洪江市| 四川省| 横峰县| 新乐市| 长海县| 浮梁县| 安溪县| 邵武市| 陇南市| 咸阳市| 霍林郭勒市| 上饶县| 淮阳县| 锡林浩特市| 清流县| 常宁市| 黔江区| 紫阳县| 吴桥县| 南川市| 乐业县| 三亚市| 东兴市|