首頁服務器将網站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配置 以下部分,上面部分跳過)

網站下載商城介紹

手機掃碼:
電腦演示:/demo/mall/
後台演示:/demo/mall/login.html
用戶名: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
教程資訊 用戶手冊 網站專題