2022年3月23日

|NO.Z.00005|——————————|^^ 构建 ^^|——|Nginx&Nginx.V1.16&企业级LNMP&Yum.V1|

摘要: 一、打造企业级的LNMP WEB架构实战: ### 打造企业级的LNMP WEB架构实战: ~~~ 打造企业级的LNMP WEB架构实战 ~~~ AWK、Sed、Grep分析nginx日志 ~~~ SHELL变成脚本切割Nginx日期; ### 打造企业级的LNMP WEB架构实战: ~~~ 当ma 阅读全文

posted @ 2022-03-23 16:34 yanqi_vip 阅读(32) 评论(0) 推荐(0)

|NO.Z.00004|——————————|^^ 构建 ^^|——|Nginx&Nginx.V1.16&部署&降级&升级.V3|

摘要: 一、Nginx WEB虚拟主机企业实战: ### Nginx WEB虚拟主机企业实战: ### 在企业生产环境中, ~~~ 一台nginx服务器通常不仅仅只发布一个网站,而是基于单台nginx服务器, ~~~ 发布+部署多套网站,可以最大化的利用Nginx WEB服务器操作系统资源,避免资源的浪费。 阅读全文

posted @ 2022-03-23 16:25 yanqi_vip 阅读(19) 评论(0) 推荐(0)

|NO.Z.00002|——————————|^^ 构建 ^^|——|Nginx&Nginx.V1.16&部署&降级&升级.V1|

摘要: 一、从0构建Nginx WEB平台 ### 从0构建Nginx WEB平台 ~~~ nginx是一款开源的,免费的WEB服务器软件, ~~~ 2019年3月12日被F5硬件负载均衡厂家以6.7亿美金收购, ~~~ nginx主要使用于发布网站代码(开发人员编写的)提供网页信息服务的, ~~~ 用户通 阅读全文

posted @ 2022-03-23 16:24 yanqi_vip 阅读(23) 评论(0) 推荐(0)

|NO.Z.00003|——————————|^^ 构建 ^^|——|Nginx&Nginx.V1.16&部署&降级&升级.V2|

摘要: 一、Nginx降级实战:把nginx的版本从1.16.0降级为1.15.0(版本跨度太大可能编译不成功) ### Nginx降级实战:把nginx的版本从1.16.0降级为1.15.0(版本跨度太大可能编译不成功) ### 查看服务的版本 [root@cdeba90ec46e ~]# /usr/lo 阅读全文

posted @ 2022-03-23 16:24 yanqi_vip 阅读(24) 评论(0) 推荐(0)

|NO.Z.00001|——————————|^^ 构建 ^^|——|Nginx&Nginx常见报错&解决方案|

摘要: 报错处理一: ### 报错现象: [root@cdeba90ec46e ~]# ./configure --prefix=/usr/local/nginx --user=www --group=www --with-http_stub_status_module bash: ./configure: 阅读全文

posted @ 2022-03-23 16:23 yanqi_vip 阅读(74) 评论(0) 推荐(0)

|NO.Z.00000|——————————|WebNginxIng|—————————————————————————————————————

摘要: NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of 阅读全文

posted @ 2022-03-23 16:13 yanqi_vip 阅读(172) 评论(0) 推荐(0)

|NO.Z.10000|——————————|MonitorIng|——————————————————————————————————————

摘要: NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of 阅读全文

posted @ 2022-03-23 15:48 yanqi_vip 阅读(6) 评论(0) 推荐(0)

|NO.Z.00023|——————————|MonitorIng|——|Zabbix&管理主机&用户认证&权限管理.V9|——|V002|

摘要: 一、主机和主机组 ### 主机和主机组: ~~~ 绿色——>已启用的主机 ~~~ 红色——>禁用的主机 ~~~ 灰色——>模板 ~~~ Templates/Applications//Templates/模板下面的一个词组Applications ### 创建主机群组: ### 在Linux ser 阅读全文

posted @ 2022-03-23 15:47 yanqi_vip 阅读(69) 评论(0) 推荐(0)

