当前位置:网站首页>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
边栏推荐
- The phenomenology of crypto world: Pioneer entropy
- Which common ports should the server open
- Learn game model 3D characters, come out to find a job?
- Pytorch register_ Hook (operate on gradient grad)
- [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)
- Character painting, I use characters to draw a Bing Dwen Dwen
- Day_ 17 IO stream file class
- A label colorful navigation bar
- Pgadmin 4 V6.5 release, PostgreSQL open source graphical management tool
- [micro service SCG] 33 usages of filters
猜你喜欢

Design and implementation of kindergarten management system

问题解决:AttributeError: ‘NoneType‘ object has no attribute ‘append‘
![Acwing game 58 [End]](/img/16/c55e0a7aedc354f1c739637ed13a6b.png)
Acwing game 58 [End]

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

Apache build web host

ELFK部署
![[technology development-26]: data security of new information and communication networks](/img/13/10c8bd340017c6516edef41cd3bf6f.png)
[technology development-26]: data security of new information and communication networks

Introduce reflow & repaint, and how to optimize it?

Spark SQL learning bullet 2

TCP security of network security foundation
随机推荐
100 basic multiple choice questions of C language (with answers) 04
Limited query of common SQL operations
openresty ngx_lua执行阶段
Application and Optimization Practice of redis in vivo push platform
Vb+access hotel service management system
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
Master Fur
Elfk deployment
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
PHP cli getting input from user and then dumping into variable possible?
[技术发展-26]:新型信息与通信网络的数据安全
[micro service SCG] 33 usages of filters
【LeetCode】110. Balanced binary tree (2 brushes of wrong questions)
Openresty ngx Lua Execution stage
Kotlin - coroutine
Advanced conditional statements of common SQL operations
d3js小记
The most powerful new household god card of Bank of communications. Apply to earn 2100 yuan. Hurry up if you haven't applied!
Good documentation
College Students' innovation project management system