Thursday, September 20, 2012

Installing CAPC on vanilla CentOS 6.3

Since IM 2.0 came out, I've been testing the installation of the various components on CentOS 6.3.  (No your're not seeing things, my last post was going to be this post, but I went on a rant instead.)  I've come up with a few scripts that I use to get everything configured.  The first script was actually to install the data aggregator and repository.  It's not really a script, since some parts can't be scripted.  However, the parts that can be scripted have been.  I just copy and paste the commands into a putty window.
Anyway, the CAPC installation can be completely automated.  This is on a vanilla CentOS 6.3 64-bit installation.  The only change I made was to change the /etc/inittab to boot to the console instead of the GUI (change the 5 to a 3) and reboot.  I don't bother setting static IP addresses in my lab.  I use DHCP reservations.  It makes it a snap to configure.  I connect to the server via putty and paste in the following commands:

There you go.  I'll post the other scripts in separate posts since they're a bit more involved.