ObjectHeader = OBJECT_TO_OBJECT_HEADER( RootDirectory ); #define OBJECT_TO_OBJECT_HEADER( o ) CONTAINING_RECORD( (o), OBJECT_HEADER, Body ) #define CO ...
分类:
其他好文 时间:
2021-06-20 18:50:48
阅读次数:
0
首先检查Nginx是否启动成功 [root@web1 extra]# ps aux|grep nginx (一切正常)root 3269 0.0 0.1 46764 1464 ? Ss 09:34 0:00 nginx: master process nginx -c /application/ng ...
分类:
其他好文 时间:
2021-06-20 18:09:23
阅读次数:
0
创建 Nginx 容器 docker run --name nginx-demo -p 8080:80 -d nginx 参数说明: --name nginx-demo:容器名称 -p 8080:80: 端口进行映射,将本地 8080 端口映射到容器内部的 80 端口 -d nginx: 设置容器在 ...
分类:
其他好文 时间:
2021-06-20 17:51:22
阅读次数:
0
nginx 命令和信号 nginx命令 nginx 命令支持向其发送信号,实现不同功能 nginx 格式 nginx [-?hvVtTq] [-s signal] [-c filename] [-p prefix] [-g directives] 选项说明 帮助: -? -h 使用指定的配置文件: ...
分类:
Web程序 时间:
2021-06-20 17:47:57
阅读次数:
0
一,apt方式安装php 说明:用apt方式安装适用于本地开发环境,如果是线上生产环境,建议下载软件后编译安装 root@lhdpc:~# apt-get install php 查看结果: root@lhdpc:~# php -v PHP 7.4.16 (cli) (built: Mar 23 2 ...
分类:
数据库 时间:
2021-06-20 17:46:30
阅读次数:
0
原理模型 准备工作 查看是否安装成功 查看 keepalived配置文件 查看keepalived.conf配置文件 //查看服务器网卡 检测脚本配置 ...
分类:
其他好文 时间:
2021-06-19 19:23:54
阅读次数:
0
hive-site.xml添加以下参数: <property> <name>hive.cli.print.current.db</name> <value>true</value> </property> <property> <name>hive.cli.print.header</name> < ...
分类:
数据库 时间:
2021-06-19 19:07:44
阅读次数:
0
支付接口并发 需求:对支付接口做并发,验证账户金额的扣款(-)冻结(+),然后把执行结果写到一个日志文件 # @Time : '2021-6-19 07:58' # @Author : 'pc.kang' import time,json,requests from threading import ...
分类:
其他好文 时间:
2021-06-19 19:00:28
阅读次数:
0
import axios from "axios";//axios引入 import { Message } from "element-ui";//message组件引入 import router from "../router";//路由 // 创建axios实例 const service ...
分类:
移动开发 时间:
2021-06-19 18:40:48
阅读次数:
0
1.断言是什么? 断?, 是让程序判断预期结果与实际结果是否?致.简单的来说就是人为的设置一个值,对比接口返回的值和人为设置的值是否一样。 2.Postman断言的特点 Postman的断?是使?JavaScript语?编写的,写在‘Tests’标签?? Tests中的脚本在发送请求之后执?,会把断 ...
分类:
其他好文 时间:
2021-06-18 19:10:31
阅读次数:
0