已经有数据库,做主从复制 服务器 备注 数据库 192.168.137.6 Master 有2个数据库,不同步mysql数据库 192.168.137.3 Slave 没有数据库 Master操作 [mysqld] #############better########### log-bin = / ...
分类:
数据库 时间:
2021-04-27 14:50:54
阅读次数:
0
环境说明: node1: 192.168.44.128 服务端 (已经装好zabbix_agentd和zabbix_server) node2: 192.168.44.129 客户端 (已经装好zabbix_agentd) //配置本地邮箱[root@node1 ~]# systemctl stop ...
分类:
其他好文 时间:
2021-04-27 14:45:06
阅读次数:
0
Master配置 global_defs { notification_email { root@localhost } notification_email_from keeplived@localhost smtp_server 127.0.0.1 smtp_connect_timeout 30 ...
分类:
其他好文 时间:
2021-04-27 14:42:00
阅读次数:
0
基于Claim的验证 当请求到达服务端后,线程中会有身份信息,这个身份信息类一般都是实现了IPrincipal接口,并可以有多种实现,比如基于Claim的身份验证,那么就是ClaimsPrincipal类 可以从线程信息中获取当前的身份信息:IPrincipal currentPrincipal = ...
分类:
Web程序 时间:
2021-04-27 14:31:04
阅读次数:
0
1、说明:创建数据库 CREATE DATABASE database - name 2、说明:删除数据库 drop database dbname 3、说明:备份sql server 创建 备份数据的 device USE master EXEC sp_addumpdevice 'disk' , ...
分类:
数据库 时间:
2021-04-27 14:15:48
阅读次数:
0
SQL:structure query language select:查询,从表中查询符合条件的数据 select 列 顺序,格式 from 表 where 条件 group by 列 having order by 列 查询表中所有的列,用* select * from emp 查询表中具体的列 ...
分类:
数据库 时间:
2021-04-27 14:15:06
阅读次数:
0
由于某些原因,直接下载Fabric CA有诸多不便。 可以通过如下两种方式下载: git clone git://github.com/hyperledger/fabric-ca.git ,然后对clone下来的源码进行编译:make fabric-ca-server 和 make fabric-c ...
分类:
其他好文 时间:
2021-04-26 14:11:52
阅读次数:
0
1,下载nginx 2,解压后打开conf/nginx.conf 修改配置 server { listen 8841;#监听端口 server_name localhost;#代理服务地址 location / { #默认访问 root html; index index.html index.ph ...
分类:
其他好文 时间:
2021-04-26 13:57:20
阅读次数:
0
人写的SQL: 机读的顺序:解析器 即先读from,select从第一位变成第7位。 注意:所有条件(where或having后面的条件)都不能使用别名来判断,因为查询的时候是分先后顺序的,因为where和having条件在select之前执行。 不能写成下面这样的 ...
分类:
数据库 时间:
2021-04-26 13:54:55
阅读次数:
0
JSP介绍 JSP全称java server pages和servlets一样都是sun公司定义的一种用于开发动态web资源的技术。 JSP这门技术的最大的特点在于,写jsp就像在写html,但它相比html而言,html只能为用户提供静态数据,而Jsp技术允许在页面中嵌套java代码,为用户提供动 ...
分类:
Web程序 时间:
2021-04-26 13:40:36
阅读次数:
0