02 2021 档案
摘要:.net Core版本配置 在Startup.cs文件中配置全局变量 public readonly string any = "any"; 在【ConfigureServices】方法中设置,注意位置,需要在AddMvc之后 services.AddCors(m => m.AddPolicy(an
阅读全文
摘要:官网:https://nlog-project.org 配置文件:https://raw.githubusercontent.com/NLog/NLog/dev/src/NuGet/NLog.Config/content/NLog.config framework环境下 1、安装 2、将配置文件下载
阅读全文
摘要:官方地址:https://apiumbrella.io 一、 Linux系统安装限制: CentOS / RedHat / Oracle / Scientific Linux 系统版本限制:6或7(本文安装环境是CentOS 7) 一、 安装: 1. 发起网络请求,下载软件安装配置文件并将其写入指定
阅读全文
摘要:1、文件操作: 打开:vim 文件名 预览:cat 文件名 下载:wget(路径中把https改成http) 解压:tar -xvf 压缩包 -C 目标文件夹 移动:mv 对象文件 目标路径 复制:cp 对象文件 目标路径 编辑:i开始编辑,ESC退出编辑,: wq保存并退出,: q!不保存退出,s
阅读全文
摘要:错误1:Command 'ifconfig' not found, but can be installed with:apt install net-tools sudo apt install net-tools 错误2:Command 'firewall-cmd' not found, but
阅读全文