摘要: 删除从左至右删除第一个匹配的字符串 ${var/str} 删除全部匹配的str ${var//str} 替换从左至右替换第一个匹配的str1 ${var/str1/str2} 替换全部str1为str2 ${var//str1/str2} 阅读全文
posted @ 2020-10-13 17:36 ascertain 阅读(111) 评论(0) 推荐(0)
摘要: 网站已接入Web应用防火墙进行防护后,您可以设置源站服务器的访问控制策略,只放行Web应用防火墙回源IP段的入方向流量,防止黑客获取您的源站IP后绕过Web应用防火墙直接攻击源站。本文介绍了源站服务器部署在云服务器ECS、负载均衡SLB时,如何设置对应的安全组规则和白名单策略。 前提条件 源站服务器 阅读全文
posted @ 2020-10-13 16:23 ascertain 阅读(583) 评论(0) 推荐(0)
摘要: command > output.txt The standard output stream will be redirected to the file only, it will not be visible in the terminal. If the file already exist 阅读全文
posted @ 2020-10-13 14:14 ascertain 阅读(234) 评论(0) 推荐(0)
摘要: 一、拓扑说明 本场景连接拓扑如下图所示,云端两个VPC。其中一个VPC购买VPN网关,另一个VPC购买ECS、 EIP并安装IPsec软件客户端,两个VPC间建立VPN连接。 VPC1的VPN网关IP:11.11.11.11,本地子网192.168.200.0/24; VPC2的EIP为22.22. 阅读全文
posted @ 2020-10-13 10:08 ascertain 阅读(1) 评论(0) 推荐(0)