当前位置:网站首页>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
边栏推荐
- Continue and break jump out of multiple loops
- Tencent interview algorithm question
- I'm "fixing movies" in ByteDance
- LeetCode 1551. Minimum operand to make all elements in the array equal
- LeetCode 1552. Magnetic force between two balls
- Codeforces Round #771 (Div. 2)
- LeetCode 1561. The maximum number of coins you can get
- Spark的RDD(弹性分布式数据集)返回大结果集
- JS encapsulates the method of array inversion -- Feng Hao's blog
- Soft music -js find the number of times that character appears in the string - Feng Hao's blog
猜你喜欢
音视频开发面试题
Soft music -js find the number of times that character appears in the string - Feng Hao's blog
< li> dot style list style type
JS encapsulates the method of array inversion -- Feng Hao's blog
业务系统从Oracle迁移到openGauss数据库的简单记录
第五章 Yarn资源调度器
Simply try the new amp model of deepfacelab (deepfake)
图像处理一百题(11-20)
Log statistics (double pointer)
~76 sprite map
随机推荐
Research Report on market supply and demand and strategy of Chinese table lamp industry
~Introduction to form 80
Continue and break jump out of multiple loops
第5章 消费者组详解
第6章 DataNode
LeetCode 1557. The minimum number of points that can reach all points
LeetCode 1550. There are three consecutive arrays of odd numbers
ByteDance new programmer's growth secret: those glittering treasures mentors
Mp4 format details
我在字节跳动「修电影」
LeetCode1556. Thousand separated number
7-5 blessing arrived
js封装数组反转的方法--冯浩的博客
Detailed explanation of FLV format
Use JQ to realize the reverse selection of all and no selection at all - Feng Hao's blog
How to insert mathematical formulas in CSDN blog
Tencent interview algorithm question
SQL快速入门
这116名学生,用3天时间复刻了字节跳动内部真实技术项目
LeetCode 1558. Get the minimum number of function calls of the target array