当前位置:网站首页>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
边栏推荐
- Character painting, I use characters to draw a Bing Dwen Dwen
- Acwing第 58 场周赛【完结】
- Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
- [daily problem insight] Li Kou - the 280th weekly match (I really didn't know it could be so simple to solve other people's problems)
- Design of kindergarten real-time monitoring and control system
- [uc/os-iii] chapter 1.2.3.4 understanding RTOS
- Serious bugs with lifted/nullable conversions from int, allowing conversion from decimal
- 【LeetCode】404. Sum of left leaves (2 brushes of wrong questions)
- Summary and practice of knowledge map construction technology
- Action News
猜你喜欢
Exploration of short text analysis in the field of medical and health (II)
Character painting, I use characters to draw a Bing Dwen Dwen
LeetCode 314. Binary tree vertical order traversal - Binary Tree Series Question 6
Application and Optimization Practice of redis in vivo push platform
Avoid material "minefields"! Play with super high conversion rate
Vb+access hotel service management system
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
【LeetCode】111. Minimum depth of binary tree (2 brushes of wrong questions)
Asp+access campus network goods trading platform
随机推荐
Android advanced interview question record in 2022
Application and Optimization Practice of redis in vivo push platform
Grub 2.12 will be released this year to continue to improve boot security
使用druid连接MySQL数据库报类型错误
Limited query of common SQL operations
The database and recharge are gone
Grpc message sending of vertx
Vb+access hotel service management system
Kotlin - 协程 Coroutine
丸子百度小程序详细配置教程,审核通过。
LeetCode --- 1071. Great common divisor of strings problem solving Report
Start the remedial work. Print the contents of the array using the pointer
How to make a cool ink screen electronic clock?
Pytest (5) - assertion
Character painting, I use characters to draw a Bing Dwen Dwen
[Yu Yue education] National Open University spring 2019 0505-22t basic nursing reference questions
Video display and hiding of imitation tudou.com
A tab Sina navigation bar
[機緣參悟-38]:鬼穀子-第五飛箝篇 - 警示之一:有一種殺稱為“捧殺”
Spoon inserts and updates the Oracle database, and some prompts are inserted with errors. Assertion botch: negative time