front pageserverDeploy website net core3.1+mysql5.7 to Ubuntu16.04/18.04/20.04/21.04
Deploy website net core3.1+mysql5.7 to Ubuntu16.04/18.04/20.04/21.04

This tutorial is used to deploy

Website Download Mall - H5 Version

Deployment Environment

Deploy the website to Ubuntu16.04Ubuntu18.04Ubuntu20.04Ubuntu21.04

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 && sudo bash install.sh

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

  • Ubuntu 16.04 installation commands

    wget https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb rm packages-microsoft-prod.deb
  • Ubuntu 18.04 installation commands

    wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb rm packages-microsoft-prod.deb
  • Ubuntu 20.04 installation commands

    wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb rm packages-microsoft-prod.deb
  • Ubuntu 21.04 installation commands

    wget https://packages.microsoft.com/config/ubuntu/21.04/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