How To Install and uninstall reinstall NopCommerce(.net 8) on Ubuntu 20.04(vultr)
OS
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
sdk
# dotnet --info
.NET SDK:
Version: 8.0.204
Commit: c338c7548c
Workload version: 8.0.200-manifests.9f663350
Runtime Environment:
OS Name: ubuntu
OS Version: 20.04
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/8.0.204/
.NET workloads installed:
There are no installed workloads to display.
Host:
Version: 8.0.4
Architecture: x64
Commit: 2d7eea2529
.NET SDKs installed:
8.0.204 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.4 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.4 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
git nopcommerce
# git clone https://github.com/nopSolutions/nopCommerce.git
dotnet run
root@vultr:~# cd /root/nopCommerce/src/Presentation/Nop.Web
root@vultr:~/nopCommerce/src/Presentation/Nop.Web# dotnet run
o
output
Writing data to file '/root/nopCommerce/src/Presentation/Nop.Web/App_Data/DataProtectionKeys/key-64f10b65-3150-456a-9d05-b1eee90c5321.xml'.
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: /root/nopCommerce/src/Presentation/Nop.Web