Table of contents | |
|
Introduction | |
General instructions for installing multiple tikis on a single server are at InstallVirtualHosting. And instructions for installing multiple tikis without virtual hosting (i.e., using subdirectories), are at AkiraMultiTiki.
Here I show one way to install multiple tikis on a Fedora Core Linux server
In this example I go through the steps to create threee working tikis on
I illustrate how to set up three tikis: public.wikiplanet.com,
|
MySQL Setup | |
Each tiki instance will need a separate database in MySql Tiki also
The commands I issue as root are: Copy to clipboard
Copy to clipboard
- |
Apache Configuration | |
Next I edit the Apache web server configuration /etc/httpd/conf/httpd.conf so that apache will know where to look for the tikis. |
VirtualHost | |
Further down, find the line with ))NameVirtualHost(( and change it to:
At the end of the httpd.conf, add the line: Copy to clipboard
/etc/httpd/conf.d/public.wikiplanet.com.vh contains: Copy to clipboard
Copy to clipboard
Copy to clipboard
Copy to clipboard
Don't worry about the warnings that the directories don't exist, we're going to make them next. - |
Install Tikiwiki | |
Install Distribution | |
Get a distribution of Tikiwiki from sourceforge.net. Put it in /var/www/tikiwiki and make the soft links. Copy to clipboard
|
Add Database Selection Code | |
Now you need to edit the code in db/local.php. Copy to clipboard
Edit local.php. Mine reads: Copy to clipboard
|
Set Up files | |
Set up the files and directories for tiki: Copy to clipboard
|
Run Tiki Install Script | |
Next we need to run the Tiki install script for the new wikis with a web browser. You must have dns working correctly, or you can edit /etc/hosts. In my case dns works, so I point Mozilla to: http://public.wikiplanet.com/tiki-install.php and run the install script. Do not choose to "remove" tiki-install.php yet! Repeat the procedure for the other two tiki's: member and staff. In the final case, "remove" the install script. |
Admin TikiWikis | |
That's all. Login to the tikis as admin and configure them. |
Notes | |
Limitations of Multi Tikis
Same Style Sheets for All Tikis Admin and users with the same names in different tikis may end up editing the same style sheets. One favicon for All Tikis Microsoft's Internet Explorer browser can't be told where to look for favicon; it always look in your document root. So all your sites hosted this way have to have the same favicon, or the web server has to change the favicon.ico request. See WikiShortcutIcon for use of shortcut icons. -
Feel free to edit this page or add comments. - George Geller |