To install on Windows, download the Windows installer package. This is supplied as a Windows executable. You can install the package either using the wizard, or by doing an unattended installation process. In either case make sure that you have no anti-virus software running on the machine before you start the installation process. You also need administrator privileges on the machine where you install it.
The TCP/IP port allocation on Windows by default includes a restricted number of ports available for client communication. For more information on this issue, including information on how to adjust the configuration and increase the available ports, see MSDN: Avoiding TCP/IP Port Exhaustion.
Couchbase Server uses the Microsoft C++ redistributable package, which will automatically download for you during installation. However, if another application on your machine is already using the package, your installation process may fail. To ensure that your installation process completes successfully, shut down all other running applications during installation.
Double click on the downloaded executable file.
The installer for windows will detect if any redistributable packages included with Couchbase need to be installed or not. If these packaged are not already on your system, the install will automatically install them along with Couchbase Server.
Follow the install wizard to complete the installation.
You will be prompted with the Installation Location screen. You can change the location where the Couchbase Server application is located. Note that this does not configure the location of where the persistent data will be stored, only the location of the server itself.
The install will copy the necessary files to the system. During the installation process, the installer will also check to ensure that the default administration port is not already in use by another application. If the default port is unavailable, the installer will prompt for a different port to be used for administration of the Couchbase server.
After installation you should follow the server setup instructions. See Section 2.3, “Initial Server Setup”.
To use the unattended installation process, you first record your installation settings in wizard installation. These settings are saved to a file. You can use this file to silently install other nodes of the same version.
To record your install options, open a Command Terminal or
Powershell and start the installation executable with the
/r command-line option:
version.exe /r /f1your_file_name.iss
You will be prompted with installation options, and the wizard
will complete the server install. A file with your options will
be recorded at
To perform an installation using this recorded setup file, copy
your_file_name.iss file into the same
directory as the installer executable. Run the installer from
the command-line using the
version.exe /s -f1your_file_name.iss
You can repeat this process on multiple machines by copying the
install package and the
file to the same directory on each machine.