#!/bin/sh echo '==========开始安装dontcore============' mkdir -p /home/dotcore3 tar -vxf /00-install/01-sdk/dotnet-sdk-3.1.402-linux-x64.tar.gz -C /home/dotcore3 ln -sf /home/dotcore3/dotnet /usr/bin/dotnet isInstall=$(command -v dotnet|wc -l) #if [ $isInstall -eq 1 ];then dotnet dev-certs https echo '==========安装完成dontcore============'
#!/bin/sh echo '==========开始安装dontcore============' mkdir -p /home/dotcore2 tar -vxf /00-安装文档/01-sdk/dotnet-sdk-2.2.401-linux-x64.tar.gz -C /home/dotcore2 ln -sf /home/dotcore2/dotnet /usr/bin/dotnet isInstall=$(command -v dotnet|wc -l) #if [ $isInstall -eq 1 ];then dotnet dev-certs https echo '==========安装完成dontcore============'