运行环境下载

https://doc.rg1008.com/docs/rg_pass_dev/rg_pass_dev-1d2psvvs0ds84

dotnet/7.0

https://dotnet.microsoft.com/zh-cn/download/dotnet/7.0

https://learn.microsoft.com/zh-cn/dotnet/core/install/linux-opensuse

图片需要的包

libicu

sudo yum install libgdiplus
sudo yum install glib2-devel
sudo yum install cairo

whereis libgdiplus
whereis glib2-devel
whereis cairo

https://doc.rg1008.com/docs/bt/bt-1e2k34nbs1d8g

http://mirror.centos.org/centos/7/os/x86_64/Packages/libicu-50.2-4.el7_7.x86_64.rpm

将下载的jdk包上传euler服务器上面,使用解压命令解密:


 cd /opt/lib/dotnet
 mkdir -p /opt/lib/dotnet
 tar vzxf /opt/lib/dotnet-sdk-7.0.400-linux-arm64.tar.gz -C /opt/lib/dotnet
 history

tar -xvf dotnet-sdk-7.0.400-linux-arm64.tar.gz

配置环境变量,打开文件:

vim /etc/profile

,配置如下:

export DOTNET_ROOT=/opt/lib/dotnet
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools

让配置生效: source /etc/profile

检测是否配置成功:,输出下面的内容,表示配置成功


dotnet --version

文档更新时间: 2024-05-12 23:35   作者:admin