zoukankan      html  css  js  c++  java
  • 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.")

     
  • 相关阅读:
    string与wstring之间的转换
    QTableWidget去除选中虚边框
    在新机器部署Qt+mysql程序
    Qt文件路径分隔符
    MySQL通过增加用户实现远程连接数据库
    Qt 配置文件QSettings读取以及中文问题
    git config proxy
    ubuntu14.04 us sources.list
    How to keep Environment Variables when Using SUDO
    ubuntu hash sum mismatch error
  • 原文地址:https://www.cnblogs.com/reblue520/p/13681112.html
Copyright © 2011-2022 走看看