I finally got KnowledgeTree 2.0.7 to work on SME Server 6.0.1, here is a mini how-to.
1| Upgraded php 4.4 and MYSQL 4 1 13
-PHP 4.4
wget
http://ergin.dyndns.org/download/scripts/php4.4.0-upgrade.shsh php4.4.0-upgrade.sh
- MYSQL 4 1 13
wget
http://ergin.dyndns.org/download/scripts/MySQL-4_0_24.shsh MySQL-4_0_24.sh
wget
http://ergin.dyndns.org/download/scripts/MySQL-4_1_13.shsh MySQL-4_1_13.sh
2 | Follow steps in KnowledgeTree Installation doc
* Move the knowledgeTree folder to the directory it is going to be served from:
$ mv knowledgeTree /path/to/your/html/directory/
* Check the pre-installation checkup:
If your knowledgeTree installation is at http://localhost/, go to:
http://localhost/setup/
* Set up the database
- Create a database:
$ mysqladmin -p create dms
- Create and populate the tables:
$ mysql -p dms < sql/mysql/install/structure.sql
$ mysql -p dms < sql/mysql/install/data.sql
- Create the database perfor
$ mysql -p dms < sql/mysql/install/user.sql
* Configure your installation in config/environment.php:
- The default configuration will determine many settings on your
installation automatically, and this is the preferred method of
running KnowledgeTree. Please do not manually set these settings
unless you know what you are doing.
- The default configuration uses the database username and password
in the user.sql file mentioned above, use the local host for the
database, and use the database named 'dms'. If you follow the
examples above in setting up the database, this means KnowledgeTree
should be fully configured to start working.
- However, you should change this once you've performed your initial
evalution of KnowledgeTree for the security of your documents.
- The following settings in config/environment.php control the
database connectivity, and can be set as shown:
$default->dbUser = "myuser";
$default->dbPass = "mypassword";
$default->dbHost = "localhost";
$default->dbName = "release206";
* Check permissions on the folders
- The "Documents" folder in the root of the KnowledgeTree
installation MUST be able to be written to by your web server.
- The "log" folder in the root of the KnowledgeTree installation MUST
be able to be written to by your web server.
- The pre-configuration checkup will display the user which must be
able to write to these folders.
- The remaining folders should preferably not be able to be written
to by your web server.
- eg.
If your web server is running as user "nobody" and group "nogroup"
then cd to the files directory and type:
*nix: 'chown -R nobody.nogroup Documents log'
Windows: Check the permissions and security tabs
* Check the post-installation checklist:
If your knowledgeTree installation is at http://localhost/, go to:
http://localhost/setup/
And click on "Post-installation checkup".
3 | Add your rootUrl path in /config/environment.php
// Path to the web application from the root of the web site.
// If KT is at
http://example.org/foo/, then rootUrl should be '/foo'
//
// Leave commented to have it automatically detected.
//
//$default->rootUrl = "";
4 | pear permission
/sbin/e-smith/db accounts setprop your_ibay PHPBaseDir /home/e-smith/files/ibays/your_ibay:/tmp:/usr/bin:/usr/share/pear
/sbin/e-smith/signal-event ibay-modify your_ibay
5 | Login
- in a web browser go to your KnowledgeTree installation via the web
- default user is "admin" with password "admin"