lzqabc

导航

构-建集群应用系统环境

mycat和2台mariadb

redis机

 

 

2.redis机器

配置yum源并且下载epel-release包

rpm epel-release...

yum clean all <make cacahe  & repolist>

yum -y install redis

systemctl start redis

systemctl enable redis

netstat -ntpl

 

3.db1

mysql -uroot -p123456

create database gpmall

 

 

4修改mycat

vim /usr/local/mycat/conf/schema.xml

vim /usr/local/mycat/conf/server.xml

 

 

启动mycat

cd /usr/local/mycat/bin/

./mycat restart

netstat -ntpl

posted on 2022-09-16 11:17  李子权  阅读(15)  评论(0编辑  收藏  举报