会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
横刀立马 醉卧山岗
如柳随风
博客园
首页
新随笔
联系
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
24
下一页
2016年6月7日
centos7 加入自启动服务的方法 以jexus为例
摘要: 在/lib/systemd/system 下创建文件jexus.service vi jexus.service 内容如下 [Unit] Description=jexus After=network.target [Service] Type=forking ExecStart=/usr/loca
阅读全文
posted @ 2016-06-07 21:12 过错
阅读(945)
评论(0)
推荐(1)
2016年5月25日
consul模板的说明2
摘要: 保证模板的正常执行 使用||true $ consul template template "in.ctmpl:out.file:service nginx restart || true" 当nginx不返回0的时候,仍然返回OK exit code, consul模板仍然作为服务继续执行。 建议
阅读全文
posted @ 2016-05-25 16:20 过错
阅读(437)
评论(0)
推荐(0)
consul 模板配置内容的参数说明
摘要: datacenters {{datacenters}} 数据中心 file {{file "/path/to/local/file"}} 读取本地文件的内容。如果不可读的话,会报错 key {{key "service/redis/maxconns@east aws"}} 读取consul的键的值。
阅读全文
posted @ 2016-05-25 15:54 过错
阅读(686)
评论(0)
推荐(0)
consul模板配置参数值示例
摘要: 参看https://github.com/hashicorp/consul template examples // This is the address of the Consul agent. By default, this is 127.0.0.1:8500, // which is th
阅读全文
posted @ 2016-05-25 15:08 过错
阅读(1094)
评论(0)
推荐(0)
Consul Template的简单使用
摘要: Consul Template的使用 1安装 地址 https://github.com/hashicorp/consul template/releases wget https://releases.hashicorp.com/consul template/0.14.0/consul temp
阅读全文
posted @ 2016-05-25 14:46 过错
阅读(10653)
评论(0)
推荐(0)
2016年5月24日
consul笔记-集群加入的问题
摘要: 加入集群的问题 1 只有2个server的时候,一个挂掉,不会选举出新的leader。 2 使用 bootstrap 可以直接启动为leader,这和 bootstrap expect 是有区别的 3第一次加入集群使用consul join ip地址 4 挂掉后重启 要使用consul ......
阅读全文
posted @ 2016-05-24 14:36 过错
阅读(2788)
评论(0)
推荐(0)
2016年5月17日
consul笔记
摘要: 1 webui 默认最新的webui只支持127.0.0.1这种的本机网站的 不支持192.168.1.2 启用192.168.1.2的支持 命令加 client 192.168.2.156 感谢赵记刚 http://www.cnblogs.com/java zhao/p/5381892.html
阅读全文
posted @ 2016-05-17 14:13 过错
阅读(401)
评论(0)
推荐(0)
2016年5月11日
centos7 中libgdiplus的安装
摘要: yum y install libtool git clone git://github.com/mono/libgdiplus.git cd libgdiplus ./autogen.sh prefix=/usr //上一步如果有问题 出现No package 'glib 2.0' found的解
阅读全文
posted @ 2016-05-11 17:16 过错
阅读(6300)
评论(0)
推荐(0)
2016年5月9日
centos7上consul的集群安装
摘要: centos7上consul的安装 一 下载 下载文件 wget https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_linux_amd64.zip unzip consul_0.6.4_linux_amd64.zip 拷贝到适当的位置
阅读全文
posted @ 2016-05-09 14:35 过错
阅读(3450)
评论(0)
推荐(1)
consul的安装配置 一centos7环境
摘要: centos7上consul的安装 新手笔记 环境 我用的是centos7, 用的是vmware 一 安装系统后首先要设置ip ifconfig eth0 →查看IP 不过输出的信息多一些 ifconfig|grep 'Bcast' → 这个输出的信息要清晰多了 修改IP并生效 编辑/etc/sys
阅读全文
posted @ 2016-05-09 14:10 过错
阅读(496)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
24
下一页
公告