Linux Crontab 计划任务Linux

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

Windows Server 安装 OpenSSH ServerWindows

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

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

把缺少的东西都安装上libc.so.6,该库对应的软件包名称为glibc查找该软件包yum list glibc*安装需要的软件包(所有过程中都任何选择都选Y)yum install glibc.i686查找下一个软件包yum list libstdc++*安装两个软件包yum install libstdc++.x86_64yum 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 beginstart mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit:begin#关闭代理reg add "HKCU\Software\Micr...
myluzh 发布于 

Windows挂载WebDAVWindows

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

CentOS 7.9 搭建 AdGuard HomeLinux

0X01 安装 CentOS7.9 Minimal版https://mirrors.aliyun.com/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-Minimal-2009.iso0X02 手动配置CentOS的静态IP地址ipconfig查看当前网卡名称,如果没有ifconfig可以使用ip addr命令...
myluzh 发布于