linux
柠檬有点甜_
学习记录
展开
-
软件测试常用linux发包命令
常用linux发包命令#从这里开始发包常用linux命令:后端:1.下载开发环境最新JAR包 jar包目录: /app/runtime/lib/2.上传最新jar包到UAT环境目录 上传目录:/home/sfapp ps:只有sfapp可写入3.kill java 进程 kill -9 $(ps -ef | grep java | awk ‘{print...原创 2019-01-03 16:44:02 · 3348 阅读 · 0 评论 -
重启Nginx,重启redis--记录
- 重启Nginx:503先看看NGINX有么有启动:ps -ef|grep nginx以下为两种方式(视情况而定)启动:/app/openresty/nginx/sbin/nginx -c /app/openresty/nginx/conf/nginx.conf启动2(无配置):./nginx (sbin目录下)检测:/app/openresty/nginx/sbin/nginx ...翻译 2019-01-03 17:35:44 · 1358 阅读 · 0 评论 -
linux脚本:提取文件到文件夹
@echo off::Check that the jar package existsif not exist *.jar goto exit::Check if the directory existsif not exist .\192.168.1.211 md .\192.168.1.211if not exist .\192.168.1.212 md .\192.168.1.2...原创 2019-01-03 17:41:24 · 589 阅读 · 0 评论 -
linux脚本:前端代码上传下载
@echo off::Check that the aff-pcui directory exists and delete it if it does.if exist E:\JarPackage\aff-pcui\ rd /s /q E:\JarPackage\aff-pcui\:: Run SFXCL - downlaod .jar files from remote to loca...原创 2019-01-03 17:46:11 · 220 阅读 · 0 评论 -
linux脚本:批量上传下载jar包
@echo off::download :: Run SFXCL - downlaod .jar files from remote to local folder:echo.Prepare to download the jar package from sit,please wait.....sfxcl /S "10.202.107.24_TW_后端" /app/runtime/li...原创 2019-01-03 17:49:19 · 500 阅读 · 0 评论 -
linux脚本:nmon安装步骤
nmon在liunx安装脚本#!/bin/bash#Please upload the nmon archive file to /home/sfapp first.#Check if the nmon file archive exists in the /home/sfapp/ directory.if [ ! -f /home/sfapp/nmon_linux_14i.tar.gz ...原创 2019-01-03 17:52:00 · 446 阅读 · 0 评论