Hi,
I'm trying to add a second xwiki server to the server I am currently
using. I'm running tomcat and using mysql as the database on a linux
machine. I know this is going to seem like a huge barrage of questions,
but I'm new to this, so please bear with me.
First, all the instructions use different subdomains for the different
xwiki servers. I know very little about DNS, and was hoping there might
be another way. Right now the current xwiki is usually accessed just
using localhost in a browser, is there some way I could set up the
second instance to use a different address or port or even just a
different folder name without having to mess with DNS? Would it be
easier to set up my own internal DNS server?
Second, I've added the second database to mysql, and granted all
privileges to the xwiki user. So now there are two databases, xwiki (the
old one) and publicwiki (the new one). What I'm hung up on is creating a
new class called "XWikiServerClass". I've created it in the class
editor, but I'm not sure what the guide means by "add a string property"
for server and owner.
From the guide it looks like the plan is, once I get XWikiServerClass
set up, to create two pages, Xwiki.XwikiServerXwiki and
Xwiki.XwikiServerPublicwiki. I then attach the XWikiServerClass object
to each page and set the owner and server fields. Then change the
xwiki.virtual entry from 0 to 1 in xwiki.cfg, restart tomcat. Does this
sound right?
Any and all help is greatly appreciated,
Duncan