【Redis】Redis 编译安装配置优化,多实例配置

您所在的位置:网站首页 编译redis 【Redis】Redis 编译安装配置优化,多实例配置

【Redis】Redis 编译安装配置优化,多实例配置

2023-04-22 13:39| 来源: 网络整理| 查看: 265

[root@Redis-Ubuntu-1804-p21:~]# systemctl enable --now redis_6379.service redis_6380.service redis_6381.service Created symlink /etc/systemd/system/multi-user.target.wants/redis_6379.service → /etc/systemd/system/redis_6379.service. Created symlink /etc/systemd/system/multi-user.target.wants/redis_6380.service → /etc/systemd/system/redis_6380.service. Created symlink /etc/systemd/system/multi-user.target.wants/redis_6381.service → /etc/systemd/system/redis_6381.service. [root@Redis-Ubuntu-1804-p21:~]# ps -ef | grep redis-server redis 10491 1 0 00:24 ? 00:00:00 /app/redis/bin/redis-server 0.0.0.0:6381 redis 10492 1 0 00:24 ? 00:00:00 /app/redis/bin/redis-server 0.0.0.0:6380 redis 10493 1 0 00:24 ? 00:00:00 /app/redis/bin/redis-server 0.0.0.0:6379 root 10512 1247 0 00:25 pts/0 00:00:00 grep --color=auto redis-server [root@Redis-Ubuntu-1804-p21:~]# ss -ntl State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 128 127.0.0.53%lo:53 0.0.0.0:* LISTEN 0 128 0.0.0.0:22 0.0.0.0:* LISTEN 0 128 127.0.0.1:6010 0.0.0.0:* LISTEN 0 128 127.0.0.1:6011 0.0.0.0:* LISTEN 0 128 0.0.0.0:6379 0.0.0.0:* LISTEN 0 128 0.0.0.0:6380 0.0.0.0:* LISTEN 0 128 0.0.0.0:6381 0.0.0.0:* LISTEN 0 128 [::]:22 [::]:* LISTEN 0 128 [::1]:6010 [::]:* LISTEN 0 128 [::1]:6011 [::]:* [root@Redis-Ubuntu-1804-p21:~]#

[root@Redis-Ubuntu-1804-p21:~]# tree /app/redis/app/redis├── bin│   ├── redis-benchmark│   ├── redis-check-aof│   ├── redis-check-rdb│   ├── redis-cli│   ├── redis-sentinel -> redis-server│   └── redis-server├── data│   └── dump_6379.rdb├── etc│   ├── redis_6379.conf│   ├── redis_6380.conf│   └── redis_6381.conf├── log│   ├── redis_6379.log│   ├── redis_6380.log│   └── redis_6381.log└── run ├── redis_6379.pid ├── redis_6380.pid └── redis_6381.pid

5 directories, 16 files[root@Redis-Ubuntu-1804-p21:~]#



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3