2021年4月30日
摘要: 转载:https://blog.csdn.net/Teddycxr/article/details/80804383 遍历搜寻及测试总结三种方法: 1. signal import os,signal out=os.popen("ps aux | grep xx.py").read() for li 阅读全文
posted @ 2021-04-30 11:21 bruce_he 阅读(1739) 评论(0) 推荐(0) 编辑
  2021年3月24日
摘要: 有时候安装一些依赖包,网速慢,直接超时,可以指定国内源镜像。 pip install -i 国内镜像地址 包名 例如: pip install -i https://mirrors.aliyun.com/pypi/simple/ numpy 国内常用源镜像地址: 清华:https://pypi.tu 阅读全文
posted @ 2021-03-24 17:01 bruce_he 阅读(1105) 评论(0) 推荐(0) 编辑
  2021年3月19日
摘要: 链接: https://www.ibm.com/developerworks/cn/opensource/os-cn-robot-framework/index.html http://www.cnblogs.com/fnng/p/3871712.html 1. 安装Python 3.7 下载地址: 阅读全文
posted @ 2021-03-19 14:46 bruce_he 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 利用 Android Studio 查看内存 准备 1)Android 完整代码 2)真机 1. Profile APP 打开 Android Studio,在右上角,找到 Profile 'app' 的 icon。如果手机上不能自动打开,则要手动打开 APP。完成后,会看到如下图所示的 相关性能图 阅读全文
posted @ 2021-03-19 10:15 bruce_he 阅读(352) 评论(0) 推荐(0) 编辑
  2021年3月17日
摘要: 1. 指定日志文件监控 1)监控项 键值:log[C:\Users\xxxx\PycharmProjects\trunk\Python\PyStock\log\tspro_margin_20210317.log,"INFO: 开始"] 2)触发器 表达式:{HD-XXXX:log[C:\Users\ 阅读全文
posted @ 2021-03-17 13:25 bruce_he 阅读(247) 评论(0) 推荐(0) 编辑
  2021年3月10日
摘要: 原文链接:https://blog.csdn.net/weixin_41843699/article/details/99976743 环境 系统: CentOS 7 机器一:192.168.200.190 SQLmap 机器二:192.168.200.188 DVWA渗透测试演示系统 概念 1、s 阅读全文
posted @ 2021-03-10 17:02 bruce_he 阅读(468) 评论(0) 推荐(0) 编辑
  2021年2月12日
摘要: 问题:监测\主机\图形,中文显示成 方块,如图所示 解决: 1. 找到 C:|Windows\Fonts,复制出 宋体 常规(字体文件名:simsun.ttc),重命名为 simsun.ttf 2. 复制到 zabbix server 的 /usr/share/zabbix/assets/fonts 阅读全文
posted @ 2021-02-12 20:57 bruce_he 阅读(700) 评论(0) 推荐(0) 编辑
  2021年2月10日
摘要: 1. 关闭防火墙及 selinux # systemctl disable firewalld # systemctl stop firewalld # firewall-cmd --state not running # reboot # vi /etc/selinux/config 返回目录 2 阅读全文
posted @ 2021-02-10 19:56 bruce_he 阅读(109) 评论(0) 推荐(0) 编辑
  2021年2月9日
摘要: 1. 创建防火墙入墙规则 1)控制面板 -> 防火墙 -> 高级设置 2)入站规则 -> 新建规则 3)选择 端口 -> TCP(本地 10050 端口)-> 允许连接 2. 安装 Zabbix Agent 1)MSI 安装 选择合适的系统及 Zabbix版本,然后安装 https://www.za 阅读全文
posted @ 2021-02-09 20:53 bruce_he 阅读(1854) 评论(0) 推荐(0) 编辑
摘要: 1. 关闭防火墙及 selinux # systemctl disable firewalld # systemctl stop firewalld # firewall-cmd --state not running # reboot # vi /etc/selinux/config 2. 安装 阅读全文
posted @ 2021-02-09 18:34 bruce_he 阅读(903) 评论(0) 推荐(0) 编辑
  2021年2月7日
摘要: 1. 关闭防火墙及 selinux # systemctl disable firewalld # systemctl stop firewalld # firewall-cmd --state not running # reboot # vi /etc/selinux/config 2. 配置阿 阅读全文
posted @ 2021-02-07 14:57 bruce_he 阅读(632) 评论(0) 推荐(0) 编辑
  2021年2月6日
摘要: Pre-setup:已经安装好 mysql 1. 关闭防火墙及 selinux # systemctl disable firewalld # systemctl stop firewalld # firewall-cmd --state not running # reboot # vi /etc 阅读全文
posted @ 2021-02-06 16:34 bruce_he 阅读(185) 评论(0) 推荐(0) 编辑
  2020年12月2日
摘要: 转载:http://dockone.io/article/2247 http://dockone.io/article/2268 Kubernetes 部署失败的 10 个最普遍原因 1. 错误的容器镜像/非法的仓库权限 其中两个最普遍的问题是:(a)指定了错误的容器镜像,(b)使用私有镜像却不提供 阅读全文
posted @ 2020-12-02 11:23 bruce_he 阅读(511) 评论(0) 推荐(0) 编辑
  2020年7月27日
摘要: 3. 日志位置 默认位置:C:\Users\{users}\.IntelliJIdea2019.2\system\tomcat\Unnamed_spring-mvc-study\logs 可以设置 console log 4. 解决console 里面的 tomcat 中文乱码问题 添加上 “-Df 阅读全文
posted @ 2020-07-27 13:46 bruce_he 阅读(12) 评论(0) 推荐(0) 编辑
  2020年7月21日
摘要: 1. 创建存储过程,具体代码如下 CREATE DEFINER=`root`@`localhost` PROCEDURE `p_cal_count`( ) BEGIN /* -- 库\表:`beststock`.`t_count` -- 功能: 定期统计各表的数据量 -- 入参: -- 出参: -- 阅读全文
posted @ 2020-07-21 13:34 bruce_he 阅读(1700) 评论(0) 推荐(0) 编辑