6 年前

Centos 7 安装 docker

docker  

docker安装 设置仓库,安装所需软件包 [root@localhost ~]# yum install -y yum-utils device-mapper-persistent-data lvm2 [root@localhost ~]# yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos…

6 年前

Harbor 镜像仓库搭建步骤

docker  

一、安装docker 1、添加 docker 的阿里云yum源 yum install yum-utils -y yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 2、查看docker有哪些版本 yum list docker-ce --showdupl…

6 年前

nginx 四层转发配置

tcp转发  

Nginx 需要支持--with-stream 四层代理依赖模块ngxstreamcore_module,该模块自1.9.0版开始可用。默认情况下,此模块不构建,应使用配置参数启用 --with-stream nginx version: nginx/1.17.9 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) built with…