Linux Crontab 计划任务 Linux

0x01 配置文件路径 系统配置文件路径 /etc/crontab 需要在五个后面加上用户,格式:`/1 root ls />>/opt/crontab-e 2>&1` 系统用户配置文件路径 /var/spool/cron root:/var/spool/cron/root user1:/var/spool/cron/use...
myluzh 发布于 

Windows Server 安装 OpenSSH Server Windows

0x01 PowerShell自动安装 1、安装软件 # Install the OpenSSH Client Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0 # Install the OpenSSH Server Add-WindowsCapability -Online -N...
myluzh 发布于 

rpm 包安装过程中依赖问题 libc.so.6 is needed by xxx Linux

把缺少的东西都安装上 libc.so.6,该库对应的软件包名称为glibc 查找该软件包 yum list glibc* 安装需要的软件包(所有过程中都任何选择都选Y) yum install glibc.i686 查找下一个软件包 yum list libstdc++* 安装两个软件包 yum install libstdc++.x86_64 yum in...
myluzh 发布于 

Linux设置开机自启动命令 Linux

方法一:修改 /etc/rc.d/rc.local 文件 /etc/rc.d/rc.local 文件会在 Linux 系统各项服务都启动完毕之后再被运行。所以你想要自己的脚本在开机后被运行的话,可以将自己脚本路径加到该文件里。 但是,首先需要确认你有运行这个文件的权限。 $ chmod +x /etc/rc.d/rc.local 为了演示,我们创建了一个脚本...
myluzh 发布于 

cmd命令行配置windows防火墙 Windows

0x01 常用命令 查看当前防火墙状态:netsh advfirewall show allprofiles 关闭防火墙:netsh advfirewall set allprofiles state off 开启防火墙:netsh advfirewall set allprofiles state on 恢复初始防火墙设置:netsh advfirewal...
myluzh 发布于 

CentOS7 ELK搭建 Linux

0x01 ELK简介 ELK是三个开源软件的缩写,分别表示:Elasticsearch , Logstash, Kibana , 它们都是开源软件。新增了一个FileBeat,它是一个轻量级的日志收集处理工具(Agent),Filebeat占用资源少,适合于在各个服务器上搜集日志后传输给Logstash,官方也推荐此工具。 官方手册 https://www....
myluzh 发布于 

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...
myluzh 发布于 

Windows开机自动关闭代理 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\Micr...
myluzh 发布于 

Windows挂载WebDAV Windows

在WIN7、WIN10操作系统用WebDAV映射网络驱动器需要的操作 如果WebDAV不是https的,win7默认是添加不上的,需要修改注册表使得WIN7同时支持http和https,默认只支持https,然后重启服务 某一服务器,配置好了WebDAV。用苹果电脑作客户端可以成功添加网络盘,而WIN7却不行。 后查资料,根据资料操作解决了这一问题。 资料原...
myluzh 发布于 

CentOS 7.9 搭建 AdGuard Home 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命令...
myluzh 发布于