Giter Club home page Giter Club logo

tqmanager's Introduction

TQManager:基于Web的Redis管理工具

主要功能

  1. 监控redis-server是否在线
  2. 启动redis-server
  3. 关闭redis-server
  4. 查看redis info命令返回的信息

主界面如下: image

使用技术

前端

vue-cli
webpack
element-ui
axios
tomcat

后端

springboot
redis
logback
gradle

部署

要求
JDK 1.8+
tomcat 8.0 +

前端

  1. 下载tq-web代码后,修改main.js
const host = process.env.NODE_ENV === "development" ? "" : "后端服务器部署的地址,例如:http://10.1.6.37:8088";
  1. 在tq-web目录下运行npm run build或者cnpm run build打包,生成dist目录

  2. 将dist目录拷贝到tomcat下(假设已经成功地部署了tomcat)

后端

  1. 下载tq-server代码,在tq-server目录下运行gradle distTar

  2. 复制打好的tar包到服务器

  3. 修改conf目录下的配置文件 tq-server使用redis保存数据,所以需要在manage.properties配置redis信息,配置参考spring-boot中redis配置方法。

  4. 运行./bin/tq-server start

功能简介

添加Redis

image

Redis配置:包括redis相关信息。

  1. 名称:此服务器的名字
  2. RedisIP:此redis的ip地址
  3. Redis端口:此redis的端口
  4. Redis密码:此redis的密码
  5. Redis部署模式:此redis的部署方式,可以填写cluster,sentinel,standalone。目前没有对该字段限制,所以可以随便填写。

服务器配置:包括部署redis主机的信息,这部分信息主要用来实现 启动停止功能。

  1. 服务器用户名:部署redis主机的登录用户名,例如root。
  2. 服务器密码:服务器用户名对应的密码。
  3. Redis程序路径:redis-server在此服务器的绝对路径,例如/usr/local/bin/redis/bin/redis-server,一定要是redis-server的绝对路径
  4. Redis配置路径:redis配置文件在此服务器的绝对路径,例如/usr/local/bin/redis/bin/redis.conf,一定要是配置文件的绝对路径

完成配置后,点击创建按钮。

注意:刚创建的配置信息不会立即显示,需要等待10秒钟

查看info命令返回的信息

image

image


注意:详细信息按字母顺序排列

启动Redis

image
注意:不能启动运行状态的机器,不能关闭宕机状态的机器

关闭Redis

image

删除Redis

image 注意:刚删除的配置信息不会立即删除,需要等待10秒钟

tqmanager's People

Contributors

qbw2006 avatar

Stargazers

 avatar  avatar

Watchers

 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.