一、 环境和版本 1. 操作系统 干干静静的centos7系统,选取的是mini的iso最小化安装 # cat /etc/centos-release CentOS Linux release 7.3.1611 (Core) # cat /proc/version Linux version 3.1 ...
分类:
其他好文 时间:
2021-04-08 13:37:16
阅读次数:
0
1、查找/var目录下属主为root,且属组为mail的所有文件 有目录没有文件,-type f [14:29:30 root@centos7 ~]#find /var -user root -a -group mail -ls 67142179 4 drwxrwxr-x 2 root mail 4 ...
分类:
其他好文 时间:
2021-04-08 13:25:06
阅读次数:
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
在常规 Web 的开发流程之中,当开发步入尾声时就需要部署应用到服务器上,Angular 部署上还算简单。经过测试,部署平均用时在5分钟左右,主要受限于 GitHub 海外服务器的网速。 一、Angular 部署文件的产生 首先,需要先使用构建命令 ng build --prod ,官网上指出采用生 ...
分类:
其他好文 时间:
2021-04-08 13:15:44
阅读次数:
0
部署nginx #1.先去查看仓库有没有镜像 root@fanwd-virtual-machine:/home# docker search nginx NAME DESCRIPTION STARS OFFICIAL AUTOMATED nginx Official build of Nginx. ...
分类:
其他好文 时间:
2021-04-08 13:07:20
阅读次数:
0
在centos7.5中解决bash: pip:command not find 问题 [root@localhost ~]# python get-pip.py Hi there! The URL you are using to fetch this script has changed, and ...
分类:
其他好文 时间:
2021-04-08 13:04:02
阅读次数:
0
nginx基本入门: 1.静态的http服务器 nginx是一个http服务器,可以将服务器上的静态文件通过http协议展现给客户端 配置: server { listen 80; # 端口号 location / { # 静态文件路径 } } 2.反向代理服务器 什么是反向代理? 客户端本来可以直 ...
分类:
其他好文 时间:
2021-04-07 11:44:38
阅读次数:
0
错误详细信息: Cloning into 'aplanmis-project'...remote: Enumerating objects: 176887, done.remote: Counting objects: 100% (176887/176887), done.remote: Compr ...
分类:
其他好文 时间:
2021-04-07 10:51:02
阅读次数:
0
安装是需要的环境 一. gcc 安装安装 nginx 需要先将官网下载的源码进行编译,编译依赖 gcc 环境,如果没有 gcc 环境,则需要安装: yum install gcc-c++ 二. PCRE pcre-devel 安装PCRE(Perl Compatible Regular Expres ...
分类:
其他好文 时间:
2021-04-06 14:41:24
阅读次数:
0
1. 安装需要的软件 ~]# yum install -y vim net-tools sysstat createrepo mkisofs rsync syslinux 2. 创建目录及文件拷贝 创建本地yum源 ~]# mount /dev/sr0 /mnt #挂载镜像或者U盘,如果是U盘就是/ ...
分类:
其他好文 时间:
2021-04-06 14:20:16
阅读次数:
0