当前位置:网站首页>Linux Installation redis
Linux Installation redis
2022-07-05 02:45:00 【A vegetable chicken that is working hard】
1. Preparation before installation
- 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. download , decompression , rename
- 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. install redis
- cd /usr/local/redis626
- make && make install
4. start-up redis
- cd /usr/local/redis626/utils
- ./install_server.sh
- Report errors
- solve
- Start again
- Successful launch
5. Check the startup
- systemctl status redis_6379.service
- Restart if not started :systemctl restart redis_6379.service
6. start-up ⾃ Band redis-cli client
7. Set to allow remote connections
- vim /etc/redis/6379.conf
- systemctl restart redis_6379.service
边栏推荐
- 1.五层网络模型
- 【LeetCode】222. The number of nodes of a complete binary tree (2 mistakes)
- [technology development-26]: data security of new information and communication networks
- openresty ngx_ Lua execution phase
- openresty ngx_lua執行階段
- Start the remedial work. Print the contents of the array using the pointer
- Tiny series rendering tutorial
- The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
- When to catch an exception and when to throw an exception- When to catch the Exception vs When to throw the Exceptions?
- How to find hot projects in 2022? Dena community project progress follow-up, there is always a dish for you (1)
猜你喜欢
Tiny series rendering tutorial
Hmi-31- [motion mode] solve the problem of picture display of music module
【LeetCode】501. Mode in binary search tree (2 wrong questions)
Can you really learn 3DMAX modeling by self-study?
Idea inheritance relationship
看 TDengine 社区英雄线上发布会,听 TD Hero 聊开发者传奇故事
Design and implementation of community hospital information system
Voice chip wt2003h4 B008 single chip to realize the quick design of intelligent doorbell scheme
Variables in postman
【LeetCode】404. Sum of left leaves (2 brushes of wrong questions)
随机推荐
GFS分布式文件系统
Moco V2 literature research [self supervised learning]
[Yu Yue education] National Open University spring 2019 0505-22t basic nursing reference questions
PHP cli getting input from user and then dumping into variable possible?
openresty ngx_ Lua variable operation
问题解决:AttributeError: ‘NoneType‘ object has no attribute ‘append‘
From task Run get return value - getting return value from task Run
[micro service SCG] 33 usages of filters
Design and practice of kubernetes cluster and application monitoring scheme
Design and implementation of community hospital information system
1.五层网络模型
【LeetCode】501. Mode in binary search tree (2 wrong questions)
Application and Optimization Practice of redis in vivo push platform
腾讯云,实现图片上传
Avoid material "minefields"! Play with super high conversion rate
Use UDP to send a JPEG image, and UPD will convert it into the mat format of OpenCV after receiving it
TCP security of network security foundation
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
Linux安装Redis
Redis distributed lock, lock code logic