开源mysql数据库审计工具_Yearning基于Inception的开源SQL审核平台(数据库审计)

基础环境:

python3

nodejs

vuejs

mysql

python-ldap

pymysql

mysql

新建数据库

create database Yearning DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

Navicat导入初始化数据 : Yearning.sql

Yearning前端

nvm install v8

npm install -g cnpm --registry=https://registry.npm.taobao.org

cnpm install webpack -g

npm install vue-cli -g

pip install -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com -r Yearning/src/requirements.txt

cp Yearning/src/deploy.conf.template Yearning/src/deploy.conf

Yearning docker部署

pip install docker-compose

docker-compose up -d

# 默认http登录权限:admin/Yearning_admin

inception

源码编译

cp -vRp nfs/software/yearning/yearning/inception-master /opt/

&& sh inception_build.sh debug

make && make install

运行

nohup bin/Inception --defaults-file=/etc/inc.cnf --port=6669 &

启动成功之后,可以简单试一下看,通过MySQL客户端

mysql -uroot -h127.0.0.1 -P6669

登录上去之后,再执行一个命令:

inception get variables;

输出了所有的变量,恭喜你,已经启动成功了

web

yum install nginx

9ac45ef0240e671e556401123ad7b2fd.png

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值