成都网站建设设计

将想法与焦点和您一起共享

foreman1.7安装通用教程-创新互联

这篇文章主要为大家详细介绍了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. 安装puppet,puppet-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 安装的方法了吗?如果安装过程遇到问题或想了解更多相关内容,欢迎关注创新互联网站制作公司行业资讯频道!

创新互联www.cdcxhl.cn,专业提供香港、美国云服务器,动态BGP最优骨干路由自动选择,持续稳定高效的网络助力业务部署。公司持有工信部办法的idc、isp许可证, 机房独有T级流量清洗系统配攻击溯源,准确进行流量调度,确保服务器高可用性。佳节活动现已开启,新人活动云服务器买多久送多久。


分享文章:foreman1.7安装通用教程-创新互联
文章地址:http://chengdu.cdxwcx.cn/article/dsoghh.html