![]() |
|
#1
|
||||
|
||||
|
In this tutorial I am explaining how to install the Redis server as a local server to your Windows machine. Here this is a full article about Installing and Running in very simple steps. Download Redis You can download a moderately out-of-date precompiled version of Redis for 64-bit Windows from this GitHub page: https://github.com/MicrosoftArchive/redis/releases/download/win-3.0.504/Redis-x64-3.0.504.msi By clicking this link you will get a .msi file which is a Windows installer. Now go to your Downloads folder and find this file. [IMG]https://miro.medium.com/v2/resize:fit:700/1*eC7MiR9P3lYzdQbefMMESQ.png[/IMG] Now click on that file and install Redis. Install Redis Server First, You need to run this file. Click the Run button. https://miro.medium.com/v2/resize:fi...iK7EJz-kkw.png Then Click Next, https://miro.medium.com/v2/resize:fi...TJ5X7QQliw.png Accept the terms in the License Agreement and Click Next, https://miro.medium.com/v2/resize:fi...UdNQhhS5sA.png Now Make sure to tick the †œAdd the Redis installation folder to the PATH environment variableââ‚ ‚¬Ã‚ÂÂ. And click Next, https://miro.medium.com/v2/resize:fi...4gZX1R7Nwg.png Now it will give you a default port to the server, Just Click Next(If you want to change the default running port, you can change it here), https://miro.medium.com/v2/resize:fi...HKBkEPZz4Q.png Now the system will ask to set the memory limit for the Redis server(default 100MB given). You can just change the memory limit if you want and click Next Button, https://miro.medium.com/v2/resize:fi...445pXhboKw.png Now continue the installation process. Click the Install button, [IMG]https://miro.medium.com/v2/resize:fi...hBJRndAdMg.png After all click the Finish button to finish installation process. https://miro.medium.com/v2/resize:fi...HmqELrFO0g.png Congratulations!. You have almost installed the Redis server. Now letââ‚ ¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚¢s talk about How to Run the Redis server. Run Redis Server Step 1 Now open up the Windows Services console and start the Redis service. For the first time you can see it is running. https://miro.medium.com/v2/resize:fi...3vtEEyaMOQ.png Step 2 If you want to run the Redis server from the terminal use this way. Redis Server should have installed to C:\Program Files\Redis. There youââ‚ ¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚¢ll find a .exe file called redis-server. https://miro.medium.com/v2/resize:fi...ogeWbx6wgA.png Now open a command line and enter this command, You can see Redis server running in the standalone mood with this User Interface. redis-server https://miro.medium.com/v2/resize:fi...dD7Gic081g.png Your Redis server started to run. Now you can monitor the updates and changes in the Redis server by this command. redis-cli monitor https://miro.medium.com/v2/resize:fi...zK3O4i6S9A.png These are the basic steps to install and run your Redis server locally in your machine. I hope you will get an idea about how to run Redis Server.
|
|
#2
|
||||
|
||||
|
I use redis
[1]. Yes, it is not the latest version, but it works fine. For php I use x64 Thread safe 7.3 [2] with the redis 4.2 driver [3] I also changed the session handler from files to redis Code[Session] ; Handler used to store/retrieve data. ; http://php.net/session.save-handler session.save_handler = redis session.save_path = "tcp://127.0.0.1:6379" extension=igbinary extension=redis session.save_handler = redis session.save_path = "tcp://127.0.0.1:6379" [1] https://github.com/microsoftarchive/...64-3.0.504.msi [2] https://windows.php.net/downloads/re...2-VC15-x64.zip [3] https://windows.php.net/downloads/pe...s-vc15-x64.zip
|
![]() ![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [ANNOUNCEMENT] Schedule Maintenance and Installing New Server OS | wcked | Bulletin News | 11 | 02-17-2009 10:46 PM |