Puppet configures systems in two main stages:Compile a catalogApply the catalogThe Agent/Master ArchitecturePuppet usually runs in an agent/master arc...
分类:
其他好文 时间:
2014-10-31 15:02:15
阅读次数:
239
**1. 模板文件是在puppet模块下面templates目录中以”.erb”结尾的文件** puppet模板主要用于文件,例如各种服务的配置文件,相同的服务,不同的配置就可以考虑使用模板文件,例如Nginx和Apache的虚拟主机配置就可...
分类:
其他好文 时间:
2014-10-31 12:16:52
阅读次数:
180
模板文件是在puppet模块下面templates目录中以”.erb”结尾的文件,puppet模板主要用于文件,例如各种服务的配置文件,相同的服务,不同的配置就可以考虑使用模板文件,例如Nginx和Apache的虚拟主机配置就可以考虑采用ERB模板,nginx的安装在这里建议用系统内部自带的YUM源来安..
分类:
其他好文 时间:
2014-10-30 19:22:25
阅读次数:
223
======================================================================================================================================================...
分类:
其他好文 时间:
2014-10-30 18:54:58
阅读次数:
160
IntroductionApart from this help page, all URIs will serve only resources of typeapplication/json, and will require HTTP basic authentication (using t...
分类:
Windows程序 时间:
2014-10-30 11:00:14
阅读次数:
1042
为了能够登陆RabbitMQ,必须创建RabbitMQ用户账号。
# rabbitmqctl add_user elite elite123
Creating user "elite" ...
...done.
# sudo rabbitmqctl set_user_tags elite administrator
Setting tags for user "elite" to [a...
分类:
其他好文 时间:
2014-10-29 10:59:10
阅读次数:
197
RabbitMQ的服务器配置设置,我做了修改,修改如下:
{tcp_listeners, [5672]},
{loopback_users, ["elite"]}
其它的设置可以根据业务需要设置,完整版如下。
%% -*- mode: erlang -*-
%% ----------------------------------------------...
分类:
其他好文 时间:
2014-10-29 00:22:14
阅读次数:
446
按照“?>”命令执行命令即可,“#”都是注解。
#-----------centOS6.5 installs rabbitmq-server ---------------------
#Installation using repository
#1. Adding repository entry
#To add Erlang Solutions repository (incl...
分类:
其他好文 时间:
2014-10-29 00:20:42
阅读次数:
313
1.1.2 显示RabbitMQ进程
查看RabbitMQ进程信息,输入下面命令:
?>pgrep -fl rabbitmq
31151/bin/sh /etc/init.d/rabbitmq-server restart
31153 /bin/bash -c ulimit -S -c 0>/dev/null 2>&1 ; /usr/sbin/rabbitmq-server
31...
分类:
其他好文 时间:
2014-10-29 00:18:44
阅读次数:
294
一、puppet的简介puppet是一种开源的、新一代的集中化的配置管理工具。可管理的平台有windows,Linux,Unix等。有自己的配置语言(资源申报语言),可管理文件、软件包、系统服务、用户等。这些统称为puppet的资源。puppet是采用ruby语言研发的。工作流程如下图:工作模型:单机..
分类:
其他好文 时间:
2014-10-28 02:13:33
阅读次数:
271