Friday, January 13, 2012

Spacewalk Installation and Initial Config.

If you've made it to this point, may the Schwartz be with you, and hopefully this will work.

Hit it...

  • yum install spacewalk-postgresql  -y
Once that finished, hopefully without error in the 308 packages...

Now to initially config it.
  • spacewalk-setup --disconnected 
    • Answers to the prompts
      • Hostname -- hit enter
      • Database -- spaceschema
      • Username -- spaceuser
      • Password -- spacepw
      • email -- I used admin@alpha0.localdomain
      • Save the default SSL for you - Y
      • Set a CA cert password
      • Organization - localdomain
      • OU - hit enter
      • Email - hit enter
      • City - Orgrimmar  (Lok'Tar?)
      • State - Insanity
      • Country - US
      • Enable the Cobbler default attack vectors as they're bloody needed ... hit Enter
It should churn a bit more and hopefully finish without error, although my first build (to this point) squawked at Tomcat having errors, examining the /var/log/tomcat*/catalina.out didn't show any.  I'll be curious to see if that error occurs the next several rebuilds of this VM.

Now open the firewall port so that port 80 is reachable.  
  • sudo system-config-firewall-tui
    • Check 'Secure WWW (HTTPS)'
    • Check 'WWW (HTTP)'

iptables -D INPUT -j REJECT --reject-with icmp-host-prohibited
iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
iptables -A INPUT -j REJECT --reject-with icmp-host-prohibited
service iptables save
service iptables restart


Next time I build this it'll be with an answer file!

No comments:

Post a Comment