首页服务器将网站net core3.1+mysql5.7部署到windows server 2012/2016/2019服务器
将网站net core3.1+mysql5.7部署到windows server 2012/2016/2019服务器

本教程用以部署

小飞兔商城 - H5版

部署环境

将网站部署到Windows Server 2012Windows Server 2016Windows Server 2019

网站程序

.Net core 3.1 + mysql 5.7

原生安装步骤

安装mysql5.7

使用官方安装包安装:https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.34-win32.zip

第三方软件安装mysql:宝塔、phpStudy等

安装IIS

https://jingyan.baidu.com/article/90895e0ffb5c1764ec6b0bbb.html

安装运行环境

32位系统安装以下3个(下载安装即可)

  1. https://dotnet.microsoft.com/download/dotnet/thank-you/sdk-3.1.413-windows-x86-installer
  2. https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-aspnetcore-3.1.19-windows-x86-installer
  3. https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-aspnetcore-3.1.19-windows-hosting-bundle-installer

64位系统安装以下3个(下载安装即可)

  1. https://dotnet.microsoft.com/download/dotnet/thank-you/sdk-3.1.413-windows-x64-installer
  2. https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-aspnetcore-3.1.19-windows-x64-installer
  3. https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-aspnetcore-3.1.19-windows-hosting-bundle-installer

检测安装是否成功

dotnet --list-sdks
dotnet --list-runtimes

IIS创建网站

  1. 将网站上传到服务器文件夹,如:D:\www\website\,网站文件上传到此目录
  2. 打开 IIS服务器,在网站节点右键 添加网站 ,输入网址名称 如dotnet、目录输入 D:\www\website\
  3. 应用程序池 找到 dotnet 双击,将 .NET CLR版本 改成 无托管代码,确认保存。

以上操作参考:https://jingyan.baidu.com/article/915fc414aedf4a51384b2047.html (Windows Server配置 以下部分,上面部分跳过)

小飞兔商城介绍

手机扫码:
用户名:admin   密码:123456
WIN环境:Windows Server 2012、Windows Server 2016、Windows Server 2019
Linux环境:Ubuntu16.04、Ubuntu18.04、Ubuntu20.04、Ubuntu21.04、CentOS7、CentOS8、Debian9、Debian10、Fedora、openSUSE 15、RHEL 7、SLES12、SLES15、Alpine
程序:asp.net core 3.1 + mysql 5.7

手机端截图

软件应用:前端模板下载;开发设计;SEO优化;离线浏览网页。备注:本软件不是黑客程序,不能下载后台数据!
免责声明:服务用于个人学习、研究或欣赏,以及其他非商业性或非盈利性用途,但同时应遵守著作权法及其他相关法律的规定,不得侵犯本网站及相关权利人的合法权利,通过使用本站工具随之而来的风险与本软件无关。
Copyright © 2019-2024 小飞兔软件 All Rights Reserved 粤ICP备19111427号-2
教程资讯 用户手册 网站专题