|NO.Z.00021|——————————|MonitorIng|——|Zabbix&简单检查.V7|

摘要: 一、简单检查 ### 简单检查: ~~~ 使用ICMP协议或者TCP协议进行检查某个服务或者设备的存活。 ~~~ 关闭zabbix-agent.service模拟测试, 二、SMTP检查: ### 安装postfix 检查SMTP服务。 [root@localhost ~]# vim /etc/po 阅读全文

posted @ 2022-03-23 15:46 yanqi_vip 阅读(19) 评论(0) 推荐(0)

|NO.Z.00022|——————————|MonitorIng|——|Zabbix&监控SNMP设备&net-snmp轮询.V8|——|V001|

摘要: 一、SNMP概述: ### SNMP概述: ~~~ 简单的网络管理协议(SNMP-Simple Network Management Protocol) ~~~ 是一个与网络设备交互的简单方法。该规范是有IETF在1990 年五月发布的RFC 1157中定义的。 ~~~ 目前有SNMPv1、SNMP 阅读全文

posted @ 2022-03-23 15:46 yanqi_vip 阅读(50) 评论(0) 推荐(0)

|NO.Z.00020|——————————|MonitorIng|——|Zabbix&Zabbix.Agent&主动被动.V6|

摘要: 一、概述: 二、被动模式 1、创建一台主机: 2、为主机添加Items: ### 为主机添加Items: ~~~ net.tcp.service支持以下类型的协议: ~~~ FTP HTTP、HTTPS、IMAP、LDAP、NNTP、POP、SMTP、SSH Telnet、NTP 3、回到ZABBI 阅读全文

posted @ 2022-03-23 15:45 yanqi_vip 阅读(35) 评论(0) 推荐(0)

|NO.Z.00018|——————————|MonitorIng|——|Zabbix&Zabbix.Item&批量复制.V4|

摘要: 一、Items: 1、Configuration ——> Hosts ——> Great Items(图一) 2、Type通过以下方式探测数据: 二、key键值的定义:定义我们用收集拿些数据信息 ### Host interface: ~~~ 从那台设备获取信息,端口号是多少,创建主机时定义好了。 阅读全文

posted @ 2022-03-23 15:44 yanqi_vip 阅读(33) 评论(0) 推荐(0)

|NO.Z.00019|——————————|MonitorIng|——|Zabbix&Zabbix.中文乱码&解决方案.V5|

摘要: 一、Zabbix中文乱码解决方案:Monitoring ——> Latest data ——> Graph ### 在自己本机电脑找到相关字体: ~~~ C:\Windows\Fonts找到: 宋体 常规 simsun.ttc这个程序文件。 ### 字体文件上传到zabbix-server端的/us 阅读全文

posted @ 2022-03-23 15:44 yanqi_vip 阅读(13) 评论(0) 推荐(0)

|NO.Z.00017|——————————|MonitorIng|——|Zabbix&Zabbix.Demo&用户媒介Email.V3|

摘要: 一、添加服务器监控的一个简单流程: ### 添加服务器监控的一个简单流程: ### 添加服务器: ~~~ 是指你要监控的那台服务器或者设备。 ### 添加item: ~~~ 是指要监控服务器的哪一个制表,如服务器的CPU负载,CPU运行时间,内存大小。 ~~~ 注意:在zabbix-agent.co 阅读全文

posted @ 2022-03-23 15:43 yanqi_vip 阅读(34) 评论(0) 推荐(0)

|NO.Z.00016|——————————|^^ 构建 ^^|——|Zabbix&Zabbix.Agent&Yum.V2|

摘要: 一、安装zabbix-agent: ### 添加zabbix仓库: [root@localhost ~]# rpm -Uvh https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-1.el7.noarch.rpm ~~ 阅读全文

posted @ 2022-03-23 15:42 yanqi_vip 阅读(11) 评论(0) 推荐(0)

|NO.Z.00014|——————————|MonitorIng|——|Zabbix&功能&架构|

