Koozali.org: home of the SME Server

Help needed to setup a program

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Help needed to setup a program
« on: March 01, 2006, 03:41:40 AM »
Hello

I'm not all that good in the workings of linux yet ... just wondering if someone could help me setup Knowledge Tree to run on SME 6.0.1-01.

I have setup the ibays as you would any other ibay to have access through the web browser eg:

created a group: kt_dms
created an ibay: ktdms .. write=group, read=group, access via web no pass req, (cgi,php,ssi=enabled)

copied the unzipped files into the /home/e-smith/files/ibays/ktdms/html dir.

now I need to setup the database ... this is where I have no idea.

The instructions are on this link but it doesn't seem to work that way with sme or I'm just to green to figure it out yet.

http://www.ktdms.com/products/knowledgetree/releases/30RC1/30RC1Install/

Could someone please translated the instrucions into plain english for me so I can try this out on linux.

I have phpmyadmin installed on the sme so I can either use that or setup through putty.

I would rather use the SME server then a windoes server.

Thanks in advance.

Regards,

Tib

Offline gregswallow

  • *
  • 651
  • +1/-0
Re: Help needed to setup a program
« Reply #1 on: March 01, 2006, 07:46:54 AM »
Quote from: "Tib"
The instructions are on this link but it doesn't seem to work that way with sme or I'm just to green to figure it out yet.

http://www.ktdms.com/products/knowledgetree/releases/30RC1/30RC1Install/


The instructions should work, but leave out "-p " from the mysql commands.  That prompts you for the password, which is automatically entered for you if you leave out "-p".

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Help needed to setup a program
« Reply #2 on: March 02, 2006, 02:56:54 AM »
Hello gregswallow

Thank you for your help ... it worked well ... after I figured out what to change the path to as well ... there help doc wasn't very clear on that.

For us new ppl ... $ mysql -p dms < sql/mysql/install/structure.sql ... doesn't meen much.

I had to change it to ... $ mysql dms < /home/e-smith/files/ibays/ktdms/html/sql/mysql/install/structure.sql .. then all worked fine ... I did the other 2 commands as well.

One small detail I don't quite understand though is the bit where it says ...

.htaccess file

You can let KnowledgeTree manage the PHP settings that apply to the KnowledgeTree application (it won't affect your other applications) by configuring your web server to use the .htaccess files that come with KnowledgeTree. This will ensure that the settings for KnowledgeTree (detailed below) are set up for optimal, reliable performance.

Your web server is NOT set up to use the .htaccess files.

How do I actually do this ... I'm using the system without this change but maybe I should change it for performance and reliability.

One other section is ...

Paths
Session save path    /tmp, Unwriteable
Upload temporary path    Not set

Could you gregswallow or someone else with a bit of knowledge try this out and let me know where and what to change/fix ... it's a very fast install process but those 2 bit's still get me.

I have done all other changes that the install doc says but can't seem to get those 2 aspects right.

Just incase someone asks ... I have updated my PHP to PHP 4.4.2 to comply with the requirments of Knowledge Tree.

Thanks,

Tib