温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

foreman1.7 安装通用教程

发布时间:2020-05-09 10:36:19 来源:亿速云 阅读:914 作者:Leah 栏目:编程语言

这篇文章主要为大家详细介绍了foreman1.7 安装详细教程,安装步骤相对于官方非常详细,具有一定的参考价值,感兴趣的小伙伴们可以参考一下。

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 安装的方法了吗?如果安装过程遇到问题或想了解更多相关内容,欢迎关注亿速云行业资讯频道!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI