2013年(11)
分类: 系统运维
2013-08-26 18:22:39
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
今天折腾了一下Puppet,此工具属于CS架构的,我在CentOS 6.4上部署一下Puppet的Server端,发现文档里的链接已经can‘t connect,再加上有些依赖包的版本也随之更新了,只能指定其它地方的链接安装之。
先说一下安装步骤吧:
1.先安装好CentOS,配置network 及DNS解析,确保能访问外网
2.安装puppet的Repository 和依赖包-EPEL
rpm -ivh
rpm -Uvh
3.安装puppet-server
yum install puppet-server \\此时会出现以下Error信息
Error: Package: ruby-libs-1.8.7.374-1.el5.x86_64 (puppetlabs-deps)
Requires: libtk8.4.so()(64bit)
Error: Package: ruby-libs-1.8.7.374-1.el5.x86_64 (puppetlabs-deps)
Requires: libtcl8.4.so()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
没有找到 libtk 和libtcl包,执行 yum update 再次尝试是否能获取这两个包
昨天又折腾了一天,直接下载了源代码安装:参考链接:http://qinghua.blog.51cto.com/202629/837268
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
在Ubuntu 13.04-Server版上安装相比在CentOS-6.4简单的多,直接通过命令:apt-get install puppetmaster ; client端通过:apt-get install puppet
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
在 Cent OS 6.3版本上直接用yum源安装即可,在github上找了EPEL的链接
1.安装EPEL:rpm -Uvh
下一步继续研究ruby和master和client的配置........
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
备注:源代码安装的相关包下载链接地址
1. PUPPET:
2. Fatcter:
3. Ruby: