
Temporarily Out of Service :redis-server.

Install redis in windows windows#
Ībout some Windows The service related commands are as follows : Start the service :redis-server.exe -service-start Here ,Redis Service is running, On behalf of a successful startup. 094 # Redis service successfully started. Then enter the following command to start Redis service. Now open Windows List of services, You can see the added Redis service. Be sure to shut down the temporary service first, Otherwise, it cannot be installed. In the installation directory cmd Command line window, Enter the following command. 1 : 6379 > SHUTDOWNįirst of all, will Redis register as Windows Service for, stay Redis Start a. Of course, You can also use the client tool to connect to the terminal, Close it again. 1:6379> exitĬlose Redis service, You can use the client tool to close, as follows : redis-cli.exe -h 127.0.0.1 -p 6379 -a 123456 shutdown 1 -p 6379 -a 123456Įxit client connection, You can use shortcut keys Ctrl+C Or use exit command. Aside from feature differences that help Redis take advantage of the Windows. We have achieved performance nearly identical to the POSIX version running head-to-head on identical hardware across the network.
Install redis in windows password#
Of course, You can also specify the password when using the client connection, But not recommended, After all, it is plaintext. We strive to have a stable, functionally equivalent and comparably performing version of Redis on Windows. After certification, have access to PING Command to test, Normal return PONG. After using the client to connect successfully, If you don't enter a password to verify, perform Redis The command will report an error. In the installation directory cmd Command line window, Connect and test through client tools. But this way of starting, It's the front desk startup mode, Create only Redis Temporary service, Not in window Service The list appears Redis Service name and status, This window closes ,Redis The service will shut down automatically. In the installation directory cmd Command line window, Output the following command to start the service. # Copy another line, Set the password # requirepass foobared


# Comment out the next line, So any IP All accessible Redis service # bind 127.0.0.1 # Protection mode is off Open profile, Modify the following configuration. Īfter downloading, unzip the compressed package to the directory you want to install. The latest version is 2016 year 7 Released on 3.2.100 edition. But you're from github According to the release record of, it has actually stopped for a long time ,Window The version is still available for learning. īut Microsoft's open technology team (Microsoft Open Tech Group) Developed and maintained Win 64 Version of Redis. Therefore, it is officially recommended to use Linux edition. Loosely speaking Redis It's single threaded, Using the mechanism of single thread polling, The polling mechanism of different operating systems is different ,Linxu Use epoll,Window Use selector, On the performance epoll Far above selector. Redis The official didn't provide Windows Version of the installation package.
