Thursday, 12 September 2013

Setup Knowledge Base (Knowledgeroot)

###################### Setup Knowledgeroot  ######################


REF LINK :- http://www.informaticapressapochista.com/linux/how-to-install-knowledgeroot-in-debian/




yum install mysql-server php5 php5-mysql



######################### APACHE START #########################


#wget "http://archive.apache.org/dist/httpd/httpd-2.2.21.tar.gz"

#tar -zxvf httpd-2.2.21.tar.gz

#cd httpd-2.2.21

#./configure  --prefix=/opt/apache

#make

#make install

#rm -rf /softwares/httpd-2.2.21

#vi /opt/apache/conf/httpd.conf

Listen 81

User apache

Group apache

Include conf/php.conf


#cp /etc/httpd/modules/libphp5* /opt/apache/modules/

#cp /etc/httpd/conf.d/php.conf /opt/apache/conf/

#/opt/apache/bin/apachectl -k restart



### KNOWLEDGEROOT ###


Alias /knowledgeroot /var/www/knowledgeroot/

<Directory /var/www/knowledgeroot/>

Options Indexes

AllowOverride none

DirectoryIndex install.php

Order allow,deny

allow from all

</Directory>


######################### APACHE END #########################


http://www.knowledgeroot.org/downloads.html


Download Latest Version. ( knowledgeroot-1.0.3.tar.gz)


tar -zxvf  knowledgeroot-1.0.3.tar.gz

mv  knowledgeroot-1.0.3  knowledgeroot

cp  knowledgeroot /var/www/


#/opt/apache/bin/apachectl -k restart

#mysql -u root -pMYSQL-ROOT-PASSWORD

mysql> create database knowledgeroot;


mysql> grant all on knowledgeroot.* to knowledgeroot@localhost identified by 'knowledgeroot';


mysql> flush privileges;


chmod 777 /var/www/knowledgeroot/cache/

Goto Browser http://ip/knowledgeroot/

Continues setup


###################### Setup Knowledgeroot  ######################

No comments:

Post a Comment