Loading...
 
Skip to main content

History: InstallTikiGForge

Preview of version: 3

by Xavier de Pedro.

I'll explain how I did install Tiki (1.8.4) on a server with GForge, and also three more tiki sites using its multi-install capability. In my case I installed them on http://ourproject.org (op.o), which offers free hosting for free projects (with copylefted content). So these steps can be followed easily there, and I guess that they are reproducible at any GForge'd server (version 3 or later).

We'll assume that you already have an account at any Gforge'd server (such as op.o)

  1. Download Tiki to your local computer.
  2. Open a SSH file transfer connection to the Gforge'd server
  3. Upload the file containing tiki install, and follow the common procedures described under the file "install" for a common single tiki install on Unix, except that permissions to directories have to be set as 777 (permission to read execute and write to other users and groups in the server), instead of 755 or 775, as reported in other places in tw.o.

  • The op.o Gforged server allows users to connect through SSH to execute commands, to (for a userX):

/var/lib/gforge/chroot/home/users/userX/

  • And the project is created at:

/var/lib/gforge/chroot/home/groups/myproject/

(...)

  1. The local.php file, is as:
Copy to clipboard
<?php $db_tiki='mysql'; $dbversion_tiki='1.8'; $host_tiki="localhost"; $user_tiki="user"; $pass_tiki="****"; if ($_SERVER["HTTP_HOST"] == "myproject.ourproject.org") { $dbs_tiki = 'ddbb0'; $tikidomain = ''; } elseif ($_SERVER["HTTP_HOST"] == "myproject.site1.ourproject.org") { $dbs_tiki = 'ddbb1'; $tikidomain = 'site1'; } elseif ($_SERVER["HTTP_HOST"] == "myproject.site2.ourproject.org") { $dbs_tiki = 'ddbb2'; $tikidomain = 'site2'; } elseif ($_SERVER["HTTP_HOST"] == "myproject.site3.ourproject.org") { $dbs_tiki = 'ddbb3'; $tikidomain = 'site3'; } else { // default case, your choice is to block or open to a default domain $dbs_tiki = 'myproject'; $tikidomain = ''; } ?>


(...)

NOTE: If you follow this same strcutre, watch out to use the "exterminator" functions from "Admin>SystemAdmin" in tiki menu, because you'll delet some necessary directories from the directory tree in the servedr, under the templates_c. Reported as a bug at sf.net

(to be continued; no more time right now 😕)

History

Advanced
Information Version
drsassafras Mass search and replace 13
View
mlpvolt 12
View
Xavier de Pedro updated info 11
View
Xavi (as xavidp - admin) added link to op.o with logo 10
View
Xavi (as xavidp - admin) updated, and fixed the previous error from the old (and wrong) configuration 9
View
Mose added wiki-rating 8
View
Xavi (as xavidp - admin) categorized 7
View
Xavi (as xavidp - admin) more 6
View
Xavi (as xavidp - admin) finished 5
View
Xavi (as xavidp - admin) more info 4
View
Xavi (as xavidp - admin) some more info 3
View
François Bachmann fixed URL typo 2
View
Xavi (as xavidp - admin) ini 1
View