当前位置:网站首页>Redis standalone startup
Redis standalone startup
2022-07-06 16:46:00 【Daily enlightenment】
(1) Copy /usr/local/tmp/redis-5.0.5/ in redis.conf The configuration file
# cd /usr/local/tmp/redis-5.0.5/
# cp redis.conf /usr/local/redis/bin/
(2) Modify the configuration file
# cd /usr/local/redis/bin/
# vim redis.conf
hold daemonize The value of is determined by no It is amended as follows yes
The modification effect is as follows :
stay redis5 Configuration file needs to be modified in redis.conf Allow external access , Two changes are needed .
Comment out the following
bind 127.0.0.1
The modification effect is as follows :
protected-mode yes Change to no
(3) start-up redis
# ./redis-server redis.conf
(4) restart redis
# ./redis-cli shutdown
# ./redis-server redis.conf
(5) Start the client tools
stay redis5 The client tool in provides functions for commands
#./redis-cli
边栏推荐
- Cmake error: could not create named generator visual studio 16 2019 solution
- Continue and break jump out of multiple loops
- Spark's RDD (elastic distributed data set) returns a large result set
- ~77 linear gradient
- ~72 horizontal and vertical alignment of text
- Spark independent cluster dynamic online and offline worker node
- 第5章 消费者组详解
- 7-5 blessing arrived
- (lightoj - 1349) Aladdin and the optimal invitation (greed)
- The concept of spark independent cluster worker and executor
猜你喜欢
Story of [Kun Jintong]: talk about Chinese character coding and common character sets
LeetCode 1584. Minimum cost of connecting all points
Submit several problem records of spark application (sparklauncher with cluster deploy mode)
Simply try the new amp model of deepfacelab (deepfake)
sublime text 代码格式化操作
我在字节跳动「修电影」
Tree of life (tree DP)
~73 other text styles
Local visualization tools are connected to redis of Alibaba cloud CentOS server
解决Intel12代酷睿CPU单线程调度问题(二)
随机推荐
Educational Codeforces Round 122 (Rated for Div. 2)
第三章 MapReduce框架原理
(lightoj - 1349) Aladdin and the optimal invitation (greed)
Spark's RDD (elastic distributed data set) returns a large result set
(lightoj - 1236) pairs forming LCM (prime unique decomposition theorem)
SQL quick start
How to insert mathematical formulas in CSDN blog
sublime text 代码格式化操作
Market trend report, technical innovation and market forecast of tabletop dishwashers in China
Codeforces Round #771 (Div. 2)
Market trend report, technological innovation and market forecast of double door and multi door refrigerators in China
LeetCode 1558. Get the minimum number of function calls of the target array
SQL快速入门
Codeforces Global Round 19
Market trend report, technological innovation and market forecast of China's double sided flexible printed circuit board (FPC)
7-7 ring the stupid bell
(multiple methods, need to continue to see) 7-11 go deep into the tiger's Den
第5章 NameNode和SecondaryNameNode
Simply try the new amp model of deepfacelab (deepfake)
Codeforces Round #771 (Div. 2)