HomeserverDeploy a website running .NET Core 3.1 and MySQL 5.7 on Ubuntu 16.04/18.04/20.04/21.04.
Deploy a website running .NET Core 3.1 and MySQL 5.7 on Ubuntu 16.04/18.04/20.04/21.04.

This tutorial is for deployment.

Little Rabbit 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 key 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 and run the environment

  1. Install 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. Installation 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 if the installation was successful.

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

Upload website files

Upload the website to a folder (e.g.:root directory\wwwroot\dotnet\

Install nginx server, MySQL 5.7, and the supervisor daemon.

  1. Install nginx server, MySQL 5.7, and the supervisor daemon (install supervisor from the BT Panel store).
  2. Add a website and configure nginx to act as a proxy. http://localhost:5000
  3. Open Supervisor and add the startup command. dotnet /wwwroot/dotnet/Web.dll,Table of contents:/wwwroot/dotnet/

Installation complete.

Little Flying Rabbit Mall Introduction

Scan the QR code with your mobile phone:
Computer demonstration:/demo/mall/
Username: admin Password: 123456
WIN环境:Windows Server 2012、Windows Server 2016、Windows Server 2019
Linux environments: Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.04, CentOS 7, CentOS 8, Debian 9, Debian 10, Fedora, openSUSE 15, RHEL 7, SLES 12, SLES 15, Alpine
Program: ASP.NET Core 3.1 + MySQL 5.7

Screenshot from mobile device

Software Applications: Front-end template download; development and design; SEO optimization; offline web browsing. Note: This software is not a hacking program and cannot download backend data!
Disclaimer: This service is for personal study, research, or enjoyment purposes only, and is for non-commercial, non-profit use. Users must comply with copyright laws and related regulations and must not infringe upon the legitimate rights and interests of this website and related rights holders. Any risks arising from the use of this tool are the sole responsibility of the user and are not the responsibility of the software itself.
Copyright © 2019-2026 Xiaofeitu Software. All Rights Reserved. Guangdong ICP Registration No. 19111427-2
Tutorial User Manual Website Special