码迷,mamicode.com
首页 > 其他好文 > 详细

mycat配置安装测试

时间:2018-06-12 23:29:23      阅读:211      评论:0      收藏:0      [点我收藏+]

标签:mysq   tar.gz   www.   .gz   art   cal   /usr   etc   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配置安装测试

标签:mysq   tar.gz   www.   .gz   art   cal   /usr   etc   mycat   

原文地址:https://www.cnblogs.com/moss_tan_jun/p/9175505.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!