码迷,mamicode.com
首页 > 其他好文 > 详细

foreman1.7 安装实录

时间:2015-04-29 10:17:33      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:foreman

Foreman安装

系统环境  Selinux    &      iptabls    disabled

rhel                     6.5

                           Puppet            3.7.5

                            Ruby                   1.8.7

                            Foreman           1.7

官方安装教程:http://theforeman.org/manuals/1.7/index.html#2.Quickstart

  1. 安装puppetpuppet-server

[puppet]

name=puppet

baseurl=http://yum.puppetlabs.com/el/6Server/products/x86_64/

gpgcheck=0

[ruby]

name=ruby

baseurl=http://yum.puppetlabs.com/el/6Server/dependencies/x86_64/

gpgcheck=0

yum install  puppet puppet-server

 

2. 添加扩展yum

    rpm -ivhhttp://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

    yum -y installhttp://yum.theforeman.org/releases/1.7/el6/x86_64/foreman-release.rpm

3. 安装foreman-installer

    yum -y install foreman-installer

4. scl源:不然安装会提示缺少好多rubygem193*的包;

    [scl]

    name=ruby193

    baseurl=http://mirror.centos.org/centos/6/SCL/x86_64/

    gpgcheck=0

5. 安装foreman

    foreman-installer

  #最后安装成功:密码是随机的,登上之后马上改。

[root@server4yum.repos.d]# foreman-installer

Installing             Done                                              [100%] [.........................................................................]

  Success!

  * Foreman is running athttps://server4.example.com

      Initial credentials are admin / eprXbnUy4mRCuRUc

  * Foreman Proxy is running athttps://server4.example.com:8443

  * Puppetmaster is running at port 8140

  The full log is at/var/log/foreman-installer/foreman-installer.log

 

总结:安装过程中会出现各种问题,比如之前我安装的时候,就是因为pgsql的原因,最后添加smar-proxy 怎么也添加不上,最后也没解决!还有注意看日志/var/log/foreman-installer/foreman-installer.log

 

 

 


foreman1.7 安装实录

标签:foreman

原文地址:http://qiandan.blog.51cto.com/9452609/1640143

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!