Puppet系统安装运维手册

Puppet系统安装运维手册

ID:37900128

大小:242.50 KB

页数:11页

时间:2019-06-02

Puppet系统安装运维手册_第1页
Puppet系统安装运维手册_第2页
Puppet系统安装运维手册_第3页
Puppet系统安装运维手册_第4页
Puppet系统安装运维手册_第5页
资源描述:

《Puppet系统安装运维手册》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、Puppet系统安装运维手册1安装配置11.1版本信息11.2服务器安装11.2.1锁定YUM安装版本(如果需要安装旧版)11.2.2安装配置Puppet-server11.2.3安装Foreman21.3客户端安装52管理服务52.1Puppet-Server52.2Foreman52.3Foreman-Proxy53修改记录61安装配置1.1版本信息²操作系统:CentOS5.X64bit1.2服务器安装1.2.1锁定YUM安装版本(如果需要安装旧版)1.2.1.1安装yum-versionlockyuminstallyum-versionlock1.2.1.2编辑

2、/etc/yum/pluginconf.d/versionlock.listpuppet2.7.20puppet-server2.7.201.2.2安装配置Puppet-server1.2.2.1安装rpm–Uvhhttp://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpmrpm–Uvhhttp://yum.puppetlabs.com/el/5/products/x86_64/puppetlabs-release-5-6.noarch.rpmyum-yinstallgccgcc-c+

3、+libstdc++-develyuminstallpuppet-server(旧版安装yuminstallpuppet-server-2.7.20)1.2.2.2编辑/etc/puppet/auth.confpath/runauthanymethodsaveallow*1.2.2.3增加/etc/puppet/autosign.conf*1.2.2.4编辑/etc/puppet/fileserver.conf[files]path/var/lib/puppet/filesallow*1.2.2.5编辑/etc/puppet/puppet.conf[main]#TheP

4、uppetlogdirectory.第9页#Thedefaultvalueis'$vardir/log'.logdir=/var/log/puppet#WherePuppetPIDfilesarekept.#Thedefaultvalueis'$vardir/run'.rundir=/var/run/puppet#WhereSSLcertificatesarekept.#Thedefaultvalueis'$confdir/ssl'.ssldir=$vardir/sslvardir=/var/lib/puppetssldir=/var/lib/puppet/sslfac

5、tpath=/var/lib/puppet/lib/factertemplatedir=/etc/puppet/templateshostcert=$vardir/ssl/certs/puppet.pemcertdir=$vardir/ssl/certs[master]reports=log,foremancertname=puppet-test-02#服务器名autosign=trueautosign=/etc/puppet/autosign.conf1.1.1.1修改/etc/hosts172.16.30.188test-01server#服务端ip地址,名称172

6、.17.30.xxxxxxxxxxx#客户端ip地址,名称1.1.2安装Foreman1.1.2.1安装Mysql-Serveryuminstallmysql-servermysqlchkconfig--addmysqldchkconfig--level235mysqldonservicemysqldstart1.1.2.2创建数据库mysql–uroot–pCREATEDATABASEforemanCHARACTERSETutf8;CREATEUSER'foreman'@'localhost'IDENTIFIEDBY'foreman';GRANTALLPRIVILEG

7、ESONforeman.*TO'foreman'@'localhost';第9页1.1.1.1安装foremanrpm–Uvhhttp://yum.theforeman.org/releases/1.0/el5/foreman-release.rpmyum install postgresql-develyum install libvirt-develyuminstallforemanØ修改/usr/share/foreman/config/database.ymlproduction:adapter:mysqldatabase:for

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。