查看“Puppet基础”的源代码
←
Puppet基础
跳到导航
跳到搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
=why= salt 老是0day问题 ,为了安全 于是上puppet 现在文档真的很少,以前在dovo时,流行得很呢 于是有了本文 =install= ==* Enable the Puppet platform repository == === RH=== rpm -Uvh https://yum.puppet.com/puppet6-release-el-7.noarch.rpm === debian 10 or kali 2021 === <pre> 记得要改为google dns 8.8.4.4 or alidns #wget -c https://apt.puppetlabs.com/puppet6-release-buster.deb && dpkg -i puppet6-release-buster.deb wget https://apt.puppet.com/puppet7-release-buster.deb && dpkg -i dpkg -i puppet7-release-buster.deb apt update </pre> == Installing Puppet Server == <pre> apt-get install puppetserver sudo systemctl start puppetserver /opt/puppetlabs/server/apps/puppetserver/bin/puppetserver -v puppetserver version: 6.14.1 cp /etc/profile /etc/profileevanbak echo 'export PATH=/opt/puppetlabs/server/apps/puppetserver/bin/:$PATH' >> /etc/profile apt-get install default-jdk </pre> [https://zhuanlan.zhihu.com/p/86308378 如何在 Debian 10 上安装 OpenJDK11/OpenJDK8] [https://linuxhint.com/install_jdk_debian_10/ Installing JDK on Debian 10] https://puppet.com/docs/puppet/6.19/server/install_from_packages.html == * 3. Install Puppet agent == <pre> ** rpm -Uvh https://yum.puppet.com/puppet7-release-el-7.noarch.rpm https://yum.puppet.com/puppet7-release-el-8.noarch.rpm https://yum.puppet.com/puppet6-release-el-7.noarch.rpm ** yum install puppet-agent echo 'export PATH=/opt/puppetlabs/bin:$PATH' >> /etc/profile && source /etc/profile https://puppet.com/docs/puppet/6.19/install_agents.html Start the Puppet service: sudo /opt/puppetlabs/bin/puppet resource service puppet ensure=running enable=true ** deb </pre> ==* 4. Install PuppetDB (optional)== = = =configu= 这里的明天再补上 Sep 26 =默认30分钟太久= <pre> #on agent 120 秒 ,2 分钟 vi /etc/puppetlabs/puppet/puppet.conf [agent] server = master.test.cn runinterval=120 </pre> =see also= =references= [https://www.cnblogs.com/baizhantang/p/3208210.html puppet批量管理500多台服务器 ] [https://www.cnblogs.com/kevingrace/p/5740984.html Puppet常识梳理 ] [http://www.srcmini.com/41406.html Puppet组件详解] [http://www.srcmini.com/41401.html Puppet类用法示例] [https://www.cnblogs.com/krainbow/p/4212056.html puppet多环境配置(puppet自动化系列2) ] [https://www.cnblogs.com/krainbow/p/4212048.html puppet初始化安装和配置(puppet自动化系列1) ] [https://www.meirenji.info/2018/09/03/puppet%E8%87%AA%E5%8A%A8%E5%8C%96%E5%B8%83%E7%BD%B2%E9%85%8D%E7%BD%AE%E5%85%A5%E9%97%A8/ puppet自动化布署配置入门] [https://www.cnblogs.com/sddai/p/11031885.html Puppet自动化管理配置 ] [https://www.jianshu.com/p/63234d526866 puppet入门] [https://blog.51cto.com/u_433266/2176059?xiangguantuijian&06 Puppet 实验五 软件安装测试] Usage [https://www.zsythink.net/archives/331 puppet入门:puppet使用基础(puppet 5) ] [https://www.linuxidc.com/Linux/2012-12/75979.htm Puppet批量部署实际案例] [https://www.cnblogs.com/Dicky-Zhang/p/6260127.html puppet的配置] ==应用例子 == [https://blog.51cto.com/forall/1913534 Puppet批量部署tomcat] [https://blog.csdn.net/weixin_33964094/article/details/92921026 Puppet批量部署tomcat] [[category:devops]]
返回至
Puppet基础
。
导航菜单
个人工具
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
我的导航
关于我
shell
python
ops
linuxchina.net
blog.linuxchina
最近更改
随机页面
帮助
工具
链入页面
相关更改
特殊页面
页面信息