大数据
-
在 Nginx 1.10 版本中,重新加载时报错:nginx: [warn] could not build optimal server_names_hash 的分析解决
1、在 Nginx 1.10 版本中,重新加载时报错:nginx: [warn] could not build optimal server_names_hash,如图1 图1 PS C:/nginx-1.10.1> ./nginx -s reload nginx: [warn] could not build optimal server_names…
-
基于 TortoiseGit 重置版本至最新的一次有效提交
1、在某位开发人员的提交中,存在了已经冲突的文件,且未手动解决冲突,就强制提交了代码,如图1 图1 2、决定将可能存在冲突文件的几次提交给删除,重置版本至最新的一次有效提交,如图2 图2 3、选择硬重置,所有之…
-
执行 ./nginx -s reload 时,提示:nginx: [emerg] host not found in upstream “api.aims-api.localhost” in C:/nginx-1.10.1/conf/vhosts/aims.conf:14 的分析解决
1、执行 ./nginx -s reload 时,提示:nginx: [emerg] host not found in upstream “api.aims-api.localhost” in C:/nginx-1.10.1/conf/vhosts/aims.conf:14,如图1 图1 2、查看 C:/nginx-1.10.1/conf/…
-
在 Rancher 中出现 Rolling-Back (Expected state running but got stopped),无法再次升级的解决
1、在 Rancher 中升级失败,回滚时出现 Rolling-Back (Expected state running but got stopped),如图1 图1 2、点击查看日志的链接,如图2 图2 2018/6/13 下午6:26:01/config/init/config0.sh: line 2: PCS_API_CF…
-
基于 Jenkins 构建时,报错:’composer install’ returned a non-zero code: 255 的解决
1、Dockerfile 的代码如下: FROM registry-vpc.cn-beijing.aliyuncs.com/cmc/centos-nginx112-php71:0.2.4 MAINTAINER wjtester@sobey.com COPY code /sobey/www/pcs-api COPY code/build/c_files/ / RUN chown -R…
-
在 Github、Gitlab、本地Git仓库 上的分布式工作流程
1、shuijingwan/yii2-app-advanced(Github),如图1(1)项目维护者:wangqiang(2)公共仓库:https://github.com/shuijingwan/yii2-app-advanced.git(3)公共仓库可见等级:公共(4)维护者从公共仓库克隆,在自己的本地…
-
在 Windows 10、Nginx 1.10.1 下,重新加载 Nginx,报错: nginx: [emerg] host not found in upstream “default.creditshop.shenzhen.localhost” in C:/nginx-1.10.1/conf/vhosts/credits hop_shenzhen.conf:26 的解决
1、在 Windows 10、Nginx 1.10.1 下,执行命令:nginx -s reload,重新加载 Nginx 配置,报错:nginx: [emerg] host not found in upstream “default.creditshop.shenzhen.localhost” in C:/nginx-1.10…
-
Windows 10 家庭版 安装 Docker,且配置配置镜像加速器为阿里云加速器
1、Windows 版本,为 Windows 10 家庭中文版,不支持Hyper-V,如图1 图1 2、打开网址:https://docs.docker.com/docker-for-windows/install/#what-to-know-before-you-install ,如果您的系统不符合运行Docker for…
-
升级操作系统:Windows 10 家庭版 1903 升级至 Windows 10 专业版 2004
1、当前操作系统:Windows 10 家庭版,版本号:1903,操作系统版本:18362.418。如图1 图1 2、转到 Microsoft Store 购买升级版。如图2 图2 3、升级至 Windows 10/11 Pro 专业版。购买。如图3 图3 4、销售商名称:…
-
在 Windows 10 x64 上安装及使用 ab 工具的流程
1、基于AB测试工具进行高并发情形下的模拟测试,打开:http://httpd.apache.org/docs/current/platform/windows.html#down,如图1 图1 2、选择ApacheHaus,下载,2.4版本的x64的二进制文件,如图2 图2 3、下载文件…