Fork me on GitHub

Windows Server 2012R2 部署.Net Core

.Net Core 部署环境搭建

Web部署环境:

Windows Server 2012R2:

  1. 先安装VC更新包,如图安装顺序 装完需重启服务器(服务器版本高于2012 R2 忽略此步骤)
  2.  
  3. 安装vc_redist.x64插件
  4. 安装 aspnetcore-runtime-2.2.1-win-x64 插件
  5. 安装dotnet-hosting-2.2.7-win 插件
  6. 安装Redis-x64-3.2.100 服务

设置密码

在redis安装目录,找到配置文件redis.windows.conf

PS:注意用的是哪个配置文件,配置文件在安装redis服务或者cmd运行redis时有指定,不要搞错文件

打开,在SECURITY下找到requirepass,释放注释,requirepass空格后面加密码

  

IIS调优:

 

posted @ 2025-06-16 10:07  我是来揍你的  阅读(84)  评论(0)    收藏  举报