Ubuntu directory for storing files [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
开发者_运维问答 Improve this questionI 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
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)
精彩评论