Jeremy,

On debian based systems you can also pre answer the perl questions by piping these in the right order, I guess that should also work on CentOS.

So your line 792 could be like:
yes | cpan String::CRC32 Encoding::FixLatin AnyEvent::Handle EV DBD::mysql DBD::Pg

If you get more questions answer them like:

yes, yes, no, yes | cpan <etc....>

Don't have a centos based system at hand but if above also works on centos this could make your script more automated..

---
E.F.A Project
http://efa-project.org


On 2013-08-10 23:53, Jeremy McSpadden wrote:
Hey Peeps,

I know its been a while since i've posted an update to the installer.
I have updated the code and added a few things. Now Bayes & Auto White
Lists work out of the box.
I've also updated the SA & RabbitMQ versions.

It is as automated as I can make it, less the perl modules install.
If you edit the top part of the file it will auto-install everything
but the perl modules. (Few Yes/Enter to get)

The updated version is at
https://raw.github.com/fluxlabs/baruwa/master/2.0/cent6/install.sh [1]


How to install:

1. Make sure your hostname is in the hosts file. This is a MAJOR break
point on the install.
Example : 192.132.53.21 mx01.domain.com [2] mx01
Add both FQDN and Shortname to /etc/hosts

2. This installer was tested on a standard kernel with
iptables/selinux disabled.
You will have issues on a GRSEC or with SELinux enabled. That is up to
you to work through if you decide to keep them.

3. I would recommend installing the script over a screen session if it
is remote. It can take upwards of 30 minutes depending on the servers
specs.
---------------------------------------
yum install screen -y
screen
curl -O https://raw.github.com/fluxlabs/baruwa/master/2.0/cent6/install.sh [1]
nano -w install.sh
---------------------------------------
Once you've edited the required fields.
--------------------------
sh install.sh
--------------------------
Option A

Let me know if you have any issues. I've tested it on OVH (standard
kernel)/Digital Ocean & Rackspace.
If you know of a provider which this script works on, or does not work
on; please let me know.

I highly recommend a minimum of 2GB for this install. Baruwa has quite
a few deps which eat up some memory.

I will add nginx soon.

--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net [3] | Endless Solutions
Office : 850-250-5590x101 | Cell : 850-890-2543 | Fax : 850-254-2955


Links:
------
[1] https://raw.github.com/fluxlabs/baruwa/master/2.0/cent6/install.sh
[2] http://mx01.domain.com
[3] http://www.fluxlabs.net

_______________________________________________
http://pledgie.com/campaigns/12056

_______________________________________________
http://pledgie.com/campaigns/12056

Reply via email to