[epel]
name=epel
baseurl=http://mirrors.aliyun.com/epel/7/x86_64
enabled=1
gpgcheck=0
[sclo-sclo]
name=sclo-sclo
baseurl=http://mirrors.aliyun.com/centos/7/sclo/x86_64/sclo
enabled=1
gpgcheck=0
[sclo-rh]
name=sclo-rh
baseurl=http://mirrors.aliyun.com/centos/7/sclo/x86_64/rh
enabled=1
gpgcheck=0
[foreman-nightly]
name=foreman-nightly
baseurl=http://yum.theforeman.org/nightly/el7/x86_64/
enabled=1
gpgcheck=0
[root@node5 ~]# foreman-installer --foreman-admin-username=admin --foreman-admin-password=“foreman”
Installing Done [100%] [.................]
Success!
* Foreman is running at https://node5.example.com
Initial credentials are admin / “foreman”
* Foreman Proxy is running at https://node5.example.com:8443
* Puppetmaster is running at port 8140
The full log is at /var/log/foreman-installer/foreman.log
[root@node5 ~]# systemctl status foreman-proxy
● foreman-proxy.service - Foreman Proxy
Loaded: loaded (/usr/lib/systemd/system/foreman-proxy.service; enabled; vendor preset: disabled)
Active: active (running) since 日 2016-10-30 00:17:23 CST; 18min ago
Main PID: 3768 (ruby)
CGroup: /system.slice/foreman-proxy.service
└─3768 ruby /usr/share/foreman-proxy/bin/smart-proxy
10月 30 00:17:22 node5.example.com systemd[1]: Starting Foreman Proxy...
10月 30 00:17:23 node5.example.com systemd[1]: PID file /run/foreman-proxy/foreman-proxy.pid ...rt.
10月 30 00:17:23 node5.example.com systemd[1]: foreman-proxy.service: Supervising process 376...ts.
10月 30 00:17:23 node5.example.com systemd[1]: Started Foreman Proxy.
Hint: Some lines were ellipsized, use -l to show in full.