zoukankan      html  css  js  c++  java
  • Linux安装不同版本.netCore的shell命令

     #!/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============'
    

      

  • 相关阅读:
    Annotation
    jdbc
    集合
    与运行环境交互
    计数排序and基数排序
    面向对象下
    面向对象
    流程控制与数组
    庆祝自己的BLOG开张
    Raspberry Pi配置为无线路由器
  • 原文地址:https://www.cnblogs.com/sunliyuan/p/13865021.html
Copyright © 2011-2022 走看看