Apache using two hdd's

Asked by Dick Magee on 2010-04-18

I am setting up a local intranet webserver using Ubuntu and Apache2 on a small primary drive (20gb). All this will do is serve up some technical data used only by me. I don't need to connect it to the internet. Apache installed, works fine but I want to put my data on another drive. I need to know an absolute path to the data drive (80 gb) to put into my /var/lwww/index.html document. I know in windows it would be D:\ [myfolder] but how do I point at the drive mounted at /dev/sdb5? I have been out of the gnu community for a few years, and want to start again.
Thanks all,
Dick

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apache2 Edit question
Assignee:
No assignee Edit question
Last query:
2010-04-18
Last reply:
2010-04-18
Marc Stewart (marc.stewart) said : #1

Open a terminal and type:
mount
That will give you a list of mount points. Somewhere there'll be a line that starts with:
/dev/sdb5 on .......
The path after that is your mount point.
If there isn't a line starting like that it's because you need to mount it yourself, in which case you can choose any directory you like to mount it in.

Can you help with this problem?

Provide an answer of your own, or ask Dick Magee for more information if necessary.

To post a message you must log in.