摘要: 安装 Docker 从 2017 年 3 月开始 docker 在原来的基础上分为两个分支版本: Docker CE 和 Docker EE。 Docker CE 即社区免费版,Docker EE 即企业版,强调安全,但需付费使用。 本文介绍 Docker CE 的安装使用。 移除旧的版本: 安装一 阅读全文
posted @ 2018-11-15 19:12 面对疾风 阅读(14444) 评论(1) 推荐(1) 编辑
摘要: 方法一. yum安装 yum install *rhsm* 方法二 (我是用这方法解决的) 执行命令: ① wget http://mirror.centos.org/centos/7/os/x86_64/Packages/python-rhsm-certificates-1.19.10-1.el7 阅读全文
posted @ 2018-11-07 17:38 面对疾风 阅读(3265) 评论(0) 推荐(2) 编辑
摘要: 上一篇我们说谈了docker+zookeeper+mesos+marathon集群,本篇我们来谈谈marathon的集群和自动发现服务。 marathon的服务自动发现和负载均衡有两种,1是mesos-dns,2是marathon-lb,他们是mesosphere 官网提供的两种服务发现和负载均衡工 阅读全文
posted @ 2018-10-26 14:59 面对疾风 阅读(1583) 评论(0) 推荐(0) 编辑
摘要: 实验环境: mesosmarathonmesosphere-zookeeper jdk1.8 mesosmarathonmesosphere-zookeeper jdk1.8 mesosmarathonmesosphere-zookeeper jdk1.8 mesos docker-engine m 阅读全文
posted @ 2018-10-24 17:10 面对疾风 阅读(702) 评论(0) 推荐(0) 编辑
摘要: 以下内容只是命令,原理自行百度,google或者官方查阅! 方案一、overlay Consul 三台主机为例(都要安装docker): 192.168.20.20(consul服务) 192.168.20.21(host1) 192.168.20.22(host2) 1、在consul服务主机安装 阅读全文
posted @ 2018-09-13 15:36 面对疾风 阅读(1277) 评论(0) 推荐(0) 编辑
摘要: The default location of the configuration file on Linux is /etc/docker/daemon.json. The --config-file flag can be used to specify a non-default locati 阅读全文
posted @ 2018-09-11 14:35 面对疾风 阅读(17072) 评论(0) 推荐(0) 编辑
摘要: 1. 编辑/etc/gitlab/gitlab.rb文件(加到文件最后面就好了)。以QQ企业邮箱为例: 有的教程可能会说去改/opt/gitlab/etc/gitlab.rb,是错的,一切以官网文档为准 2. 重新配置gitlab 3. 通过命令行测试邮件是否发送成功(也可以不测) 阅读全文
posted @ 2018-08-24 16:19 面对疾风 阅读(1912) 评论(0) 推荐(0) 编辑
摘要: Ansible常用模块命令 一、安装ansible yum install epel-release yum install ansible 二、配置文件配置 vi /etc/ansible/ansible.cfg (主要设置一些ansible初始化的信息,比如日志存放路径、模块、插件等配置信息) 阅读全文
posted @ 2018-06-13 10:00 面对疾风 阅读(1042) 评论(1) 推荐(0) 编辑
摘要: 1、禁用SELINUX vi /etc/sysconfig/selinux 设置为disabled 2、同步时间*/20 * * * * /usr/sbin/ntpdate pool.ntp.org > /dev/null 2>&1 3、文件描述符数量修改/etc/security/limits.c 阅读全文
posted @ 2018-05-30 20:52 面对疾风 阅读(183) 评论(1) 推荐(0) 编辑
摘要: 买了一台阿里云ECS 准备做nagios监控邮件报警,发现25号端口被屏蔽了,申请开通也失败,然后只能绕过25号端口,走465 ssl端口发邮件了。 步骤如下: 首先请求数字证书 root@PLAY ~]# mkdir -p /root/.certs/ ####创建目录,用来存放证书[root@PL 阅读全文
posted @ 2018-05-30 11:12 面对疾风 阅读(3076) 评论(0) 推荐(0) 编辑