美文网首页
2021-02-01

2021-02-01

作者: 无花无酒_3cd3 | 来源:发表于2021-02-01 18:37 被阅读0次

    脚本

    source  /etc/profile      
    cnpm  install --unsafe-perm   
    npm  run build:sit
    
    scp -r ./dist root@10.19.106.214:/u02/webapps 
    ssh  root@10.19.106.214  sh<<EOF  
    source  /etc/profile
    /usr/local/nginx/sbin/nginx -s reload
    
    

    后台java

    source /etc/profile
    mvn clean package -DskipTests -U -B -pl express-trace-admin   -am
    scp ./express-trace-admin/target/express-trace-admin-1.0.0.jar root@10.19.106.214:/data/express-trace
    ssh  root@10.19.106.214 sh << EOF
    /data/express-trace/start.sh
    

    相关文章

      网友评论

          本文标题:2021-02-01

          本文链接:https://www.haomeiwen.com/subject/yorstltx.html