构-建集群应用系统环境
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