摘要: 一、zabbix主要提供了以下的功能: ### zabbix主要提供了以下的功能: ~~~ 一个集中的、易于使用的web管理界面 ~~~ 他支持在几乎所有的Unix类的操作系统运行,比如Linux、AIX、FreeBSD、OpenBSD ~~~ zabbix-agent几乎支持所有的系统,包括Win 阅读全文

posted @ 2022-03-23 15:41 yanqi_vip 阅读(32) 评论(0) 推荐(0)

|NO.Z.00015|——————————|^^ 构建 ^^|——|Zabbix&Zabbix.Server&Yum.V1|

摘要: 一、硬件环境准备: ### 硬件环境准备: ~~~ ZABBIX Server端 : 192.168.1.59 ~~~ ZABBIX Agent端: 192.168.1.60 ~~~ Linux 系统版本:CentOS linux release 7.6.1810(Core) ~~~ zabbix版 阅读全文

posted @ 2022-03-23 15:41 yanqi_vip 阅读(33) 评论(0) 推荐(0)

|NO.Z.00013|——————————|MonitorIng|——|Zabbix&Yum&LAMP&常见的监控软件介绍|

摘要: 一、监控软件产品分类: ### cacti: ~~~ cacti是一套给予PHP、MySQL、SNMP及RRDTool开发的网络流量监测图形分析工具。 ### nagios: ~~~ nagios是一款开源的免费网络监视工具, ~~~ 能有效的监控Windows、Linux、Unix的主机状态。 ~ 阅读全文

posted @ 2022-03-23 15:40 yanqi_vip 阅读(23) 评论(0) 推荐(0)

|NO.Z.00011|——————————|^^ 构建 ^^|——|Zabbix&Server邮件告警&Nginx字段监控.V6|

摘要: 一、批量在服务端向client端发布命令: ### 在zabbix服务端批量向client发送命令查看agent的进程: [root@localhost ~]# ansible zabbix -m shell -a " ps -ef |grep zabbix_agent" [root@localho 阅读全文

posted @ 2022-03-23 15:39 yanqi_vip 阅读(35) 评论(0) 推荐(0)

|NO.Z.00012|——————————|MonitorIng|——————————————————————————————————————

摘要: NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of 阅读全文

posted @ 2022-03-23 15:39 yanqi_vip 阅读(8) 评论(0) 推荐(0)

|NO.Z.00010|——————————|^^ 构建 ^^|——|Zabbix&LAMP&Agent&Make.V5|——|docker批量创建100台server|

摘要: 一、主动模式监控一台client:在web平台创建主机 1、配置 ——> 主机 ——> 创建主机(图一) ——> 创建监控项(图二)或者导入模板 ——> 检测到数据。 图一 2、手动创建太麻烦,我们直接使用模板:绑定主机和模板;配置 ——> 主机 ——> 打开主机 ——> 模板 图二 3、配置zab 阅读全文

posted @ 2022-03-23 15:38 yanqi_vip 阅读(31) 评论(0) 推荐(0)

|NO.Z.00008|——————————|^^ 构建 ^^|——|Zabbix监控批量客户端服务器.V3|

摘要: 一、根据zabbix错误解决, ### 根据zabbix错误解决,zabbix监控平台能够正常运行, ### 作为运维人员如何利用好zabbix监控呢?能够使用zabbix去监控企业那些设备,指标? ### 四个层面: ### 硬件层面: ~~~ Zabbix可以监控硬件设备, ~~~ 例如监控服务 阅读全文

posted @ 2022-03-23 15:37 yanqi_vip 阅读(44) 评论(0) 推荐(0)

|NO.Z.00009|——————————|^^ 构建 ^^|——|Zabbix&LAMP&Agent&Make.V4|

摘要: 一、安装客户端:Zabbix Server端和Zabbix Agent执行如下代码: ### Zabbix Server端和Zabbix Agent执行如下代码: ~~~ Zabbix监控平台部署,至少需要安装四个组件, ~~~ 分别是Zabbix_Server、Zabbix_Web、Databas 阅读全文

