tags:

views:

47

answers:

1

Hi,

I have a server running on Ubuntu which creates lots of data and media files. I would like to know what is the best location to store the files.

Requirment :

My application running on java server(tomcat) needs to read, write and delete these files. There could be 100s of these files and the files could be huge.

I would like to know what is the best location(directory) for storing the files.

thank you

+2  A: 

Being linux, there are several possible locations that make sense. There is no technical limitation on where they can go - tomcat can access them anywhere. If it were me, I think I might choose this structure:

/var/<app>/media/

/var/<app>/data/

(where <app> is the name of your app)

Colin Pickard
thank you ... I was more concerned about technical limitation.
firemonkey