Ubuntu/Debian installation
This installation information applies both to Ubuntu and Debian platforms.
The following Ubuntu and Ubuntu-based operating systems such as Debian platforms are supported:
Platform | Version | 32 / 64 bit | Supported | Recommended Version |
---|---|---|---|---|
Ubuntu Linux | 10.04 | 64 bit | Developer and Production | |
Ubuntu Linux | 12.04 | 64 bit | Developer and Production | Ubuntu 12.04 |
Debian Linux | 7 | 64 bit | Developer and Production | Debian 7.0 |
Installing on Ubuntu or Debian
To install:
- For Ubuntu version 12.04 and Debian 7, you need OpenSSL 1.x. Install a specific OpenSSL
dependency by running:
root-> apt-get install libssl<version>
- The Ubuntu Couchbase installation uses the DEB package. To install, use the
dpkg command-line tool using the DEB file that you downloaded. The
following example uses sudo which will require root-access to allow
installation:
dpkg -i couchbase-server version.deb
where version is the version number of the downloaded package.
After the dpkg command is executed, Couchbase Server starts automatically and is configured to automatically start during boot under the 2, 3, 4, and 5 run levels. Refer to the Ubuntu documentation for more information about installing packages using the Debian package manager.
After installation is completed, the installation process displays a message similar to the following:
Selecting previously deselected package couchbase-server. (Reading database … 73755 files and directories currently installed.) Unpacking couchbase-server (from couchbase-server_x86_64_2.1.0-xxx-rel.deb) … libssl0.9.8 is installed. Continue installing Minimum RAM required : 4 GB System RAM configured : 4058708 KB Minimum number of processors required : 4 cores Number of processors on the system : 4 cores Setting up couchbase-server … Starting couchbase-server[ OK ] You have successfully installed Couchbase Server. Browse to http://cen-1733:8091/ to configure your server. Refer to http://couchbase.com for additional resources. Update your firewall configuration to allow connections to the following ports: 11211, 11210, 11209, 4369, 8091, 8092, 18091, 18092, 11214, 11215 and from 21100 to 21299. By using this software you agree to the End User License Agreement. See /opt/couchbase/LICENSE.txt.
After successful installation, use the service command to manage the Couchbase Server service, including checking the current status. Refer to the Ubuntu documentation for instructions.
To provide initial setup for Couchbase, open a web browser and access the Couchbase Web Console.