After a year of researched and tried-and-error, finally implemented .Net Core 3.1 on Ubuntu Server 20.04. DigitalOcean has been choosen to live the project.
- Install OpenSSH Client on Windows 10
- Connect to Server
- Create Private Key and Public Key via [ssh-keygen] and login with SSH
- Add New User into SUDO (Administrator)
- Copy Public Key into Server
- Secure Copy files (scp) To Server
- Secure Copy files (scp) From Server
- Mount File System via SSHFS - Not Yet Available
- Disable ROOT user
- Disable Password Authentication
- Change Port Number Other Than 22
- Allow Specific Users
- Choose Time Zone
- Uncomplicated Firewall (ufw) Secures Ports
- (DotNet) .Net Core Runtime
- Nginx as Reverse Proxy Server
- Apache as Reverse Proxy Server
- 7zip
- Copy (cp) Solution Folder to Web Root Folder on Ubuntu
- Remove/Delete (rm) Folder on Ubuntu
- Change the Ownership (chown) of Solution Folder in Web Root Folder
- Run .Net Core Instance as Service
- MariaDB
- MariaDB (Adding New Admin Account)
- DO (DigitalOcean) Domains and DNS
- Using Certbot to Generate SSL Certificate
- Using Certbot to Generate SSL Certificate (Apahce2)
Shared and suggested ideas on Gist and DigitalOcean.
This gist was migrated from this original blog post https://ff55coding.blogspot.com/2020/04/how-to-deploy-asp-net-core-web-on.html.
- Deploy .Net Core web API to Linux Ubuntu
- Install the .NET SDK or the .NET Runtime on Ubuntu
- Publish to a Linux Production Environment
- Host ASP.NET Core on Linux with Nginx
- Host ASP.NET Core 3.1 on Linux with Nginx
- How To Deploy .Net Core Application On Linux
- How To Deploy an ASP.NET Core Application with MySQL Server Using Nginx on Ubuntu 18.04
- How to Deploying Real World ASP.NET Core 3.x on Ubuntu 18.04 step by step
- 10 Basic Linux Commands That Every Linux Newbies Should Remember
- Failing to copy a folder to /var/www/html/ using cp command
- Getting started with OpenSSH Part 1 - Installing OpenSSH
- How can I uncompress a *.7z file?
- how do you create an ssh key for another user?
- How to change time-zone settings from the command line
- How to check computer's timezone through Terminal?
- How to Install netstat Command in Linux
- How to understand the Ubuntu file system layout?
- Linux chown command
- Linux File System/Structure Explained!
- LinuxFilesystemTreeOverview
- Manually from the Droplet without Password-Based Access
- nginx proxy subdomains to other addresses and ports
- Permission denied inside /var/www/html when creating a website and it's files with the apache2 server
- The Linux Directory Structure, Explained
- Ubuntu Server 18.04 Administration Guide Part 01 - Creating a VPS on Digital Ocean
- Ubuntu Server 18.04 Essentials Part 01 - Introduction
- How to Host Multiple Websites with Apache Virtual Hosts
- .NET Core Support Policy
- c# - AspNetCore set content root path
- Technically you could store the key anywhere. With ssh -i path/to/privatekey you could specify that location, while connecting
All information on this gist is used at your own risk and is not endorsed by any party.