1.安装环境准备1.1主机环境准备1.1.1.关闭selinuxsed-i‘s/SELINUX=enforcing/SELINUX=disabled/g‘/etc/selinux/configsetenforce01.1.2.部署规划软件安装路径/usr/local/nginx/软件日志路径/usr/local/nginx/logs/软件二进制路径/usr/local/nginx/
分类:
系统相关 时间:
2020-11-12 14:21:16
阅读次数:
19
【转】 springboot整合redis-sentinel支持Cache注解 一、前提 已经存在一个redis-sentinel集群,两个哨兵分别如下: /home/redis-sentinel-cluster/sentinel-1.conf port 26379 dir "/data" sent ...
分类:
编程语言 时间:
2020-11-12 14:17:04
阅读次数:
12
dt.Columns.Add("EffectiveDate", typeof(DateTime)); DateTime? effectivedate=null; if (lastRow["Effective_x0020_Date"] != DBNull.Value) { effectivedate ...
分类:
数据库 时间:
2020-11-12 13:57:50
阅读次数:
12
查找admin集合下前10条数据: db.admin.find().limit(10); 插入数据 > post={table: "activityzones", ... fields: [ ... { ... name: "_id", ... type: "ObjectId", ... hidde ...
分类:
数据库 时间:
2020-11-12 13:54:07
阅读次数:
13
1.查看所有数据库容量大小 select table_schema as 'smartxs' ,sum(table_rows) as '记录数' ,sum(truncate(data_length/1024/1024, 2)) as '数据容量(MB)' ,sum(truncate(index_le ...
分类:
数据库 时间:
2020-11-12 13:50:57
阅读次数:
57
系统服务管理 systemctl 启动服务:systemctl start httpd.service 关闭服务:systemctl stop httpd.service 重启服务(不管是否在运行):systemctl restart httpd.service 重新载入配置(不中断服务):syst ...
分类:
系统相关 时间:
2020-11-12 13:41:09
阅读次数:
58
zabbix监控组件zabbixsever/zabbixproxy/zabbbixagentzabbixsever包括webgui/database/zabbixserverZabbix监控完整流程:Agent安装在被监控的主机上,Agent负责定期收集客户端本地各项数据,并发送到Zabbixserver端,Zabbixserver收到数据,将数据存储到数据库中,用户基于ZabbixWeb可以看到
分类:
其他好文 时间:
2020-11-12 13:40:51
阅读次数:
5
数据结构是指相互之间存在一种或多种特定关系的数据元素的集合。 数据结构就是相互之间有联系的具有某种组织方式的数据集合。 比如说学生数据可以定义为一个多维的数组,只有这样我们再写增加学生时,才能知道具体增加就是增加一个数组元素并未其赋值。 抽象数据类型( ADT,Abstract Data Type) ...
分类:
其他好文 时间:
2020-11-12 13:36:45
阅读次数:
8
>**接上一篇**:[https://developer.huawei.com/consumer/cn/forum/topicview?tid=0202356576775850798&fid=0101303901040230869](https://developer.huawei.com/consumer/cn/forum/topicview?tid=020235657677585
分类:
其他好文 时间:
2020-11-12 13:26:37
阅读次数:
10