08 2023 档案
摘要:1.在安装Nginx之前,要确保已经安装了需要的软件:gcc、pcre-devel、zlib-devel、openssl-devel。如果没有安装,执行下面命令。 yum -y install gcc pcre-devel zlib-devel openssl openssl-devel 2、进入
阅读全文
摘要:1.添加Dockfile文件 #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. F
阅读全文
摘要:docker 安装nginx 1.下载nginx镜像 docker pull nginx 2.创建nginx挂载目录 mkdir -p /usr/local/nginx/{conf,html,log,ssl} 3.启动nginx容器,用于copy一些文件放在步骤2的目录下 docker run --
阅读全文