Installing Memurai for Windows
Requirements
Memurai runs on Windows 10 and Windows Server 2012, or higher. Windows 10 / Windows Server 2016 (or higher) are recommended for optimal performance. Only 64-bit versions of Windows are supported.
Administrative privileges are required to run the Memurai setup.
Setup
The Memurai setup installs the main Memurai executable memurai.exe
, the Memurai client memurai-cli.exe
and two utilities: memurai-check-aof.exe
and memurai-check-rdb.exe
.
It also installs a default configuration file memurai.conf
, which is compatible with version 7 of the Redis®️* API.
The MSI setup has an option to install Memurai as a Windows service. If the user doesn't choose to install Memurai as a Windows service during setup, it's still possible to do it later from the command line.
While installing Memurai as a Windows service, a port number can be chosen along with the option to add an exception to Windows Firewall (if the Windows Firewall service is running). The chosen port number is saved in the Memurai configuration file and can be changed later on. Changing the port number in the configuration file will require restarting the service for the change to take effect.
When Memurai is installed as a Windows service, NT AUTHORITY\NetworkService
is set as the user account for the Memurai service. The user account can be changed through the Windows Services management console. The Memurai Windows service is set to start automatically when Windows starts.
Setup Without User Interaction
To run the MSI setup without interactive dialogs and applying the default settings, run the following command from an elevated command window:
C:\>msiexec /quiet /i Memurai.msi
The default options can be overwritten individually specifying the desired values.
Option name | Default value |
---|---|
INSTALLFOLDER | "C:\Program Files\Memurai" |
ADD_INSTALLFOLDER_TO_PATH | 1 |
INSTALL_SERVICE | 1 |
PORT | 6379 |
ADD_FIREWALL_RULE | 1 |
Example 1:
The following command installs Memurai to a custom folder path, adds the installation folder to the PATH
environment variable and doesn't install it as a Windows service:
C:\>msiexec /quiet /i Memurai.msi INSTALLFOLDER="C:\MyApps\Memurai" ADD_INSTALLFOLDER_TO_PATH=1 INSTALL_SERVICE=0
Example 2:
The following command installs Memurai in the default location (i.e. C:\Program Files\Memurai
), doesn't add the installation folder to the PATH
environment variable, installs it as a Windows service (default, if the INSTALL_SERVICE option is not specified), sets the PORT
number to 8000
and adds an exception to Windows Firewall for that port (default, when installing as a Windows service):
C:\>msiexec /quiet /i Memurai.msi ADD_INSTALLFOLDER_TO_PATH=0 PORT=8000