当前位置:网站首页>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
边栏推荐
- 【LeetCode】110. Balanced binary tree (2 brushes of wrong questions)
- Chinese natural language processing, medical, legal and other public data sets, sorting and sharing
- Traditional chips and AI chips
- d3js小记
- [技术发展-26]:新型信息与通信网络的数据安全
- A label making navigation bar
- 打破信息茧房-我主动获取信息的方法 -#3
- Icu4c 70 source code download and compilation (win10, vs2022)
- College Students' innovation project management system
- 低度酒赛道进入洗牌期,新品牌如何破局三大难题?
猜你喜欢

The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety

Design and implementation of kindergarten management system

Acwing第 58 场周赛【完结】

Yolov5 model training and detection
![[source code attached] Intelligent Recommendation System Based on knowledge map -sylvie rabbit](/img/3e/ab14f3a0ddf31c7176629d891e44b4.png)
[source code attached] Intelligent Recommendation System Based on knowledge map -sylvie rabbit

Android advanced interview question record in 2022

Missile interception -- UPC winter vacation training match

Summary and practice of knowledge map construction technology

Openresty ngx Lua Execution stage

Design of KTV intelligent dimming system based on MCU
随机推荐
GFS distributed file system
Kotlin - 协程 Coroutine
[機緣參悟-38]:鬼穀子-第五飛箝篇 - 警示之一:有一種殺稱為“捧殺”
Blue bridge - maximum common divisor and minimum common multiple
Visual studio 2019 set transparent background (fool teaching)
【微服务|SCG】Filters的33种用法
Collection of gmat750 wrong questions
Last words record
ELK日志分析系统
Uniapp navigateto jump failure
丸子百度小程序详细配置教程,审核通过。
【LeetCode】98. Verify the binary search tree (2 brushes of wrong questions)
openresty ngx_ Lua variable operation
【LeetCode】404. Sum of left leaves (2 brushes of wrong questions)
Matrixone 0.2.0 is released, and the fastest SQL computing engine is coming
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
Use the difference between "Chmod a + X" and "Chmod 755" [closed] - difference between using "Chmod a + X" and "Chmod 755" [closed]
Erreur de type de datagramme MySQL en utilisant Druid
Advanced learning of MySQL -- Application -- Introduction
Rabbit MQ message sending of vertx