本安装操作系统为centos7.5。 安装前准备: 1.1 安装依赖包: yum -y install wget net-snmp-devel OpenIPMI-devel httpd openssl-devel java lrzsz fping libcurl-devel perl-DBI pcr ...
分类:
其他好文 时间:
2020-01-26 19:31:07
阅读次数:
519
自动化运维工具shell脚本/Ansible(无客户端)/Saltstack(master-minion) 回顾服务器部署的流程:买云主机->环境部署->软件部署->配置部署->启动服务->测试->加入集群 1.Ansible基本概述ansible是一个配置管理系统configuration man ...
分类:
其他好文 时间:
2020-01-25 00:59:09
阅读次数:
116
一、监控Nginx、httpd、Tomcat、php-fpm、Redis 1、监控Nginx: (1)web02节点安装Nginx (2)开启Nginx状态页面: # cd /etc/nginx # cp nginx.conf{,.bak} # vim nginx.conf,在server配置段中新 ...
分类:
其他好文 时间:
2020-01-20 18:47:44
阅读次数:
144
一.检查系统环境 1.查看系统版本 查看内核版本 2、检查是否安装过apache rpm -qa | grep httpd 或者: apachectl -v 或者: httpd -v 3、检查是否安装过Mysql service mysqld start 如果未被识别则没有安装 如果系统安装过,或者 ...
分类:
其他好文 时间:
2020-01-20 13:10:26
阅读次数:
86
Spark Streaming对实时数据流进行分析处理,源源不断的从数据源接收数据切割成一个个时间间隔进行处理; 流处理与批处理有明显区别,批处理中的数据有明显的边界、数据规模已知;而流处理数据流并没有边界,也未知数据规模; ...
分类:
其他好文 时间:
2020-01-19 22:12:37
阅读次数:
148
1 Kibana的显示配置 https://demo.elastic.co/app/kibana#/dashboard/welcome_dashboard 环境先处理干净 安装nginx和httpd-tools 2 使用压测工具产生日志 [root@node4 ~]# ab -n 100 -c 10 ...
分类:
Web程序 时间:
2020-01-19 15:20:03
阅读次数:
121
C. Nice Garland You have a garland consisting of nn lamps. Each lamp is colored red, green or blue. The color of the ii-th lamp is si ('R', 'G' and 'B ...
分类:
其他好文 时间:
2020-01-18 16:29:37
阅读次数:
90
D. Diverse Garland You have a garland consisting of n lamps. Each lamp is colored red, green or blue. The color of the ii-th lamp is si('R', 'G' and ' ...
分类:
其他好文 时间:
2020-01-18 14:30:27
阅读次数:
92
Table of Contents 1. "ansible 安装 httpd" 2. "建立 httpd 服务器,要求提供两个基于名称的虚拟主机:" ansible 安装 httpd 1. 注意:提前进行完公钥复制 2. 安装 ansible 并进行配置 1. 安装 2. 配置 [sg1] 192. ...
分类:
Web程序 时间:
2020-01-18 10:29:30
阅读次数:
93
LNMP环境搭建
LNMP架构和LAMP架构挺像的,只不过一个用的是Apach,一个用的是Nginx。LNMP就是Linux+Nginx+MySQL+PHP,Nginx和Apache一样都是web服务器。
有一点不同的是在LNMP结构里php会启动一个服务:php-fpm,而LANP中php只是作为... ...
分类:
其他好文 时间:
2020-01-17 19:00:55
阅读次数:
104