安装docker的准备工作 参考文档>>>https://yeasy.gitbook.io/docker_practice/ DockerHub官网>>>https://hub.docker.com/ 升级centos的yum源 sudo yum update 设置yum源 官方源>sudo yum ...
分类:
其他好文 时间:
2021-06-21 20:16:40
阅读次数:
0
1、122 公钥 加入120 121 的 authorized_keys2、搭私服3、主机安装jenkins4、jenkins命令行 build tag push ssh 远程服务器 ' pull' ssh 远程服务器 ' run' ...
分类:
其他好文 时间:
2021-06-21 19:56:06
阅读次数:
0
Linux 平台安装 Nginx 1.20 该博客中使?的系统为 CentOS 7 Linux 发?版 系统版本详情: Linux centos7-shanghai 3.10.0-1160.25.1.el7.x86_64 #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86 ...
分类:
系统相关 时间:
2021-06-21 19:54:00
阅读次数:
0
#!/bin/bash rm -rf /var/lib/docker yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate ...
分类:
其他好文 时间:
2021-06-21 19:53:25
阅读次数:
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
启动 docker 服务 systemctl start docker 查看docker服务状态 systemctl status docker 列出当前所有正在运行的容器 docker ps -a CONTAINER ID 7bb8b4a58c79 为 ID号 启动容器,命令:docker sta ...
分类:
系统相关 时间:
2021-06-20 17:44:18
阅读次数:
0
原理模型 准备工作 查看是否安装成功 查看 keepalived配置文件 查看keepalived.conf配置文件 //查看服务器网卡 检测脚本配置 ...
分类:
其他好文 时间:
2021-06-19 19:23:54
阅读次数:
0