posted @ 2022-03-23 15:37 yanqi_vip 阅读(36) 评论(0) 推荐(0)

|NO.Z.00007|——————————|^^ 构建 ^^|——|Zabbix&LNMP&Server&Make.V2|

摘要: 一、源码编译安装Zabbix Agent端(本机) ### 下载zabbix版本,各个版本之间安装方法相差不大,可以根据实际情况选择安装版本,本文版本为Zabbix-4.0.25.tar.gz。 ~~~ zabbix源码下载地址(建议从官网下载): ~~~ https://www.zabbix.co 阅读全文

posted @ 2022-03-23 15:36 yanqi_vip 阅读(45) 评论(0) 推荐(0)

|NO.Z.00005|——————————|MonitorIng|——|Zabbix&make常见组件|

摘要: 一、系统概述: ### 学习Linux技术, ~~~ 后期从事Linux运维方面的工作,作为运维人员最主要的工作职责之一: ~~~ 保障企业服务器、门户网站、业务系统、数据库高效、稳定的运行, ~~~ 一旦出现异常或者故障能够第一时间去解决和处理。 ### 作为运维人员是如何第一时间去 ~~~ 获取 阅读全文

posted @ 2022-03-23 15:35 yanqi_vip 阅读(41) 评论(0) 推荐(0)

|NO.Z.00006|——————————|^^ 构建 ^^|——|Zabbix&LNMP&Server&Make.V1|

摘要: 一、Zabbix Server端和Zabbix Agent执行如下代码: ### Zabbix Server端和Zabbix Agent执行如下代码: ~~~ Zabbix监控平台部署,至少需要安装四个组件, ~~~ 分别是Zabbix_Server、Zabbix_Web、Databases、Zab 阅读全文

posted @ 2022-03-23 15:35 yanqi_vip 阅读(32) 评论(0) 推荐(0)

|NO.Z.00004|——————————|MonitorIng|——————————————————————————————————————

摘要: NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of 阅读全文

posted @ 2022-03-23 15:35 yanqi_vip 阅读(11) 评论(0) 推荐(0)

|NO.Z.00003|——————————|^^ 构建 ^^|——|ZABBIX常见故障的处理|

摘要: 报错处理一: ### 报错现象: ~~~ zabbix-server的运行值为NO, ~~~ 则修改zabbix-server.conf中zabbix-server.conf=127.0.0.1 ~~~ 后重启zabbix-server服务即可。 ### 报错分析: ~~~ Zabbix serve 阅读全文

posted @ 2022-03-23 15:34 yanqi_vip 阅读(210) 评论(0) 推荐(0)

|NO.Z.00001|——————————|^^ 构建 ^^|——|Zabbix&LAMP&YUM.V1|

摘要: 一、Zabbix Server端和Zabbix Agent执行如下代码: ### Zabbix Server端和Zabbix Agent执行如下代码: ~~~ Zabbix监控平台部署,至少需要安装四个组件, ~~~ 分别是Zabbix_Server、Zabbix_Web、Databases、Zab 阅读全文

posted @ 2022-03-23 15:33 yanqi_vip 阅读(33) 评论(0) 推荐(0)

|NO.Z.00002|——————————|^^ 构建 ^^|——|Zabbix&LAMP&Make.V2|

摘要: 一、Zabbix Server端和Zabbix Agent执行如下代码: ### Zabbix Server端和Zabbix Agent执行如下代码: ~~~ Zabbix监控平台部署,至少需要安装四个组件, ~~~ 分别是Zabbix_Server、Zabbix_Web、Databases、Zab 阅读全文

posted @ 2022-03-23 15:33 yanqi_vip 阅读(24) 评论(0) 推荐(0)

|NO.Z.00000|——————————|MonitorIng|——————————————————————————————————————

摘要: NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of 阅读全文

posted @ 2022-03-23 15:32 yanqi_vip 阅读(11) 评论(0) 推荐(0)

|NO.Z.10000|——————————|Applications|——————————————————————————————————————

摘要: NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of 阅读全文

posted @ 2022-03-23 15:25 yanqi_vip 阅读(8) 评论(0) 推荐(0)

|NO.Z.00015|——————————|Applications|——|Mysql.V5.7.26&My.cnf|——|待修订|

摘要: 一、Mysql.V5.7.26&My.cnf配置文件 ### my.cnf配置文件说明 [root@localhost ~]# vim my-default.cnf [client] port = 3306 socket = /tmp/mysql.sock [mysqld] ############ 阅读全文

posted @ 2022-03-23 15:24 yanqi_vip 阅读(32) 评论(0) 推荐(0)

|NO.Z.00016|——————————|Applications|——|MySQL重置密码|——|待修订|

摘要: ### 概述: ~~~ 可以重启mysql服务: ~~~ 不可以重启mysql服务: ### 可以重启的情况下: ~~~ 修改my.cnf配置文件,在mysqld启动文件下添加skip-grant-tables选项; ~~~ 表示mysqld server启动之后并不使用权限系统(privilege 阅读全文

posted @ 2022-03-23 15:24 yanqi_vip 阅读(14) 评论(0) 推荐(0)

|NO.Z.00014|——————————|Applications|——|Mysql.V5.7.26部署|——|待修订|

摘要: 一、mysql.v5.7.26版本包下载 ### mysql.v5.7.26版本包下载 ### mysql.v5.7.26官网地址: ~~~ mysql下载地址: ~~~ https://downloads.mysql.com/archives/community/ ### mysql配置目录说明 阅读全文

posted @ 2022-03-23 15:23 yanqi_vip 阅读(14) 评论(0) 推荐(0)

|NO.Z.00013|——————————|^^ 构建 ^^|——|Mysql.V5.7.26部署|——|标准版本|

摘要: 一、centos7.x环境部署mysql.v5.7.36 ### 下载mysql.rpm版本包并安装rpm包 ~~~ # 下载mysql版本包 [root@localhost ~]# wget http://repo.mysql.com/mysql57-community-release-el7-1 阅读全文

posted @ 2022-03-23 15:21 yanqi_vip 阅读(14) 评论(0) 推荐(0)

|NO.Z.00005|——————————|^^ 构建 ^^|——|Mysql&Mariadb&yum部署配置.V1|

摘要: 一、概述: ### 官方网站: ~~~ MySQL官网:https://www.mysql.com/ ~~~ mariadb官网:https://mariadb.com/ ### 官方文档: ~~~ MySQL:https://dev.mysql.com/doc/ ~~~ Mariadb:https 阅读全文

posted @ 2022-03-23 14:58 yanqi_vip 阅读(54) 评论(0) 推荐(0)

2022年3月22日

|NO.Z.00011|——————————|Applications|——|mysql&mariadb&多实例|

摘要: 一、概述关系型数据库常见组件: ### 概述关系型数据库常见组件: ~~~ 数据库:database ~~~ 表:table ~~~ 行:row ~~~ 列:column ~~~ 索引:index ~~~ 视图:view ~~~ 用户:user ~~~ 权限privilege ~~~ 存储过程:pr 阅读全文

posted @ 2022-03-22 19:39 yanqi_vip 阅读(49) 评论(0) 推荐(0)

|NO.Z.00012|——————————|Applications|——————————————————————————————————————

摘要: NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of 阅读全文

posted @ 2022-03-22 19:39 yanqi_vip 阅读(15) 评论(0) 推荐(0)

|NO.Z.00009|——————————|^^ 构建 ^^|——|Mysql&Mariadb&二进制部署配置.V2|

摘要: 附录一: 一、在虚拟机下添加一块空磁盘并创建逻辑卷(用来作为mysql数据库存放生产数据的目录) ### 在虚拟机下添加新磁盘;注册新添加的磁盘: [root@localhost ~]# echo '- - -' > /sys/class/scsi_host/host2/scan [root@loc 阅读全文

posted @ 2022-03-22 19:38 yanqi_vip 阅读(54) 评论(0) 推荐(0)

导航