When the download is complete, Open the command line tool, Execute the unzip command tar zxvf redis-5.0.3.t. Download it on the official website Select stable version Open the website : 2.
Install Download the source code Compilation and installation Add extensions Add permission to restart install stay mac Installed on php7.1.7 php -m See the expansion of the installation, No, redis, I used to brew install php71-redis A simple command. stay Download the corresponding redis Expanded version, Like the extended directory, stay php.ini Configuration extension information, Restart the service 2 li. php win/linux/mac install redis Extension or error report zend_smart_str.h file not foundġ windows install reids Expand according to phpinfo see php Information.But it comes with a minimal command-line database management tool, Sometimes use. Redis Is an ultra compact memory based key value pair database (key-value), Generally, applications that require concurrency are stored in it session, Even the entire database. mac install Redis Visualization tools -Redis Desktop Manager.install Will download tar.gz File copy to /usr/local Under the folder decompression sudo tar -zxvf redis3.1.6. download Official website ( I don't know why the wall ) Two. This needs to be selected according to the actual situation of your system platform, I'll download it here Redis-圆4-xxx.zi.
Windows&Mac install Redis Window Lower installation Redis Redis Support 32 Bit and 64 position. If we want to redis visualization, We can install rdm Software, open redis Visualization tools, Input name, Address, Port number, Here's the pictureĪfter the connection is successfully created, The data we store in the future, You can view it under this toolĭjango(38)mac install redis More articles about Redis The default is to start the foreground, If we want to redis Background start, Just in nf In the configuration file daemonize no Change it to daemonize yes that will do 9. At the terminal PING, See the result is PONG, Then represent redis Service started 127.0.0.1:6379> PINGĮnter the following command to turn off redis service redis-cli shutdown Here, We've started it redis service, Notice that we have another command window here, redis Default port number 6379, Enter the following command to connect redis-cli -h 127.0.0.1 -p 6379Īnd then we connect redis The service just needs to input redis-cli that will do 6. With the following command redis Is it running ps aux | grep redis
It's over, See the picture below for success The start command is as follows : redis-server /usr/local/etc/nf Redis Configuration file for nf Store in /usr/local/etc Under the path 3. usr/local/Cellar/redis/6.0.9: 11 files, 3.8MB, built in 16 seconds Or, if you don't want/need a background service you can just run: To have launchd start redis now and restart at login: => make install PREFIX=/usr/local/Cellar/redis/6.0.9 CC=clang BUILD_TLS=yes Warning: Bottle installation failed: building from source. Use Homebrew install Redis brew install redisĪfter executing the above command, the following appears, The installation is successful Download failed: