GithubHelp home page GithubHelp logo

qt-pay / mycat-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mycatapache/mycat-web

0.0 0.0 0.0 26.14 MB

License: Apache License 2.0

Batchfile 0.02% Shell 0.02% Java 9.63% FreeMarker 0.09% HTML 13.68% JavaScript 57.28% CSS 19.30%

mycat-web's Introduction

mycat-web

Mycat-web 是对mycat-server提供监控服务。功能不局限于对mycat-server使用。他基于jmx对所有JVM监控。通过JDBC连接对Mycat、Mysql 监控。基于snmp协议,监控远程服务器(目前仅限于linux系统)的cpu、内存、网络、磁盘。

支持SQL上线,基于sqlwatch开源项目,具备SQL语法检查和备份数据识别,释放DBA精力。 ### 新增 mycat all in one 镜像下载

mycat all in one 是 mycat-server,mycat-web,mysql,zookeeper 于一身的测试开发环境,是您开发测试必备良器, 您只需要执行如下几个步骤便可开启属于您的 mycat 之旅 :

导入 OVA

  • 安装Oracle VM VirtualBox
  • 启动Oracle VM VirtualBox
  • 下载 mycat-all-in-one 镜像文件,戳这里下载all-in-one镜像,密码:v63y
  • File(管理) -> Import Appliances(导入虚拟电脑)<网络模式首选桥接模式>
  • 选择CentOS 7.ova
  • 一路Next

启动虚拟机

  • 登录虚拟机 root/123456
  • 启动多实例Mysql
   mysqld_multi start

启动 Mycat

   cd /opt/mycat/
   ./bin/mycat start

ZK启动

    cd /opt/zookeeper-3.4.6
	bin/zkServer.sh start
	bin/zkCli.sh

体验 Mycat

  • 启动Navicat Premium
  • 连接Mycat,IP:8066 test/test
  • 连接TESTDB
  • 测试
      select * from t_user;

mycat eye启动

    cd /opt/mycat-web
	./start.sh 
    访问地址:http://localhost:8082/mycat

请留意 '体验 Mycat'该步骤中的 IP 地址的设定,虚拟机中 IP 地址若与主机地址不匹配会引发连接失败的情况, 此时可以将 虚拟机IP 地址修改静态IP地址来解决,修改位于路径

/etc/sysconfig/network-scripts/ifcfg-enp0s3 

下面的文件,然后运行命令

service network restart

来让刚刚修改过的文件生效即可

mycat web SQL上线配置参考(可选)

修改mycat.properties文件的访问sqlwatch参数配置,具体参考sqlwatch.md

mycat-web's People

Contributors

accphuangxin avatar apachemycat avatar chenshengzun avatar coderczp avatar cshsh avatar essidy01 avatar linzhiqiang0514 avatar mycatmerger avatar qiankunshe avatar snow-listen avatar sohudo avatar whyuan2016 avatar xiegengcai avatar yanqingluo avatar zhuam avatar zjjxxlgb avatar zogwei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.