智能运维

  • PowerShell教程 - Web requests(Web请求)

    更新记录转载请注明出处。2022年8月29日 发布。2022年8月29日 从笔记迁移到博客。 Web requests(Web请求) 发起Web请求 A background in web requests is valuable before delving into interfaces that run over …

    智能运维 2022年8月28日
  • PowerShell教程 - WMI操作(Interact With Windows Management Instrumentation)

    更新记录转载请注明出处。2022年8月28日 发布。2022年8月28日 从笔记迁移到博客。 WMI操作(Interact With Windows Management Instrumentation) 说明 Windows Management Instrumentation,WMIWindows包含数万个…

    智能运维 2022年8月28日
  • Asp.Net Core 项目部署Centos中,httpClient 请求Https报证书错误的系列问题

    参考自 https://www.cnblogs.com/leoxjy/p/10201046.html#5095270 Centos报这个问题,Asp.NetCore 3.1 HttpClient 请求 Https 报错的SSL证书异常的问题,请使用以下方法解决。 export DOTNET_SYSTEM_NET_HTTP_USESO…

    智能运维 2022年8月28日
  • archlinux下安装和配置cockpit简单记录

    使用如下命令安装,pa cockpit 端口查找,vim /usr/lib/systemd/system/cockpit.socket install more tools,yay cockpit 234567等。包括Podman管理容器,管理虚拟机,管理软件包更新等。 登录之后可以左侧上方添加…

    智能运维 2022年8月28日
  • centeros 修改yum数据源

      1.修改 vim /etc/yum.repos.d/CentOS-Base.repo 文件 将mirrorlist配置注释掉,并将baseurl修改为阿里云镜像地址 [BaseOS]name=CentOS-$releasever - Base#mirrorlist=http://mirrorlist.centos.org/?release=$re…

    智能运维 2022年8月28日
  • vmware虚拟机使用双网卡(NAT+桥接)

    1.配置虚拟机NAT模式 vmware安装后默认就会用NAT方式和pc主机共享网络,虚拟机是通过pc主机的网卡数据转换进行上网的,只要windows主机有网,虚拟机就会对应有网络。 NAT模式在这里主要目的就是提供给虚拟机进行上…

    智能运维 2022年8月28日
  • Centos7下NFS服务搭建详细介绍

    目录 一、服务端 二、客户端  三、测试服务 一、服务端 1.用YUM源下载NFS相关服务  2.创造共享目录并在NFS相关配置文件写入共享目录   3.使用exportfs使设置立刻生效    配置生效,进入到/etc/init.d目录下,执行exp…

    智能运维 2022年8月28日
  • Linux应急响应学习

    Linux应急响应-系统日志排查-溯源 溯源 找到攻击者。系统日志分析攻击者的ip  攻击者可能留下了一些代码 样本 网上的信息很大程度上是不可信的。 方法: 蜜罐  高交互的蜜罐 溯源: ip 日志分析 (通过日志分析,分…

    智能运维 2022年8月28日
  • net/net core 压缩和解压文件类—完美支持Linux

    /// <summary> /// 文件压缩类 /// </summary> public class ZipHelper { /// <summary> /// 单文件压缩成ZIP /// </summary> /// <param name="fileSource">源文件路径</param&g…

    智能运维 2022年8月28日
  • how to make the windows console work with utf-8 encoded project

    the console of the windows os is not working in the utf-8 encoding, by default. When you force your code be encoded with utf-8, the console will not print what you want.Here is how to configure your …

    智能运维 2022年8月28日