Foremaninstallation
System Environment : Selinux & Iptabls Disabled
Rhel 6.5
Puppet 3.7.5
Ruby 1.8.7
Foreman 1.7
Official Installation Tutorial:Http://theforeman.org/manuals/1.7/index.html#2.Quickstart
Install 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. Add an extended yum source
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. Installing Foreman-installer
Yum-y Install Foreman-installer
4. SCL Source: Otherwise the installation will prompt the lack of many rubygem193* packages;
[SCL]
name=ruby193
baseurl=http://mirror.centos.org/centos/6/scl/x86_64/
Gpgcheck=0
5. Install foreman:
Foreman-installer
#最后安装成功: The password is random and changes immediately after boarding.
[[Email protected]]# Foreman-installer
installing done [100%] [... ..... ... ..... ..... ..... ...... ........... ................................]
success!
* Foreman is running athttps://server4.example.com
Initial credentials is 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
Summary: The installation process will appear a variety of problems, such as before I installed, is because of the reasons for Pgsql, the last add smar-proxy How also add not, finally did not solve! And watch the log /var/log/foreman-installer/foreman-installer.log .
foreman1.7 Installation Record