当前位置:网站首页>Linux安装Redis
Linux安装Redis
2022-07-05 02:41:00 【一个正在努力的菜鸡】
1.安装前准备
- yum install centos-release-scl scl-utils-build
- yum list all --enablerepo=‘centos-sclo-rh’
- yum install -y devtoolset-8-toolchain
- scl enable devtoolset-8 bash
- gcc --version
2.下载,解压,重命名
- cd /usr/local
- wget https://download.redis.io/releases/redis-6.2.6.tar.gz
- tar -xvf redis-6.2.6.tar.gz
- mv redis-6.2.6 redis626
3.安装redis
- cd /usr/local/redis626
- make && make install
4.启动redis
- cd /usr/local/redis626/utils
- ./install_server.sh
- 报错
- 解决
- 再次启动
- 启动成功
5.查看启动情况
- systemctl status redis_6379.service
- 未启动则重启:systemctl restart redis_6379.service
6.启动⾃带的 redis-cli 客户端
7.设置允许远程连接
- vim /etc/redis/6379.conf
- systemctl restart redis_6379.service
边栏推荐
- Which common ports should the server open
- "C zero foundation introduction hundred knowledge and hundred cases" (72) multi wave entrustment -- Mom shouted for dinner
- Unpool(nn.MaxUnpool2d)
- 2021 Li Hongyi machine learning (2): pytorch
- Uniapp navigateto jump failure
- Avoid material "minefields"! Play with super high conversion rate
- Design of KTV intelligent dimming system based on MCU
- Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
- Process scheduling and termination
- Blue bridge - maximum common divisor and minimum common multiple
猜你喜欢
Cut! 39 year old Ali P9, saved 150million
Security level
Application and Optimization Practice of redis in vivo push platform
Pytest (4) - test case execution sequence
Exploration of short text analysis in the field of medical and health (II)
Icu4c 70 source code download and compilation (win10, vs2022)
Visual studio 2019 set transparent background (fool teaching)
Matrixone 0.2.0 is released, and the fastest SQL computing engine is coming
A label making navigation bar
2021 Li Hongyi machine learning (2): pytorch
随机推荐
ELK日志分析系统
Blue bridge - maximum common divisor and minimum common multiple
[understanding of opportunity -38]: Guiguzi - Chapter 5 flying clamp - warning one: there is a kind of killing called "killing"
[technology development-26]: data security of new information and communication networks
Unpool(nn.MaxUnpool2d)
d3js小记
【LeetCode】111. Minimum depth of binary tree (2 brushes of wrong questions)
Three properties that a good homomorphic encryption should satisfy
Character painting, I use characters to draw a Bing Dwen Dwen
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
Elfk deployment
Comparison of advantages and disadvantages between platform entry and independent deployment
Design and implementation of campus epidemic prevention and control system based on SSM
Apache build web host
【LeetCode】404. Sum of left leaves (2 brushes of wrong questions)
Limited query of common SQL operations
PHP cli getting input from user and then dumping into variable possible?
Medusa installation and simple use
Richview trvunits image display units