在Windows server 2016系統(tǒng)下如何安裝redis?
1.在網(wǎng)站下載安裝包https://github.com/microsoftarchive/redis/releases
2.打開安裝包文件,進入安裝界面,點擊“Next”
3.勾選“I accept the terms in the License Agreement”,點擊“Next”
4.選擇安裝路徑,勾選“Add the Redis installation folder to the PATH environment varible”,該操作為添加Redis目錄至環(huán)境變量中,方便系統(tǒng)自動識別Redis執(zhí)行文件,然后點擊“Next”
5.服務(wù)端口可保持默認設(shè)置,勾選“Add an exception to the Windows Firewall”,該操作為添加防火墻例外,然后點擊“Next”
6.根據(jù)需要可設(shè)置最大值,然后點擊“Next”
7.點擊“Install”
8.安裝完成后點擊“Finish”
9.打開“運行”,輸入cmd,點擊“確定”
10.輸入redis-cli,按回車可以顯示正確端口號說明服務(wù)已啟動