06 2020 档案

摘要:#OSPF特征 收敛速度快,适应规模较大的网络,特别是企业网络。 支持不连续子网、VLSM和CIDR以及手工路由聚合。 采用组播方式或单播方式发送报文,支持等价负载均衡。 支持区域划分, 构成结构化的网络,提供路由分级管理,从而使得SPF的计算频率更低,链路状态数据库和路由表更小,链路状态更新的开销 阅读全文
posted @ 2020-06-30 17:32 kylingx 阅读(766) 评论(0) 推荐(0)
摘要:华为交换机 在交换机端口上打开端口安全功能,将 MAC 地址绑定到相对应接口中,并在 vlan1 上有效。 [SW1]interface Eth0/0/1 [SW1-Ethernet0/0/1]port-security enable [SW1-Ethernet0/0/1]port-security 阅读全文
posted @ 2020-06-30 16:55 kylingx 阅读(2211) 评论(0) 推荐(0)
摘要:1.编写脚本 vi backup.py ##导入paramiko、time、datetime等模块 #!/usr/bin/python import paramiko import time from datetime import datetime ##设置SSH用户名和密码,需要注意这里的密码是 阅读全文
posted @ 2020-06-30 16:52 kylingx 阅读(2366) 评论(0) 推荐(0)
摘要:1.python get-pip.py //安装pip pip install paramiko //通过pip安装python第三方模块paramiko 2.py脚本修改交换机密码 vi changepassword.py ##导入paramiko、time、getpass模块 #!/usr/bi 阅读全文
posted @ 2020-06-30 16:50 kylingx 阅读(1320) 评论(0) 推荐(0)
摘要:confluence安装 1.安装数据库 CREATE DATABASE confluence CHARACTER SET utf8mb4 COLLATE utf8mb4_bin; GRANT ALL PRIVILEGES ON confluence.* TO 'confluence'@'127.0 阅读全文
posted @ 2020-06-29 11:34 kylingx 阅读(248) 评论(0) 推荐(0)
摘要:postman了解get post post-body-raw-json-检查json格式-send #参考链接 https://www.cnblogs.com/PeterZhang1520389703/p/13205666.html 阅读全文
posted @ 2020-06-29 09:05 kylingx 阅读(120) 评论(0) 推荐(0)
摘要:#配置Mariadb日志 日志有6种,分别是查询日志(general_log),慢查询日志(log_slow_queries),错误日志(log_error,log_warnings),二进制日志(binlog),中继日志(relay_log)和事务日志(innodb_log) #查询日志 日志存储 阅读全文
posted @ 2020-06-29 08:38 kylingx 阅读(645) 评论(0) 推荐(0)
摘要:灾备行业白皮书 业务连续性管理 灾备,被誉为企业信息安全的最后一道防线,是新时代产业信息化运营的保障体系之一。 数据安全、业务连续和用户隐私,是信息化环境下各类用户最重要的安全原则。 灾备的范畴从传统的数据和系统备份、恢复,业务连续性规划、灾难恢复规划、灾备演练、灾备从业资质认证、人才培养、法律法规 阅读全文
posted @ 2020-06-28 17:27 kylingx 阅读(304) 评论(0) 推荐(0)
摘要:CSS:Cascading Style Sheets级联样式单/层叠样式表单 样式表现语言、对HTML语言的补充,用于网页样式的定义、精确控制页面元素 #CSS引入:内联样式 内部样式 引入外部样式 导入外部样式 style link-rel、href @import '' #CSS语法 selec 阅读全文
posted @ 2020-06-26 23:18 kylingx 阅读(120) 评论(0) 推荐(0)
摘要:WEB开发标准 结构标准HTML、表现标准CSS、行为标准JavaScript xhtml是w3c发布的html的增强标准,语法更严格、纯净 #结构标签 div换行 span不换行 标题h1-h6 #链接标签<a> helf链接地址 target _self当前窗口打开 _blank新窗口打开 <b 阅读全文
posted @ 2020-06-26 14:21 kylingx 阅读(100) 评论(0) 推荐(0)
摘要:查看当前编译 nginx -V 增加 --with-http_stub_status_module 监控nginx状态 进入我们之前的解压包路径 ./configure --prefix=/data/nginx --with-stream --with-http_stub_status_module 阅读全文
posted @ 2020-06-24 11:16 kylingx 阅读(161) 评论(0) 推荐(0)
摘要:#常用命令 nginx -s stop 快速关闭Nginx,可能不保存相关信息,并迅速终止web服务。 nginx -s quit 平稳关闭Nginx,保存相关信息,有安排的结束web服务。 nginx -s reload 因改变了Nginx相关配置,需要重新加载配置而重载。 nginx -s re 阅读全文
posted @ 2020-06-23 11:10 kylingx 阅读(242) 评论(0) 推荐(1)
摘要:将PFX格式证书转化成JKS格式 keytool -importkeystore -srckeystore test.com.pfx -destkeystore test.com.jks -srcstoretype PKCS12 -deststoretype JKS tomcat安装ssl #参考链 阅读全文
posted @ 2020-06-23 10:22 kylingx 阅读(121) 评论(0) 推荐(0)
摘要:crontab -e 0 8 * * * docker exec mysql_container mysqldump -uroot -proot_password database_name > /var/backups/mysql/$(date +%Y%m%d_%H%M%S).sql mysql_ 阅读全文
posted @ 2020-06-22 20:12 kylingx 阅读(431) 评论(0) 推荐(0)
摘要:查询ORACLE数据库中某表的所有列名并一行输出 select wm_concat(column_name) from user_tab_columns where table_name='HRMRESOURCEMANAGER'; 查表 select * from 'HRMRESOURCEMANAG 阅读全文
posted @ 2020-06-22 15:08 kylingx 阅读(191) 评论(0) 推荐(0)
摘要:nginx支持直接发送日志至syslog 参考 https://nginx.bootcss.com/docs/syslog.html 阅读全文
posted @ 2020-06-21 15:53 kylingx 阅读(261) 评论(0) 推荐(0)
摘要:参考链接 https://github.com/grafana/loki docker部署参考链接 https://github.com/grafana/loki/blob/v1.5.0/docs/installation/docker.md install promtail node以及sidec 阅读全文
posted @ 2020-06-21 15:46 kylingx 阅读(188) 评论(0) 推荐(0)
摘要:1.更新现有idea版本,查看版本号 2.进入插件中心,搜索chinese,根据版本选择下载 3.下载完成之后可以直接拖动文件到打开的idea中,也可以使用使用File > Settings > Plugins > 安装本地插件包,重启,然后就可以使用了 插件中心地址 https://plugins 阅读全文
posted @ 2020-06-13 16:59 kylingx 阅读(6726) 评论(0) 推荐(0)
摘要:nginx是通过alias设置虚拟目录,在nginx的配置中,alias目录和root目录是有区别的: 1)alias指定的目录是准确的,即location匹配访问的path目录下的文件直接是在alias目录下查找的; 2)root指定的目录是location匹配访问的path目录的上一级目录,这个 阅读全文
posted @ 2020-06-09 11:17 kylingx 阅读(1114) 评论(0) 推荐(0)
摘要:Windows版本因为文件访问句柄数被限制为1024了,当访问量大时就会无法响应 error_log maximum number of descriptors supported by select() is 1024 使用专门的windows版本的nginx,已修改了文件句柄数据的限制。 ngi 阅读全文
posted @ 2020-06-08 17:22 kylingx 阅读(1422) 评论(0) 推荐(0)
摘要:show global status like 'Max_used_connections'; #已经使用的连接数 show variables like 'max_connections'; #mysql的最大连接数 set global max_connections=500; #修改最大连接数 阅读全文
posted @ 2020-06-08 13:13 kylingx 阅读(145) 评论(0) 推荐(0)
摘要:1.基本概念 https://www.cnblogs.com/boboooo/p/13038950.html 2.环境部署-集群 https://www.cnblogs.com/boboooo/p/13050116.html 单机部署 rocketmq部署 1.安装java环境 1.8 2.安装na 阅读全文
posted @ 2020-06-05 16:44 kylingx 阅读(116) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/xiaoliangup/p/9175932.html https://mp.weixin.qq.com/s/wzEbWNN8BBLdP3mFW9ieNw 阅读全文
posted @ 2020-06-05 14:15 kylingx 阅读(1019) 评论(0) 推荐(0)
摘要:1.解压war包 jar –xvf test.war 说明:直接解压到当前文件夹,如果需要解压到指定的文件夹下,需要将test.war放到指定文件夹再解压 2.压缩war包 把当前目录下的所有文件打包为testv1.war jar –cvfM0 testv1.war ./ -c 创建war包 -v 阅读全文
posted @ 2020-06-05 09:58 kylingx 阅读(4305) 评论(0) 推荐(0)
摘要:编辑网站地址绑定,IP地址设置为全部未分配 ![](https://img2020.cnblogs.com/blog/1423297/202006/1423297-20200603080339224-1842689715.png) 阅读全文
posted @ 2020-06-03 08:04 kylingx 阅读(1995) 评论(0) 推荐(0)
摘要:参考链接 https://docs.microsoft.com/zh-cn/windows/security/threat-protection/intelligence/safety-scanner-download 安全扫描程序仅在手动触发时进行扫描,可在下载 10 天后使用。 建议在每次扫描前 阅读全文
posted @ 2020-06-01 19:49 kylingx 阅读(316) 评论(0) 推荐(0)