Saturday, March 1, 2014

On The Cloud [AWS]

I was assigned to setting up new server on AWS and i was pretty much excited while i started working on it. Being a java guy, i am having no knowledge of working with servers, but let see:-

Setting up ISPConfig 3:-

Just followed the instruction given on this article. And yeah ISPConfig is installed.

Successfully generated SPF

Now i am stuck with DKIM, i have to set my mail server and i used Postfix for it, but my ClaimAV is real pain in the arse. I have created DKIM key and all other settings but now mail delivery is stopped. :'(

Dammn itt. I had no SWAP on AWS that is why it was failing.
I found out via:-
free -m

I added swap space by help of this link :-

SWAPFILE=/mnt/swapfile.swap
dd if=/dev/zero of=$SWAPFILE bs=1M count=512
mkswap $SWAPFILE
swapon $SWAPFILE


and voila its working......  ^_^