Couchbase Server 5.5
Manual
In this lesson, you will install and launch version 5.5.1 of the Couchbase Server.
If you would prefer to use a docker container instead, please proceed to the docker section
-
Download and install V5.5.1 of Couchbase Server. Follow the instructions specified in the appropriate platform specific install guide to install the same.
-
Windows Users You would need suitable admin level privileges to be able to authorize the install of Couchbase Server on your machine. The anti-virus software on your machine may prohibit the automatic installation of the service
-
In setup wizard, create Administrator account with user Administrator and password as password.

-
As you follow the download instructions and setup wizard, make sure you keep all the services (data, query, and index) selected.
-
Install the sample bucket named travel-sample because it contains the data used in this tutorial. You can add the bucket from the "Sample Buckets" tab in the "Settings" menu in the admin console
-
Create an RBAC user named admin with password password and Application Access to the travel-sample bucket. You can do this from the "Security" menu. These credentials will be used by the Sync Gateway to access the documents in this bucket.

-
Create a Full text search index on travel-sample bucket called 'hotels'. You can do this from the "Search" menu. Just go with default index settings.

Docker (Local)
-
Create a local docker network named "workshop" if one does not exist already. Open a terminal window and run the following command
bash $ docker network ls $ docker network create -d bridge workshop -
To run the application in a container, you will first get the docker image from Docker Hub. Open a new terminal window and run the following.
bash $ docker pull connectsv/server:5.5.1-enterprise -
Once the command has completed you can start the application with the following.
bash $ docker run -d --name cb-server --network workshop -p 8091-8094:8091-8094 -p 11210:11210 connectsv/server:5.5.1-enterprise
-
You can view the logs at any time by running the following command
bash $ docker logs cb-server -
It may take a few seconds for the server to startup. Verify that the docker image is running with following command
bash $ docker ps