首先检查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
启动 docker 服务 systemctl start docker 查看docker服务状态 systemctl status docker 列出当前所有正在运行的容器 docker ps -a CONTAINER ID 7bb8b4a58c79 为 ID号 启动容器,命令:docker sta ...
分类:
系统相关 时间:
2021-06-20 17:44:18
阅读次数:
0
异步多线程历险记、Await/Async、Task、Thread ...
分类:
编程语言 时间:
2021-06-19 19:30:25
阅读次数:
0
源码基于SpringBoot 2.4.4 1、认识配置文件 1.1 配置文件的加载 创建SpringBoot项目的时候,会自动创建一个application.properties文件,该文件是SpringBoot默认的配置文件。 SpringBoot在启动的时候会默认去寻找并加载applicatio ...
分类:
移动开发 时间:
2021-06-19 19:25:15
阅读次数:
0
原理模型 准备工作 查看是否安装成功 查看 keepalived配置文件 查看keepalived.conf配置文件 //查看服务器网卡 检测脚本配置 ...
分类:
其他好文 时间:
2021-06-19 19:23:54
阅读次数:
0
概览1.配置hive-site.xml2.配置hadoop中的core-site.xml文件3.测试 首先将hive安装 然后更改部分配置文件 1.配置hive-site.xml利用Xshell工具连接虚拟机 进入hive安装目录下的conf文件夹,更改hive-site.xml配置文件其中配置参考 ...
分类:
其他好文 时间:
2021-06-19 19:20:19
阅读次数:
0
配置vscode auto save afterDelay 安装 npm install -g nodemon --registry=https://registry.npm.taobao.org 运行 // node test.js nodemon test.js ...
分类:
Web程序 时间:
2021-06-19 19:17:14
阅读次数:
0