2022-3-27 myluzh
Huawei
#使能telnet
[HX-SW1]telnet server enable
#新版需要配置全局通过
[HX-SW1]telnet server-source all-interface
[HX-SW1]aaa
[HX-SW1-aaa]local-user admin privilege level 15 password cipher 123456
[HX-SW1-aaa]local-user admin service-type telnet
[HX-SW1]user-interface vty 0 4
[HX-SW1]protocol inbound telnet
[HX-SW1-ui-vty0-4]authentication-mode aaa
阅读全文>>
标签: 华为 telnet 交换机
评论(0)
(486)
2022-3-26 myluzh
Huawei
[HX-SW1]dhcp enable
[HX-SW1]ip pool v10
[HX-SW1-ip-pool-v10]network 10.1.10.0 mask 24
[HX-SW1-ip-pool-v10]gateway-list 10.1.10.1
[HX-SW1-ip-pool-v10]dns-list 114.114.114.114 8.8.8.8
[HX-SW1]int Vlanif 10
[HX-SW1-Vlanif10]dhcp select global
阅读全文>>
标签: 华为 交换机 dhcp
评论(0)
(414)
2022-3-21 myluzh
Linux
0x01 ELK简介
ELK是三个开源软件的缩写,分别表示:Elasticsearch , Logstash, Kibana , 它们都是开源软件。新增了一个FileBeat,它是一个轻量级的日志收集处理工具(Agent),Filebeat占用资源少,适合于在各个服务器上搜集日志后传输给Logstash,官方也推荐此工具。
官方手册
https://www.elastic.co/cn/what-is/elk-stack
https://www.elastic.co/guide/en/elasticsearch/reference/6.0/getting-started.html
1x01 准备工作
配置好yum源
wget http://mirrors.aliyun.com/repo/Centos-7.repo
wget http://mirrors.aliyun.com/repo/epel-7.repo
关闭防火墙
systemctl stop(disable) firewalld
关闭SELinux
SELINUX=disabled
1x02 安装java环境
查看java版本列表
...
阅读全文>>
标签: centos elk
评论(0)
(546)
2022-3-14 myluzh
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 full right click context menu in Windows 11 via Registry
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]
@=””
Get the default Windows 11 Context Menu back via Registry
Windows Registry Editor Version 5.00
[-HKEY...
阅读全文>>
标签: win11右键
评论(0)
(958)
2022-2-27 myluzh
Windows
保存为bat放在启动目录即可
if "%1"=="h" goto begin
start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit
:begin
#关闭代理
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f >nul 2>nul
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /d "" /f >nul 2>nul
#开启代理
#reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD ...
阅读全文>>
标签: windows 关闭代理
评论(0)
(835)