Myluzh Blog

Strive to become a dream architect.

CentOS7 ELK搭建

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) (366)

Win11系统默认右键显示更多选项(还原 Win10右键菜单样式)

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) (629)

Windows开机自动关闭代理

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) (322)

Windows挂载WebDAV

2022-1-12 myluzh Windows

在WIN7、WIN10操作系统用WebDAV映射网络驱动器需要的操作 如果WebDAV不是https的,win7默认是添加不上的,需要修改注册表使得WIN7同时支持http和https,默认只支持https,然后重启服务 某一服务器,配置好了WebDAV。用苹果电脑作客户端可以成功添加网络盘,而WIN7却不行。 后查资料,根据资料操作解决了这一问题。 资料原文如下: 如果WebDAV不是https的,win7、WIN10默认是添加不上的,需要修改注册表: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters 把BasicAuthLevel 值改成2,即同时支持http和https,默认只支持https,然后重启服务: (WIN + R) net stop webclient net start webclient 最后再次通过点“计算机”-右键-“映射网络驱动器”,就可以添加成功了。

阅读全文>>

标签: webdav

评论(0) (1386)

CentOS 7.9 搭建 AdGuard Home

2021-12-24 myluzh Linux

0X01 安装 CentOS7.9 Minimal版 https://mirrors.aliyun.com/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-Minimal-2009.iso 0X02 手动配置CentOS的静态IP地址 ipconfig查看当前网卡名称,如果没有ifconfig可以使用ip addr命令,我这边为en192, 然后进入/etc/sysconfig/network-scripts目录,vi ifcfg-ens192,配置如下: TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=static DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=no IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=ens192 UUID=8211acc2-51ea-4824-8071-...

阅读全文>>

标签: CentOS7.9 AdGuard Home

评论(0) (688)

CentOS利用VLMCSD部署本地KMS服务器

2021-10-17 myluzh Linux

利用VLMCSD部署本地KMS服务器 项目名称:VLMCSD 项目简介:KMS Emulator in C (Currently runs on Linux, Mac OS, iOS, Windows with or without Cygwin) 项目主页:https://github.com/Wind4/vlmcsd 软件下载:https://github.com/Wind4/vlmcsd/releases 部署本地KMS服务器:# 1.准备一个 Linux 环境 2.下载vlmcsd:wget https://github.com/Wind4/vlmcsd/releases/download/svn1113/binaries.tar.gz 3.解压:tar -zxvf binaries.tar.gz 4.查看Linux物理机的CPU信息:cat /proc/cpuinfo 5.挑选对应CPU版本的程序,一般为Intel:cd binaries/Linux/intel/static/ 6.修改权限:chmod u+x vlmcsd-x64-musl-static 7.运行vlmcsd:./...

阅读全文>>

标签: centos kms vlmcsd

评论(0) (404)