开发者

Ubuntu directory for storing files [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 12 years ago.

开发者_运维问答 Improve this question

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


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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