EC2 FreeBSD packages

When your instance is running you are ready to install my collection of packages.

You will save many hours and your instance will be ready in minuts with a exsotic
configuration.

The packages you will find in my collection are.

1. PHP 5.3.6 + lots of moduls.
2. Postgresql 9.0.4
3. Nginx
4. Node.js 0.4.9
5. Monit

The install script will install above packages and secure the postgresql database.

Howto get startet.

Type the following commands in your shell.

prompt# mkdir /root/lenius

prompt# cd /root/lenius

prompt# fetch -o init.sh http://bit.ly/i2OmzF   (this command downwload the init script)

prompt# chmod u+x init.sh   (make the script executible)

prompt# ./init.sh  (the script download the rest of the files)

prompt# ./install.sh

When the install.sh file is run it will ask your for at password for postgresql and you email for the monit setup.

The following files I touch are :

/etc/rc.conf     (I add the startup lines for each service nginx, php-fpm…)
/usr/local/etc/monitrc (config file for monit. I have made a exampel for nging+php)
/usr/local/pgsql/data/pg_hba.conf  (secure all db+connection with md5)

/root/.pgpass  (your password is added for postgresql)
/usr/local/pgsql/.pgpass (your password is added for postgresql)

Please feel free to look at my setup script in /root/lenius and give be some feed back.