Deploy net6.0 + mysql to centos 7
terminal
- Enter the root password and then copy the commands to install.sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
sudo yum install dotnet-sdk-6.0
sudo yum install aspnetcore-runtime-6.0
1 Create a website and click on website
Add a site and create MySQL at the same time, as shown in Figure 2. Click the website in the root directory column of the list and upload the website files.appsettings.json
Set up the database connection. 3 Click Settings to open the site modification pop-up window. Click Direction Agent
, add direction proxy
database
Import the database.Software Store
- Click System Tool
- Install Supervisor Manager
When citing articles, please indicate the source:/topic/net6.0_mysql.html