当前位置:网站首页>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
边栏推荐
- 字节跳动开源GAN模型压缩框架,算力最高节省97.8%丨ICCV 2021
- (lightoj - 1369) answering queries (thinking)
- Use JQ to realize the reverse selection of all and no selection at all - Feng Hao's blog
- js时间函数大全 详细的讲解 -----阿浩博客
- LeetCode 1552. Magnetic force between two balls
- Chapter 5 yarn resource scheduler
- SF smart logistics Campus Technology Challenge (no T4)
- Chapter 1 overview of MapReduce
- Chapter 6 rebalance details
- Spark's RDD (elastic distributed data set) returns a large result set
猜你喜欢
~76 sprite map
7-4 harmonic average
我在字节跳动「修电影」
Gridhome, a static site generator that novices must know
字节跳动技术新人培训全记录:校招萌新成长指南
视频压缩编码和音频压缩编码基本原理
(lightoj - 1369) answering queries (thinking)
7-5 blessing arrived
One hundred questions of image processing (1-10)
Audio and video development interview questions
随机推荐
字节跳动技术新人培训全记录:校招萌新成长指南
Investigation report of bench type Brinell hardness tester industry - market status analysis and development prospect prediction
Spark independent cluster dynamic online and offline worker node
Research Report on hearing health care equipment industry - market status analysis and development prospect prediction
7-7 ring the stupid bell
~72 horizontal and vertical alignment of text
LeetCode 1020. Number of enclaves
Research Report of desktop clinical chemical analyzer industry - market status analysis and development prospect prediction
Research Report on market supply and demand and strategy of China's four flat leadless (QFN) packaging industry
MP4格式详解
LeetCode 1552. Magnetic force between two balls
Bisphenol based CE Resin Industry Research Report - market status analysis and development prospect forecast
Tert butyl hydroquinone (TBHQ) Industry Research Report - market status analysis and development prospect forecast
Base dice (dynamic programming + matrix fast power)
Market trend report, technical innovation and market forecast of tabletop dishwashers in China
CMake Error: Could not create named generator Visual Studio 16 2019解决方法
JS encapsulates the method of array inversion -- Feng Hao's blog
~77 linear gradient
Story of [Kun Jintong]: talk about Chinese character coding and common character sets
Simply try the new amp model of deepfacelab (deepfake)