In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Upload the redis-2.8.23.tar.gz package to centos and put it on a directory
Perform tar zxvf redis-2.8.23.tar.gz to decompress
Enter the decompression directory after decompression:
Enter the src directory
Cd src
Execute make to compile
Execute after compilation is completed
Start redis in the background
Verify that redis started successfully:
Execute under the scr directory
Set test 1
Get test
If the result is as follows, the startup is successful:
Project description:
Some of the configuration values of the project are added to the cache redis, so the project uses redis. In order to adapt to the upgrade and bring problems to people who do not know, the new configuration item configuration file in the project configuration file is:
Redis.properties
Redis.host=172.19.11.16
Redis.port=6379
Redis.maxIdle=300
Redis.maxActive=600
Redis.maxWait=1000
Redis.testOnBorrow=true
Redis.start=yes
These configuration items can be ignored as long as you modify redis.host and redis.start.
Redis.host is configured with the server where redis is located. Redis.start=yes means that the project starts redis as a cache. If you enter a different value, then redis is not enabled.
Note that if redis is enabled, redis must be installed. If there is no redis, do not turn on the use redis switch, otherwise it will affect performance. This switch is off by default.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.