Installing as non-root, non-sudo
Installing on RHEL as a non-root, non-sudo user on a single machine.
|This installation method is intended only for development purposes and is not supported in production.|
A non-sudo, non-root installation still runs Couchbase Server and all Couchbase command-line tools.
After downloading the Couchbase Server RPM, go to the directory where it is located and extract it:
rpm2cpio couchbase-server-enterprise_version.rpm | cpio --extract --make-directories --no-absolute-filenames
In the directory where the files were extracted, the
etcsubdirectories are available.
If you need to separately provide
openssl098e, put the contents of this library into /opt/couchbase/lib:
Go to the directory where you extracted the Couchbase Server:
rpm2cpio openssl098e-0.9.8e-17.el6.centos.2.x86_64.rpm | cpio --extract --make-directories --no-absolute-filenames
Move the extracted files to the /lib directory for Couchbase Server:
mv /usr/lib64/* lib/
After you extract the Couchbase Server installation files, go to the subdirectory:
Run the following script to relocate the Couchbase Server installation to the present working directory (PWD):
This enables you to continue the installation as a non-root, non-sudo user.
To run the server, use
./bin/couchbase-server \-- -noinput -detached
To stop the server, use