IP camera and arduino

Hi,
I have a project that will take input from an IP camera and store the resulting image files on an SD card. The hardware i have available is an arduino Yun.

I assume i hook the ip camera into the ethernet port and set up a web server on the Yun. Now is to better to set the server up on the linux side or on the arduino side? - i'm not really sure what i am doing with either. I actuall did this project using a USB web cam and that worked fine but it has been decided to use an IP camera and i have never really set up a web server before. So anyhelp help or code examples would be great.

Cheers.

On the linux side - doh.

Mark