Docker学习记录 - 构建静态网站 一、目录结构 二、Dockerfile文件 1、nginx 的 docker文件 FROM nginx COPY ./www /usr/share/nginx/html/ WORKDIR /usr/share/nginx/html/ RUN chown -R ...
分类:
Web程序 时间:
2021-04-14 11:59:07
阅读次数:
0
1、下载、解压 2、安装nginx需要的依赖 yum install -y gcc-c++ yum install -y pcre yum install -y pcre-devel yum install -y zlib yum install -y zilb-devel yum install ...
分类:
系统相关 时间:
2021-04-14 11:56:59
阅读次数:
0
Debian软件包通常为预编译的二进制格式的扩展名".deb",类似rpm文件,因此安装快速,无需编译软 件。包文件包括特定功能或软件所必需的文件、元数据和指令 dpkg:package manager for Debian,类似于rpm, dpkg是基于Debian的系统的包管理器。可 以安装,删 ...
分类:
系统相关 时间:
2021-04-13 12:54:26
阅读次数:
0
源码安装nginx For ubuntu:18.04 apt -y install build-essential libtool libpcre3 libpcre3-dev zlib1g-dev openssl net-tools curl wget wget -P /tmp http://ngi ...
分类:
其他好文 时间:
2021-04-12 12:27:54
阅读次数:
0
先查看当前系统时间 root@ubuntu:/# date -R 结果时区是:-0500我需要的是东八区,这儿显示不是,所以需要设置一个时区 1.运行tzselect root@ubuntu:/# tzselect 在这里我们选择亚洲 Asia,确认之后选择中国(China),最后选择北京(Beij ...
分类:
系统相关 时间:
2021-04-10 13:40:28
阅读次数:
0
1.按照官网的流程输入命令https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu 出现 1 (base) server123@ubuntu:~$ sudo apt-get install qgis 2 Reading pac ...
分类:
系统相关 时间:
2021-04-09 13:42:27
阅读次数:
0
####nginx程序配置文件说明 1)配置文件的结构 nginx配置文件结构: 1)核心配置部分 main 区域 2)事件配置部分 event 区域 3)网站配置部分 http 区域 指定网站功能参数 4)主机配置区域 server 区域 指定每个网站信息(域名 站点目录 首页文件) 5)loca ...
分类:
其他好文 时间:
2021-04-09 12:49:33
阅读次数:
0
树莓派4B搭建宝塔Linux面板 树莓派4B搭建宝塔Linux面板 提示:本次使用的树莓派为4B 4GB 使用的系统为Ubuntu 2004 LTS,只测试了这个版本 文章目录 树莓派4B搭建宝塔Linux面板一、树莓派安装系统1.下载工具包及安装2.进行wifi配网3.启动树莓派 二、Ubuntu ...
分类:
系统相关 时间:
2021-04-08 13:56:37
阅读次数:
0
W: GPG error: http://mirrors.cloud.aliyuncs.com/ubuntu xenial-backports InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed ...
分类:
其他好文 时间:
2021-04-08 13:43:02
阅读次数:
0
作者:weixin_34092455 https://blog.csdn.net/weixin_34092455/article/details/89733396 本文基于 ansible 2.3.0.0 编写 我们目前有 8 个大区共 24 台 nginx 服务器,每个区除了 upstream 地 ...
分类:
其他好文 时间:
2021-04-08 13:18:16
阅读次数:
0