随笔分类 -  运维

Zabbix 日志监控
摘要: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 阅读(276) 评论(0) 推荐(0)
Zabbix 解决中文显示时 图像“方块”问题
摘要:问题:监测\主机\图形,中文显示成 方块,如图所示 解决: 1. 找到 C:|Windows\Fonts,复制出 宋体 常规(字体文件名:simsun.ttc),重命名为 simsun.ttf 2. 复制到 zabbix server 的 /usr/share/zabbix/assets/fonts 阅读全文
posted @ 2021-02-12 20:57 bruce_he 阅读(1074) 评论(0) 推荐(0)
CentOS 7 安装 Zabbix Server 4.0
摘要: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 阅读(149) 评论(0) 推荐(0)
Windows 安装 Zabbix Agent 5.0
摘要:1. 创建防火墙入墙规则 1)控制面板 -> 防火墙 -> 高级设置 2)入站规则 -> 新建规则 3)选择 端口 -> TCP(本地 10050 端口)-> 允许连接 2. 安装 Zabbix Agent 1)MSI 安装 选择合适的系统及 Zabbix版本,然后安装 https://www.za 阅读全文
posted @ 2021-02-09 20:53 bruce_he 阅读(2010) 评论(0) 推荐(0)
CentOS 7 安装 Zabbix Agent 5.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 阅读(976) 评论(0) 推荐(0)
centos7 yum安装zabbix国内源
摘要: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 阅读(707) 评论(0) 推荐(0)
CentOS 7 安装 Zabbix Server 5.0
摘要: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 阅读(415) 评论(0) 推荐(0)
Kubernetes 部署失败的 10 个最普遍原因(转载)
摘要:转载:http://dockone.io/article/2247 http://dockone.io/article/2268 Kubernetes 部署失败的 10 个最普遍原因 1. 错误的容器镜像/非法的仓库权限 其中两个最普遍的问题是:(a)指定了错误的容器镜像,(b)使用私有镜像却不提供 阅读全文
posted @ 2020-12-02 11:23 bruce_he 阅读(704) 评论(0) 推荐(0)
(转)Centos7 设置定时任务
摘要:59 23 * * * root /home/backup/showdoc/backup.sh 1、安装 crontabs服务并设置开机自启: $ yum install crontabs $ systemctl enable crond $ systemctl start crond 2、配置定时 阅读全文
posted @ 2020-05-06 17:19 bruce_he 阅读(414) 评论(0) 推荐(0)
Windows 下区分 多个 tomcat
摘要:windows 下开多个tomcat 服务,显示一样的名称,一样的进程(java),令人很崩溃,其实,可以通过下面的方式简单解决: 1. 修改框口的显示名称 tomcat_home\bin\catalina.bat 搜索到:set _EXECJAVA=start "Tomcat" %_RUNJAVA 阅读全文
posted @ 2019-04-23 18:06 bruce_he 阅读(578) 评论(0) 推荐(0)
转载 从CentOS7默认安装的/home中转移空间到根目录/ - LVM操作简明教程
摘要:转载 https://blog.csdn.net/evandeng2009/article/details/49814097 一、基础概念Cent0S 7默认启用LVM2(Logical Volume Manager),把机器的一块硬盘分为两个区sda1和sda2,其中分区sda1作为系统盘/boo 阅读全文
posted @ 2019-04-22 17:15 bruce_he 阅读(362) 评论(0) 推荐(0)
(转载)Tomcat 7通过设置不同的端口部署两个项目
摘要:原文地址: https://www.jb51.net/article/95141.htm 1、修改../tomcat/conf/server.xml,原有代码如下: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 <Service name="Catal 阅读全文
posted @ 2018-06-26 18:44 bruce_he 阅读(265) 评论(0) 推荐(0)
Tomcat 7通过设置不同的端口部署两个项目(实际项目)
摘要:实现要求: 同一个Tomcat 下,通过两个端口,部署两个项目 1. 复制一份项目,将 webapps 复制一份到 webapps1 2. \conf 下,新建目录 Catalina1\localhost 3. 修改 \conf\server.xml 4. 修改 webapps 及 webapps1 阅读全文
posted @ 2018-06-26 18:43 bruce_he 阅读(1317) 评论(0) 推荐(0)
VMware10下CentOS7的详细安装图解
摘要:原文地址:http://blog.csdn.net/baigoocn/article/details/38293895 VMWare 10 下载地址:https://download3.vmware.com/software/wkst/file/VMware-workstation-full-10. 阅读全文
posted @ 2018-02-26 10:49 bruce_he 阅读(5002) 评论(0) 推荐(0)