• Window server 2019安装.net3.5并通过jenkins发布c#代码


      

    通过闪电下载工具从msdn I tell you下载的windows2019 en版本

    光盘下载地址:https://msdn.itellyou.cn/

    闪电下载工具:http://bbs.xiaokanba.com/

    加载到虚拟光驱d:

    下载地址:ed2k://|file|en_windows_server_2019_x64_dvd_4cb967d8.iso|4843268096|91EF33D18517C2711517A84F14463072|/

    
    

    看到光盘加载成功



    
    
    光驱.net需要的组件所在的路径

    d:sourcessxs

    安装media的组件环境

    windows server2019下相关的bat脚本 C:UsersAdministratorwwwrootconvert.chinasoft.comash
    auto.bat
    
    @echo off
    cd /d %~dp0
    
    echo 1 >Temp.txt
    exit
    
    
    automonitor.bat
    
    @echo off
    cd /d %~dp0
    
    setlocal enabledelayedexpansion
    
    for /f %%a in (Temp.txt) do (
    set value=%%a
    if "!value!"=="1" (
        call autorun.bat
        echo 0 >Temp.txt
    )
    )
    exit
    
    
    autorun.bat
    
    @echo off
    cd /d %~dp0
    
    ::
    start taskkill /F /IM OnlineServiceDispatcher.exe
    start taskkill /F /IM OnlineConvertService.exe
    start taskkill /F /IM GetMediaInfo.exe
    start taskkill /F /IM CmdConverter.exe
    start taskkill /F /IM ffmpeg.exe
    start taskkill /F /IM OnlineServiceMonitor.exe
    
    ::
    ping 127.1 -n 5 >nul 2>nu
    
    ::
    xcopy C:UsersAdministratorwwwrootconvert.chinasoft.comAppPack_N* C:UsersAdministratorwwwrootconvert.chinasoft.com.exe* /s /e /y /d
    
    ::
    start C:UsersAdministratorwwwrootconvert.chinasoft.com.exeOnlineServiceDispatcher.exe
    if "%errorlevel%"=="0" (echo "OnlineServiceDispatcher.exe is start.")
    
    start C:UsersAdministratorwwwrootconvert.chinasoft.com.exeOnlineConvertService.exe
    if "%errorlevel%"=="0" (echo "OnlineConvertService.exe is start.")
    
    start C:UsersAdministratorwwwrootconvert.chinasoft.com.exeOnlineServiceMonitor.exe
    if "%errorlevel%"=="0" (echo "OnlineServiceMonitor.exe is start.")

     
  • 相关阅读:
    《大话设计模式》读书笔记
    设计模式个人笔记
    多线程的单元测试工具
    设计模式六大原则
    时间复杂度和空间复杂度(转)
    排序算法笔记
    《人月神话》读书笔记
    微信公众号开发踩坑记录(二)
    微信公众号开发踩坑记录
    全栈工程师之路
  • 原文地址:https://www.cnblogs.com/reblue520/p/13681112.html
Copyright © 2020-2023  润新知