Úsáidtear an teagasc seo chun imscaradh
Íosluchtaigh láithreán gréasáin ionad H5
Timpeallacht imscartha
Imscaradh an láithreán gréasáin chuigCentOS 7
、CentOS 8
clár láithreán gréasáin
.Net core 3.1 + mysql 5.7
céim
Suiteáil an pagoda
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
Cuir eochair sínithe pacáiste Microsoft leis an liosta eochracha iontaofa agus cuir stór pacáiste Microsoft leis
- Ordú suiteála CentOS 7:
sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
- Ordú suiteála CentOS 8:
Níl gá le suiteáil
Suiteáil an timpeallacht oibriúcháin
Suiteáil SDK
sudo dnf install dotnet-sdk-3.1
Suiteáil am rite
sudo dnf install aspnetcore-runtime-3.1
Seiceáil an bhfuil an tsuiteáil rathúil
dotnet --list-sdks dotnet --list-runtimes
Uaslódáil comhaid láithreán gréasáin
Uaslódáil an suíomh Gréasáin chuig fillteán (m.sh.:fréamh \ wwwroot \ dotnet \
)
Suiteáil freastalaí nginx, mysql5.7, maoirseoir daemon
- Suiteáil freastalaí nginx, mysql5.7, agus maoirseoir deamhan (tá an maoirseoir suiteáilte sa siopa Pagoda)
- Cuir suíomh Gréasáin leis agus socraigh seachfhreastalaí nginx le
http://localhost:5000
- Oscail maoirseoir agus cuir ordú tosaithe leis
dotnet /wwwroot/dotnet/Web.dll
,Clár ábhair:/wwwroot/dotnet/
Tá an suiteáil críochnaithe.
Íoslódáil an cur i láthair ar an siopa ar an láithreán gréasáin
Scan an cód le fón póca:

Ainm úsáideora: admin Pasfhocal: 123456
Win: Windows Server 2012, Windows Server 2016, Windows Server 2019
Timpeallacht Linux: Ubuntu16.04, Ubuntu18.04, Ubuntu20.04, Ubuntu21.04, CentOS7, CentOS8, Debian9, Debian10, Fedora, openSUSE 15, RHEL 7, SLES12, SLES15, Alpach
Clár: croí asp.net 3.1 + mysql 5.7
Scáileán soghluaiste