摘要: 一、:验证接口请求返回结果 wget --post-data=请求json串 http://10.2.17.112:9200/skywanlog*/_search wget --post-file=1.xml http://elastic:neteast123@10.2.17.112:9200/sk 阅读全文
posted @ 2021-05-13 17:58 syy714363310 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 具体参考:https://www.runoob.com/linux/linux-comm-tcpdump.html 1:抓包看端口通信 tcpdump -Xnns 0 -i any port 9200 2:抓包端口的请求(需要点击前端)日志存到文件里面 tcpdump -Xnns 0 -i any 阅读全文
posted @ 2021-05-13 17:47 syy714363310 阅读(175) 评论(0) 推荐(0) 编辑
摘要: MeterSphere 一站安装部署 环境要求 操作系统: CentOS 7.x CPU/内存: 4核8G 磁盘空间: 50G 可访问互联网 1)一键安装 以 root 用户执行如下命令一键安装 MeterSphere: curl -sSL https://github.com/meterspher 阅读全文
posted @ 2021-04-13 17:15 syy714363310 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 接口使用系统: yapi:https://hellosean1025.github.io/yapi/index.html 阅读全文
posted @ 2021-04-12 11:16 syy714363310 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 表里面时间戳转换命令格式:FROM_UNIXTIME(转换字段) FROM_UNIXTIME(createtime) 阅读全文
posted @ 2021-03-18 11:01 syy714363310 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 统计条数:db.test20210203180000.find().count(); 查询所有数据:db.test20210203180000.find() 显示最近一条数据db.test20210203180000.find().limit(1); 刷选条件统计条数:db.test20210203 阅读全文
posted @ 2021-03-15 17:43 syy714363310 阅读(48) 评论(0) 推荐(0) 编辑
摘要: a) 启动mongo服务: /usr/local/mongodb/bin/mongod --config /usr/local/mongodb/etc/mongod.conf & 查看服务是否启动成功ps aux|grep mongo b) 进入数据库: /usr/local/mongodb/bin 阅读全文
posted @ 2021-03-15 17:42 syy714363310 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 方法1:把bd文件下载到windows下的文件夹下(不能实时更新数据库) 1:链接-sqlite 输入链接名,数据库文件,直接预览选择db文件,点击“测试链接”,点击确定!测试成功! 方法2:apache开口,带动实时链接db数据库(需要研发代码实现后再链接) 1)配置apache <Virtual 阅读全文
posted @ 2021-03-15 17:30 syy714363310 阅读(966) 评论(0) 推荐(0) 编辑
摘要: sqlite3是linux操作系统下自带的安装插件 一、登录方式 1)进入目录 cd /var/www/html/skywan/extend/db/ 2)调用目录下的db文件进入数据库 #sqlite3 skywan.db(登录数据库) #.databases(查看数据库) #.tables (查看 阅读全文
posted @ 2021-03-15 17:08 syy714363310 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 1)修改数据库密码 #mysql -u root -p #use mysql;#grant all on *.* to 'root'@'%' IDENTIFIED BY 'dfwx@2019' ; #标红位置为需要设置的密码#flush privileges; 2)删除mysql数据库user表里面 阅读全文
posted @ 2021-03-15 16:41 syy714363310 阅读(174) 评论(0) 推荐(0) 编辑