当前位置:网站首页>Redis5.0 installation and production startup steps
Redis5.0 installation and production startup steps
2022-06-21 14:32:00 【Internet Walker】
Download address http://download.redis.io/releases Various versions can be selected .
After downloading, unzip tar -zxvf redis-5.0.8.tar.gz tar xzf redis-5.0.8.tar.gz
Yes redis.conf To configure , after ./src/redis-server redis.conf start-up . No external access and no password verification by default .
Get rid of requirepass notes , Add password . Comment out bind 127.0.0.1 Open external access . modify daemonize no by yes, This eliminates the need for interaction
Command accessed , Will generate /var/run/redis_6379.pid.
Set up redis Boot up
Need to put src/utils Below redis_init_script Copy the script to /etc/init.d/ below , Modify according to the content
REDISPORT=6379
EXEC=/usr/local/bin/redis-server
CLIEXEC=/usr/local/bin/redis-cli
PIDFILE=/var/run/redis_${REDISPORT}.pid
CONF="/etc/redis/${REDISPORT}.conf"
Change to your actual directory , And turn on password verification , stay $CLIEXEC -p $REDISPORT shutdown, add to -a 123456( password )
chkconfig redis
service redis start
边栏推荐
- Redis学习(1)——概述和常用命令
- Sliding validation tool class
- C#&. Net to implement a distributed event bus from 0 (1)
- JS written test question: this
- Mr. Ali taught you how to use JMeter for pressure test (detailed drawing)
- Declare war on uncivilized code I
- C2 hiding of traffic encryption
- ARP interaction process
- Route add add route
- Chapter 2 - physical layer (I)
猜你喜欢

Why is epoll efficient?

2021 the latest selenium truly bypasses webdriver detection

Use Matplotlib to draw the first figure

Chart. JS 2.0 doughnut tooltip percentage - chart js 2.0 doughnut tooltip percentages

ARP interaction process

!!** The test is valid * *:vscode "the terminal will be reused by the task, press any key to close" /vscode the terminal runs NPM to pop up the select program dialog box / try a new cross platform Pow

Postman testing websocket interface

Design and implementation of object system in redis

Qt-8- use SQL database

Win10 installation and configuration mongodb
随机推荐
Format printout
使用api制作我的足迹地图
Solution of difficult and miscellaneous problems in MVN packaging
Redis cluster deployment manual that Xiaobai can understand
Num in tensorflow basiclstmcell_ What are units- What is num_ units in tensorflow BasicLSTMCell?
Simplified crud using code generation
Gensim error attributeerror: type object 'word2vec' has no attribute 'load_ word2vec_ format‘
Taobao secsha plug-in
Sliding validation tool class
Declare war on uncivilized code I
Redis learning (3) -- persistence mechanism
Tcp/ip FAQs
Analysis of ROC and AUC
Postman reports error write eproto 93988952error10000f7ssl routinesopenssl_ internalWRONG_ VERSION_ NUM
Redis学习(3)—— 持久化机制
Chapter 3 - data link layer
JS written test question: asynchronous
JS interview questions: variable promotion function promotion, scope chain error prone questions
Disputes between chromedriver, geckodriver, microsoftwebdriver, iedriverserver and operadriver
Office operation sorting notes