当前位置:网站首页>Redis7.0 installation steps
Redis7.0 installation steps
2022-06-26 01:51:00 【Maple Leaf sprite s】
Redis Installation
1. download redis
Connect xftp take redis.gz Upload the file to linux in /opt Under the folder
download xshell and xftp(https://www.xshell.com/zh/free-for-home-school/)
see linux Of ip Address
# see ip Address
$ ifconfig
Connect linux And xftp
If connected xftp Failure , You can restart the network card and reconnecttake radis Upload the compressed package to linux On
take redis.gz Folder of to linux Of /opt Under the folder
2. install gcc
$ yum install gcc
3. Get into /opt Unzip the folder
$ cd /opt

$ tar -zxvf redis-7.0.0.tar.gz
4. Get into redis Directory for installation
cd redis-7.0.0
$ make
$ make install
Default installation directory /usr/local/bin
The contents of the installation are
- redis-benchmark : Performance testing tools , It can run in its own essence , Look at the performance of your book
- redis-check-rdb: Fix the problem dump.rdb file
- redis-sentinel:Redis Cluster use
- redis-check-aof: Fix the problem AOF file
- redis-cli: client , Operation entrance
- redis-server:Redis Server start command
5. Background start redis
The first time it starts , To perform 1 and 2, Then start direct execution 3 and 4.
1. Get into redis The catalog of
take redis.conf Copied to the /etc
cp redis.conf /etc/redis.conf
2. Get into /etc/redis.conf
modify redis.conf Of daemonize take no Change it to yes
vim /etc/redis.conf

3. start-up redis, If you can't start it directly, enter /usr/local/bin start-up
$ redis-server /etc/redis.conf
5. Connect redis
$ redis-cli
6. close
shutdown # Direct execution
perhaps
$ ps -ef | grep redis # see PID
$ kill -9 PID #PID: process ID
边栏推荐
- cyclegan:unpaired image-to-image translation using cycle-consistent adversarial network
- Talking about interface test (2)
- Code coverage test (I)
- APP测试(一)
- Loss function of depth model
- 2022 Anhui province safety officer C certificate examination practice questions simulated examination platform operation
- 甜酷少女金书伊 受邀担任第六季完美童模全球总决赛代言人
- Fasttext knowledge points summary
- 浅谈接口测试(一)
- PTA class a simulated fifth bomb: 1148-1151
猜你喜欢

轻轻松松理解指针

Principle of voice wake-up

二造实务案例答题技巧和举例汇总,满满都是精髓

Talking about interface test (I)

关于strlen与sizeof的区别

GNN (graph neural network) introduction vernacular

阳光男孩陈颢天 受邀担任第六季完美童模全球总决赛代言人

清甜女孩李斯霞 受邀担任第六季完美童模全球总决赛小主持人

What happens from entering a web address in the browser's input box to seeing the contents of the web page?

23. histogram equalization
随机推荐
Test questions and answers for the 2022 baby sitter (Level 5) examination
2022 Anhui province safety officer C certificate examination practice questions simulated examination platform operation
Pixel6 unlock bootloader
Talking about interface test (2)
通俗易懂C语言关键字static
从在浏览器的输入框输入一个网址,到看到网页的内容,这个过程中发生了什么?
The answer skills and examples of practical cases of the second construction company are full of essence
Summary of xlnet model
Sweet girl lisixia was invited to be the little host of the global finals of the sixth season perfect child model
Worthington胶原蛋白酶的多类型研究
Can bus transceiver principle
cyclegan:unpaired image-to-image translation using cycle-consistent adversarial network
Oracle數據庫完全卸載步驟(暫無截圖)
秀场精灵陈梓桐 受邀担任第六季完美童模全球总决赛首席体验官
regular expression
浅谈接口测试(一)
NLP enhanced technology
web测试
Some summary of sequence model
Abnova丨CMV CISH 探头解决方案