Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: MasterSleepy on October 18, 2006, 10:04:45 AM
-
Hello all,
I have rebuild a new rpm for knowledgeTree (http://www.ktdms.com).
It use last version of knowledgeTree, version 3.1b.
Rpm:
http://www.vanhees.cc/modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=312&ttitle=smeserver-knowledgeTree-3.1b-1.noarch.rpm
sRpm:
http://www.vanhees.cc/modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=311&ttitle=smeserver-knowledgeTree-3.1b-1.src.rpm
Regards.
-
MasterSleepy
This is a great product .... We use the windows version here at work but I would rather have it runing on linux (SME) .... I will definitely try this out and copy everything over if it works the same.
Regards,
Tib
-
MasterSleepy,
Great contrib and great product. Have you had any luck in installing the plugins for indexing? xpdf and catdoc both seem to have a lot of dependencies and/or require compiling.
-jeff
-
Thanks for the great contribution MasterSleepy,
KnowledgeTree 3.1b-1 HOWTO
1. Install Dag and Atrpms repo;
/sbin/e-smith/db yum_repositories set dag repository BaseURL http://apt.sw.be/redhat/el4/en/i386/dag EnableGroups 1 GPGCheck 1 Name Dag-repository status disabled
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
/sbin/e-smith/db yum_repositories set atrpms repository BaseURL http://dl.atrpms.net/el4-i386/atrpms/stable EnableGroups 1 GPGCheck 1 Name Atrpms-repository status disabled
rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms
/sbin/e-smith/expand-template /etc/yum.conf
2. #Download rpms to current Directory
knowledgeTree
http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=viewsdownload&sid=65
pstotest
http://rpmfind.net/linux/rpm2html/search.php?query=pstotext
3. Install RPM
yum -y --enablerepo=base --enablerepo=base --enablerepo=updates localinstall pstotext-1.8g-1.i386.rpm
yum -y --enablerepo=base --enablerepo=updates --enablerepo=dag --enablerepo=atrpms install xpdf catdoc
yum -y --enablerepo=base --enablerepo=base --enablerepo=updates localinstall smeserver-knowledgeTree-3.1b-1.noarch.rpm
4. Enable Indexing
mkdir -p /etc/e-smith/templates-custom/opt/knowledgeTree/config/config.ini
cd /etc/e-smith/templates/opt/knowledgeTree/config/config.ini
cp part01 /etc/e-smith/templates-custom/opt/knowledgeTree/config/config.ini/
mcedit /etc/e-smith/custom-templates/opt/knowledgeTree/config/config.ini/part01
change the following lines
xls2csv = xls2csv
pdftotext = pdftotext
catppt = catppt
pstotext = pstotext
catdoc = catdoc
to
xls2csv = /usr/bin/xls2csv
pdftotext = /usr/bin/pdftotext
catppt = /usr/bin/catppt
pstotext = /usr/bin/pstotext
catdoc = /usr/bin/catdoc
/sbin/e-smith/expand-template /opt/knowledgeTree/config/config.ini
5. Now access knowledgeTree at following address
http://[SERVERNAME/IP]/knowledgeTree/
User : admin
Password : admin
6. Install Indexer Diagnostics Plugin
Just download, unpack and copy the folder into /opt/knowledgeTree/plugins/
http://forge.ktdms.com/frs/?group_id=29
login as admin in KT, "Administration" -> "Miscellaneous" -> "Manage Plugin" -> "Reread Plugins"
activate the plugin and then "Update".
after this you'll find the a new point under
"Administration" -> "Miscellaneous" ->"Advanced Indexing Assistance"
where you can chose your folders and files that you want to re-index.
That's all folks..
MasterSleepy,
is it possible to have unified authentication with Smeserver thr POP3 auth or otherwise .
Jon..
-
cp /opt/knowledgeTree/config/config.ini /etc/e-smith/custom-template/opt/knowledgeTree/config/
Should this not be /etc/e-smith/templates-custom/opt/knowledgeTree/config/
mcedit /etc/e-smith/custom-templates/opt/knowledgeTree/config/config.ini and /etc/e-smith/templates-custom/opt/knowledgeTree/config/
however buy doing so a kt3 template error occurs unfortunatly.
re-installing the rpm and just editing /opt/knowledgeTree/config/config.ini
its working and recognizing the plugins ..
regards
T :shock: [/b]
-
Can anybody help me with how to force SSL on the KnowledgeTree directory.
From reading other posts I'm not sure if I can use the .htaccess file within the KnowledgeTree directory, is it possible as this would be the easiest way as far as I can tell?
It's just that, because KnowTree installs under /opt I'm not sure how to set it up.
Any help appreciated!
Russ
-
..and while at it, could anybody update to the latest 3.4 version, or is there an update procedure?
-
bunkobugsy i'm working on the new RPM but i don't have the time right now so i'll update it when i have it.
Untill then this works for me.....
Just rewrite all the data in opt with the new files and run http://server/konwledgeTree/setup/upgrade.php
-
Thanks Guys.
-
But seriously guys, could somebody update the original rpm the right way because the overwrite and upgrade.php way won't work (for me).
Maybe I missed some chowning/chmodding or what?! I get
[db_error: message="DB Error: connect failed" code=-24 mode=return level=notice prefix="" info=" [nativecode=Access denied for user 'dmsadmin'@'localhost' (using password: YES)] ** Array"]
when I try to upgrade and
Fatal error: Call to a member function on a non-object /opt/knowledgeTree/lib/authentication/interceptorregistry.inc.php on line 77
when accesing the main page.
-
I know it's a bit of a bodge-job but have you tried it the way I did on this thread Mate?
It's in an iBay which I know is not meant to be such a secure way of doing it but it works perfectly for me this way!
http://forums.contribs.org/index.php?topic=35899.0
Cheers
Russ
-
Russ.
I've put a modded template fragment on my website that will force SSL (copied from phpsysinfo) on the knowledgeTree directory. You can get it from here: comnetel.com/kt
copy the file into /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ then
#expand-template /etc/httpd/conf/httpd.conf
#svc -t /service/httpd-e-smith
bunkobugsy,
to fix the db error try the following:
#mysql
mysql>use dms
mysql>GRANT ALL PRIVILEGES ON * TO dmsadmin@localhost IDENTIFIED BY 'js9281djw';
mysql>exit
It worked for me, YMMV.
Regards, Lloyd
-
Ok I did the SLL force update on my test server ... but with this setup only admin can get into KnowledgeTree ... how can you allow all users to access not just Admin.
Even my phpsysinfo is only accesable using admin user ... no other user can access.
I read in the script
AllowOverride None
AuthName "knowledgeTree"
AuthType Basic
AuthExternal pwauth
require user admin
Satisfy all
Only admin user allowed ... this is no good in a multi user evironment.
Regards,
Tib
-
Tib
how can you allow all users to access not just Admin
I'm not 100% sure, you'd have to read up on apache but I guess changing
require user admin
to
require group everyone
or
require user admin user1 user2 etc
might do it. You'd have to try it. I only done this as a quick hack cause I didn't want my knowledgtree open to the internet (even though it does use it's own auth). I've now changed my setup so it's restricted to my LAN only.
Lloyd
-
Russ.
I've put a modded template fragment on my website that will force SSL (copied from phpsysinfo) on the knowledgeTree directory. You can get it from here: comnetel.com/kt
copy the file into /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ then
#expand-template /etc/httpd/conf/httpd.conf
#svc -t /service/httpd-e-smith
bunkobugsy,
to fix the db error try the following:
#mysql
mysql>use dms
mysql>GRANT ALL PRIVILEGES ON * TO dmsadmin@localhost IDENTIFIED BY 'js9281djw';
mysql>exit
It worked for me, YMMV.
Regards, Lloyd
Thanks Lloyd, I will give this a go.
-
Thanks ldkeen,
but I still get
Fatal error: Call to a member function on a non-object in /opt/knowledgeTree/lib/authentication/interceptorregistry.inc.php on line 77
:(
Can't just somebody update the original RPMs ?