Tuesday, May 10, 2011

Install KnowledgeTree in Cent OS

Note that these steps should be performed as root.

1) Install OpenOffice.org 2.4
a) Download the OpenOffice.org RPM from the OpenOffice.org website
http://download.openoffice.org/2.4.3/other.html
Image:Rh_step0.png
b) Untar the OpenOffice.org package
$ tar -xf OpenOffice.org.tar.gz
Image:Rh_step1.png

c) Run the OpenOffice.org RPM file
$ cd /RPMS
$ rpm -i *.rpm 
Image:Rh_step2.png
Image:Rh_step3.png

Or yum install openoffice.org-core.x86_64 

2) Temporarily disable SELinux.
$ su -
$ setenforce permissive
Image:Rh_step5.png

3) Configure the KnowledgeTree repositories
a) Create a new file with the following content and copy it to
/etc/yum.repos.d/KT.repo


[KT]
name=KT
baseurl=http://repos.knowledgetree.com/rpm/rhel/5/$basearch
enabled=1
gpgcheck=0

[KTnoarch]
name=KT - noarch
baseurl=http://repos.knowledgetree.com/rpm/rhel/5/noarch
enabled=1
gpgcheck=0

[Zend]
name=Zend Server
baseurl=http://repos.zend.com/zend-server/rpm/$basearch
enabled=1
gpgcheck=0

[Zendnoarch]
name=Zend Server - noarch
baseurl=http://repos.zend.com/zend-server/rpm/noarch
enabled=1
gpgcheck=0

b) Update Yum
$ yum update
4) Install KnowledgeTree using Yum 
$ yum install knowledgetree-ce
 
 
/etc/init.d/zend-server restart
 
If some package failed try to reinstall with yum separately , 
if mysql not installed install separately or use default mysql 
 
start with " service mysqld start " and stop httpd service
 
"service httpd stop" 

No comments:

Post a Comment