front pageserverDeploy the website net core3.1+mysql5.7 to Debian 9 and Debian 10
Deploy the website net core3.1+mysql5.7 to Debian 9 and Debian 10

This tutorial is used to deploy

Website Download Mall - H5 Version

Deployment Environment

Deploy the website to Debian 9Debian 10

Website Program

.Net core 3.1 + mysql 5.7

step

Install Pagoda

wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh

Add the Microsoft package signing key to the trusted keys list and add the package repository

  • Debian 9 Installation Commands

    wget -O - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/ wget https://packages.microsoft.com/config/debian/9/prod.list sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list sudo chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg sudo chown root:root /etc/apt/sources.list.d/microsoft-prod.list
  • Debian 10 Installation Commands

    wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb rm packages-microsoft-prod.deb

Install the operating environment

  1. Installing the SDK

    sudo apt-get update; \ sudo apt-get install -y apt-transport-https && \ sudo apt-get update && \ sudo apt-get install -y dotnet-sdk-3.1
  2. Installing the runtime

    sudo apt-get update; \ sudo apt-get install -y apt-transport-https && \ sudo apt-get update && \ sudo apt-get install -y aspnetcore-runtime-3.1
  3. Check whether the installation is successful

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

Upload website files

Upload your website to a folder (eg:root directory\wwwroot\dotnet\

Install nginx server, mysql5.7, daemon supervisor

  1. Install nginx server, mysql5.7, daemon supervisor (supervisor is installed in the pagoda store)
  2. Add a website and set nginx proxy to http://localhost:5000
  3. Open supervisor and add the startup command dotnet /wwwroot/dotnet/Web.dll,Table of contents:/wwwroot/dotnet/

The installation is complete.

Website Download Mall Introduction

Scan the QR code with your mobile phone:
Computer demonstration:/demo/mall/
Backstage demonstration:/demo/mall/login.html
Username: admin Password: 123456
WIN环境:Windows Server 2012、Windows Server 2016、Windows Server 2019
Linux environment: Ubuntu16.04, Ubuntu18.04, Ubuntu20.04, Ubuntu21.04, CentOS7, CentOS8, Debian9, Debian10, Fedora, openSUSE 15, RHEL 7, SLES12, SLES15, Alpine
Program: asp.net core 3.1 + mysql 5.7

Mobile screenshot

Software application: front-end template download; development and design; SEO optimization; offline web browsing. Note: This software is not a hacking program and cannot download background data!
Disclaimer: The services are used for personal learning, research or appreciation, as well as other non-commercial or non-profit purposes, but at the same time should comply with the provisions of copyright law and other relevant laws, and must not infringe the legitimate rights of this website and related rights holders. The risks arising from the use of this site's tools have nothing to do with this software.
Copyright © 2019-2024 Rabbit Software All Rights Reserved Guangdong ICP No. 19111427-2
Tutorial Information User Manual Website topics