QQximen 发表于 2023-10-17 19:41:01

为傻不支持高版本linux CentOS Stream release 9 版本太老有漏洞

本帖最后由 QQximen 于 2023-10-17 20:30 编辑

etc/system-release:CentOS Stream release 9
dotnet path: /bin/dotnet.
Current installed .NetCore version is:Microsoft.AspNetCore.App 7.0.10
Microsoft.NETCore.App 7.0.10
Forguncy server support Ubuntu 16.04, Ubuntu 18.04, Ubuntu 22.04, Centos 7, RHEL 7, UnionTech OS Server 20, Ubuntu Kylin 20.04, Kylin Linux . If you want to install to other OS ,please contact our technical support .
If you receive an error message similar to Unable to locate package aspnetcore-runtime-6.0ehttps://docs.microsoft.com/en-us ... apt-troubleshooting



https://help.grapecity.com.cn/download/thumbnails/56531462/decoration.png?version=1&modificationDate=1611021609000&api=v22.支持的Linux系统https://help.grapecity.com.cn/download/attachments/56531462/line2.png?version=1&modificationDate=1611021609000&api=v2支持以下几个Linux系统:

[*]Ubuntu 16.04
[*]Ubuntu 18.04
[*]CentOS 7(1804)
[*]RedHat 7.6
[*]中标麒麟




安装方法:https://learn.microsoft.com/en-u ... orted-distributions
                      https://learn.microsoft.com/zh-c ... orted-distributions



CentOS Stream 9 ✔️.NET is included in the AppStream repositories for CentOS Stream 9.
Install the SDK
The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following command:
Bash               
sudo dnf install dotnet-sdk-7.0Install the runtime
The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following command installs the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following command:
Bash               
sudo dnf install aspnetcore-runtime-7.0As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace aspnetcore-runtime-7.0 in the previous command with dotnet-runtime-7.0:
Bash               
sudo dnf install dotnet-runtime-7.0

/etc/centos-release:CentOS Stream release 9
/etc/os-release:NAME="CentOS Stream"
/etc/os-release:PRETTY_NAME="CentOS Stream 9"
/etc/os-release:REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
/etc/redhat-release:CentOS Stream release 9
/etc/system-release:CentOS Stream release 9
/etc/centos-release:CentOS Stream release 9
/etc/os-release:NAME="CentOS Stream"
/etc/os-release:PRETTY_NAME="CentOS Stream 9"
/etc/os-release:REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
/etc/redhat-release:CentOS Stream release 9
/etc/system-release:CentOS Stream release 9
dotnet path: /bin/dotnet.
Current installed .NetCore version is:Microsoft.AspNetCore.App 6.0.21
Microsoft.AspNetCore.App 7.0.10
Microsoft.NETCore.App 6.0.21
Microsoft.NETCore.App 7.0.10
Forguncy server support Ubuntu 16.04, Ubuntu 18.04, Ubuntu 22.04, Centos 7, RHEL 7, UnionTech OS Server 20, Ubuntu Kylin 20.04, Kylin Linux . If you want to install to other OS ,please contact our technical support .
If you receive an error message similar to Unable to locate package aspnetcore-runtime-6.0ehttps://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#apt-troubleshooting




删除命令
sudo dnf remove 'dotnet*' 'aspnet*' 'netstandard*'
页: [1]
查看完整版本: 为傻不支持高版本linux CentOS Stream release 9 版本太老有漏洞