mycat配置安装测试
Posted moss_tan_jun
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mycat配置安装测试相关的知识,希望对你有一定的参考价值。
https://www.jianshu.com/p/26513f428ecf
#下载安装
#java jdk
mkdir /usr/local/java/
tar -zxvf jdk-7u80-linux-x64.tar.gz -C /usr/local/java/
# /etc/profile 添加
export JAVA_HOME=/usr/local/java/jdk1.7.0_80
export JAVA_BIN=/usr/local/java/jdk1.7.0_80/bin
export PATH=/usr/local/mysql/bin:$PATH:/usr/local/mongodb/bin:/usr/local/java/jdk1.7.0_80/bin
export CLASSPATH=./:/usr/local/java/jdk1.7.0_80/lib:/usr/local/java/jdk1.7.0_80/jre/lib
MYCAT_HOME=/usr/local/mycat/
export JAVA_HOME JAVA_BIN PATH CLASSPATH
/home/oldboy/tools
wget http://dl.mycat.io/1.6-RELEASE/Mycat-server-1.6-RELEASE-20161028204710-linux.tar.gz
tar -zxvf Mycat-server-1.6-RELEASE-20161028204710-linux.tar.gz -C /usr/local/
#
/usr/local/mycat/bin/mycat restart
以上是关于mycat配置安装测试的主要内容,如果未能解决你的问题,请参考以下文章