In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The general installation part is as follows, there are many online tutorials, abbreviated here
1. Decompression
two。 Enter the src directory
3. Execute the make install command
4. Execute the redis-server command to start
5. Execute the redis-cli command to connect
Redis start and stop
The compiled binaries are located in the src directory of the source code and are named after redis-xxx. Among them: there are 5 executable binaries.
1.redis-benchmark performance testing tool
2.redis-check-aof aof File repair tool
3.redis-check-dump reb File check tool
4.redis-cli command line client
5.redis-server redis server
Method 1: start directly
Add the & sign to make redis run redis-server as a daemon &
Check whether the backend process is stored in ps-ef | grep redis
Check whether port 6379 is listening to netstat-tunpl | grep 6379
Whether you can connect properly using redis-cli
Method 2: specify a profile
Redis-server / usr/local/redis/etc/redis.conf
Method 3: use Redis startup script to set up boot self-startup
It is recommended to use startup scripts to start redis services in a production environment. The startup script redis_init_script is located in the / utils/ directory of Redis.
Configuration steps:
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.