上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: 安装http-proxy-middleware yarn add -D http-proxy-middleware; 配置 在src文件夹下创建『setupProxy.js』文件,写入以下内容 const proxy = require('http-proxy-middleware'); // 注意 阅读全文
posted @ 2020-12-26 17:53 Feng1024 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 修改app.component.ts: @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'], encapsulation:ViewEnc 阅读全文
posted @ 2020-12-13 08:27 Feng1024 阅读(759) 评论(0) 推荐(0) 编辑
摘要: server { listen 80; server_name *.youdomain.com; if ($http_host ~* "^(.*?)\.youdomain\.com$") { set $domain $1; } location / { if ($domain ~* "jenkins 阅读全文
posted @ 2020-11-16 21:32 Feng1024 阅读(3616) 评论(0) 推荐(0) 编辑
摘要: 创建用户 username=jenkins sudo useradd -m ${username} sudo bash -c "echo '123456' | passwd --stdin ${username}" sudo gpasswd -a jenkins docker newgrp dock 阅读全文
posted @ 2020-11-16 17:29 Feng1024 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 安装npm 略 创建项目 npm init -y 安装typescript # ts-loader为webpack loader,clean-webpack-plugin copy-webpack-plugin为webpack插件 npm install --save-dev typescript 阅读全文
posted @ 2020-11-14 15:42 Feng1024 阅读(804) 评论(0) 推荐(0) 编辑
摘要: 创建用户(Docker组) username=aria2 sudo useradd -m ${username} sudo bash -c "echo '123456' | passwd --stdin ${username}" sudo gpasswd -a ${username} docker 阅读全文
posted @ 2020-11-08 22:06 Feng1024 阅读(2825) 评论(0) 推荐(0) 编辑
摘要: 安装Remote Development插件 在本机安装Remote Development 重启VS Code,看到左侧导航新增:『远程资源管理器』 在『远程资源管理器』连接服务器,略 安装语法提示插件:shellman 本机安装shellman,略 安装格式化插件:shell-format(右键 阅读全文
posted @ 2020-11-08 21:03 Feng1024 阅读(2076) 评论(0) 推荐(0) 编辑
摘要: ## 本机安装jenkins ``` sudo wget -O /etc/yum.repos.d/jenkins.repo \ https://pkg.jenkins.io/redhat-stable/jenkins.repo sudo rpm --import https://pkg.jenkin 阅读全文
posted @ 2020-10-27 15:42 Feng1024 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Json处理(JS) 对于Json字符串,需要使用单引号『''』(因为Json中已存在双引号) // String转为Object var jsonObj = JSON.parse('${data}'); // Object转为String var jsonStr = JSON.stringify( 阅读全文
posted @ 2020-10-14 19:16 Feng1024 阅读(1636) 评论(0) 推荐(0) 编辑
摘要: 方法一:通过勾选『对POST使用multipart/form-data;』 注意坑 手动设置Content-Type后,该方法失效。需要在预处理程序中,移除:Content-Type,移除代码如下: 添加JSR223 预处理程序(Java): // 在低版本Jmeter可能不成功,在5.3版本中,该 阅读全文
posted @ 2020-10-09 17:53 Feng1024 阅读(1122) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页