I'm running drupal 4.6 currently, and now I'm trying to get going with 5.0rc1

Since I've got a handful of sites on the same machine, and want to set things up properly, I want to take advantage of the new multi-site abilities. This will also make it much easier when 5.0 final is out, I can just upgrade one set of files.

My linux knowledge is limited, though, so I have some basic questions that I can't find answers to anywhere:

1) For a 5.0 multi-site install, what directory do I put the "shared" drupal install into? I'm thinking not /home/whateveraccount/public_html since its to be shared by all accounts...
2) What files go into /home/account2/public_html, /home/account3/public_html, etc in order to reference the shared instance? do I just make index.php a symbolic link to the shared copy?

I've read the 5.0 INSTALL.TXT (and http://drupal.org/node/53705 which seems like good info), but can't find any answers to these basic question, which I need to even get off the ground.

Thanks for any help.

Comments

vm’s picture

This thread may hold the answers to your questions. http://drupal.org/node/75063

SamL-1’s picture

OK, I hadn't seen that thread, it helps out some.

It seems to be saying:
- put drupal wherever, doesn't matter. (still would like to know a good "standard" linux location for this though)
- set the various DocumentRoots to point to the shared drupal. I can do this, but I'm a little reluctant since I use WHM to manage the server, and don't want it stomping my changes. Would it be equivalent to replace the /home/site2/public_html directory with a link to the shared drupal folder?

Seems like this isn't going to be too bad. Wish the docs had just a hair more hand-holding though....

SamL-1’s picture

I put drupal in /var/drupal/drupal-5.0-rc1, then made the individual domain account's public_html a symbolic link to that directory, and it all seems to work (so far). I'm impressed!

I have each domain on a separate database for now. Is there any guidance as to whether its better to have all domains share a database with different tables? Or maybe have one "live" and one "dev" database, with separate tables for each domain under it? I'd like to set it up so its easy for me to have separate live and development versions of the sites.