创建 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
s() is used for univariate smooths (section 5.3, p. 201), isotropic smooths of several variables (section 5.5, 214) and random effects (section 3.5.2, ...
分类:
其他好文 时间:
2021-06-19 19:29:15
阅读次数:
0
原理模型 准备工作 查看是否安装成功 查看 keepalived配置文件 查看keepalived.conf配置文件 //查看服务器网卡 检测脚本配置 ...
分类:
其他好文 时间:
2021-06-19 19:23:54
阅读次数:
0
进入myql 执行 show variables like 'character%'; 看到如下: 乱码原因,databases编码格式不一致导致的乱码,解决方法如下: 方法一: 执行如下两个命令即可: set character_set_database=utf8; set character_s ...
分类:
其他好文 时间:
2021-06-19 19:06:39
阅读次数:
0
查看是否区分大小写 show Variables like '%table_names' 查看lower_case_table_names的值,0代表区分,1代表不区分 修改方法 1.用ROOT登录,修改/etc/my.cnf 2.在[mysqld]下加入一行:lower_case_table_na ...
分类:
数据库 时间:
2021-06-17 17:06:18
阅读次数:
0
一、安装(基于docker-compose) 使用docker安装Nginx非常简单,只需要准备如下YML文件即可: version: "3" services: nginx12: restart: always image: daocloud.io/library/nginx:1.12.0 con ...
分类:
其他好文 时间:
2021-06-17 16:49:40
阅读次数:
0
函数的定义 # 方式一 start () { echo "nginx start .... [OK]" #return 0 } stop () { echo "nginx stop .... [FAIL]" } # 方式二 function start { echo "nginx start ... ...
分类:
其他好文 时间:
2021-06-17 16:37:05
阅读次数:
0
1 问题背景 nginx 安全漏洞(CVE-2019-9511) nginx 安全漏洞(CVE-2019-9513) nginx 安全漏洞(CVE-2019-9516) http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-201908-9 ...
分类:
系统相关 时间:
2021-06-16 18:19:57
阅读次数:
0