mysql8开启远程访问(适用于docker/k8s) MySQL
0x01 开启mysql远程访问
如果存在 Host='%' 的记录 → 允许所有IP远程访问
如果只有 Host='具体IP' → 仅允许特定IP访问
如果无结果 → 禁止远程访问
mysql> SELECT User, Host FROM mysql.user WHERE Host != 'localhost';
+------+------+
|...
VMware VMX格式转换成OVF模版 VMware
VMware Workstation 7.0以上版本中有自带一个OVFTool.exe的工具
在VM安装路径下的\VMware\VMware OVF Tool\ovftool.exe
cmd运行以下命令即可转换成ovf
C:\Program Files\VMware\VMware OVF Tool\ovftool.exe "原文件路径\xxx.vmx...
华为交换机 nat配置 Huawei
出口nat
acl 2000
rule permit source 10.1.0.0 0.0.255.255
int g 2/0/0
nat outbound 2000
端口映射
当前接口地址 映射到本地
nat server protocol tcp global current-interface 80 inside 10.1.200.10 80
华为交换机ospf配置 Huawei
ospf 1 router-id 1.1.1.1
area 0
network 10.1.200.0 0.0.0.255
network 10.1.10.0 0.0.0.255
network 10.1.20.0 0.0.0.255
network 10.1.30.0 0.0.0.255
network 10.1.40.0 0.0.0.255
network...
华为telnet配置 Huawei
使能telnet
telnet server enable
新版需要配置全局通过
telnet server-source all-interface
aaa
local-user admin privilege level 15 password cipher 123456
local-user admin service-type telnet
user...
华为交换机DHCP配置 Huawei
dhcp enable
ip pool v10
network 10.1.10.0 mask 24
gateway-list 10.1.10.1
dns-list 114.114.114.114 8.8.8.8
int Vlanif 10
dhcp select global
CentOS7 ELK搭建 Linux
0x01 ELK简介
ELK是三个开源软件的缩写,分别表示:Elasticsearch , Logstash, Kibana , 它们都是开源软件。新增了一个FileBeat,它是一个轻量级的日志收集处理工具(Agent),Filebeat占用资源少,适合于在各个服务器上搜集日志后传输给Logstash,官方也推荐此工具。
官方手册
https://www....
Win11系统默认右键显示更多选项(还原 Win10右键菜单样式) Windows
If you want to remove the “Show More Options” entry from Windows 11 Context Menu and restore classic Right Click menus in Windows 11 you can use following registry entries.
Restore...