当前位置:网站首页>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
边栏推荐
- el-select,el-option下拉选择框
- 2021 Li Hongyi machine learning (2): pytorch
- 【LeetCode】222. The number of nodes of a complete binary tree (2 mistakes)
- 打破信息茧房-我主动获取信息的方法 -#3
- Exploration of short text analysis in the field of medical and health (II)
- Unpool(nn.MaxUnpool2d)
- [200 opencv routines] 99 Modified alpha mean filter
- 2.常见的请求方法
- Apache Web page security optimization
- openresty ngx_ Lua execution phase
猜你喜欢
看 TDengine 社区英雄线上发布会,听 TD Hero 聊开发者传奇故事
Avoid material "minefields"! Play with super high conversion rate
2021 Li Hongyi machine learning (1): basic concepts
Hmi-32- [motion mode] add light panel and basic information column
2021 Li Hongyi machine learning (2): pytorch
Naacl 2021 | contrastive learning sweeping text clustering task
Zabbix
Elfk deployment
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Flume配置4——自定义MYSQLSource
随机推荐
Variables in postman
Yolov5 model training and detection
Zabbix
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
Can you really learn 3DMAX modeling by self-study?
Structure of ViewModel
d3js小记
Naacl 2021 | contrastive learning sweeping text clustering task
Pytest (4) - test case execution sequence
Design and implementation of kindergarten management system
[uc/os-iii] chapter 1.2.3.4 understanding RTOS
Acwing game 58 [End]
Open source SPL optimized report application coping endlessly
Why is this an undefined behavior- Why is this an undefined behavior?
1.五层网络模型
LeetCode 314. Binary tree vertical order traversal - Binary Tree Series Question 6
端口,域名,协议。
8. Commodity management - commodity classification
GFS distributed file system
PHP cli getting input from user and then dumping into variable possible?