SchoolOnffLine: Instalasi KnowledgeTree Digital Library

From SpeedyWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 01:39, 5 August 2009 (edit)
Onnowpurbo (Talk | contribs)

← Previous diff
Current revision (01:31, 11 May 2010) (edit) (undo)
Onnowpurbo (Talk | contribs)
(Pranala Menarik)
 
(17 intermediate revisions not shown.)
Line 1: Line 1:
 +==Ubah sources.list==
 +
 +Untuk instalasi KnowledgeTree kita butuh menambahkan
 +
 + cd /etc/apt/sources.list.d
 + vi knowledgetree.list
 +
 + # KnowledgeTree
 + deb http://repos.knowledgetree.com/deb/knowledgetree knowledgetree-ce main
 + # Zend
 + deb http://repos.zend.com/zend-server/deb server non-free
 +
 +==siapkan aplikasi pendukung==
 +
 +Set [[PHP]] agar dapat menangani file besar
 +
 + vi /etc/php5/apache2/php.ini
 +
 + post_max_size 32M
 + upload_max_filesize 32M
 + memory_limit 32M
 +
Pertama-tama siapkan beberapa fasiltas pendukung KnowledgeTree Pertama-tama siapkan beberapa fasiltas pendukung KnowledgeTree
-seperti MySQL-server, PHP dll, antara lain dapat di install melalui perintah+seperti [[MySQL]]-server, [[PHP]] dll, antara lain dapat di install melalui perintah
# apt-get install libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \ # apt-get install libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \
- php5-mysql php5-gd php-pear postfix catdoc+ php5-mysql php5-gd php-pear postfix catdoc \
 + zend-server-php-5.2 libapache2-mod-php-5.2-zend-server \
 + php-5.2-common-extensions-zend-server php-5.2-json-zend-server \
 + openjdk-6-jre-lib ca-certificates-java tzdata tzdata-java \
 + libjline-java rhino java-common openjdk-6-jre-headless \
 + ktdms-office php-5.2-fileinfo-zend-server php-5.2-xmlrpc-zend-server \
 + libaccess-bridge-java libaccess-bridge-java-jni openjdk-6-jre \
 + icedtea-6-jre-cacao imagemagick swftools \
-Restart beberapa server yang di perlukan & pastikan jalan+Restart beberapa [[server]] yang di perlukan & pastikan jalan
- # /etc/init.d/postfix restart+ /etc/init.d/postfix restart
- # /etc/init.d/apache2 restart+ /etc/init.d/apache2 restart
- # /etc/init.d/mysql restart+ /etc/init.d/mysql restart
 +Buka installer KnowledgeTree
-Siapkan MySQL menggunakan perintah+ cd /usr/local/src
 + tar zxvf kt-ce-linux-universal-installer-3.7.tgz
 + cd /usr/local/src/knowledgetree-ce-linux-universal-installer-3.7/
 + ./knowledgetree-community.sh
- # mysql -u root -p+==Konfigurasi Melalui Web==
- Enter password: +
- mysql> create database dms;+
- mysql> grant INSERT,SELECT on root.* to dms@localhost;+
- mysql> grant ALL on dms.* to dms@localhost identified by "dms";+
- mysql> grant ALL on dms.* to dms identified by "dms";+
- mysql> exit+
 +Akses ke alamat
-Copykan source knowldgeTree ke Web folder+ http://192.168.0.254/knowledgeTree/
- # mv /usr/local/src/ktdms-src-oss-3.6.1.tgz /var/www/+[[Image:Kt3.6-01.jpeg|center|200px|thumb]]
- # cd /var/www+
- # tar zxvf ktdms-src-oss-3.6.1.tgz +
- # mv kt-dms-oss knowledgeTree+
-Isi schema database MySQL dengan struktur database KnowledgeTree. Masukan password root dari MySQL setiap kali ditanyakan password,+[[Image:Kt3.6-02.jpeg|center|200px|thumb]]
- # mysql -u dms -pdms dms < /var/www/knowledgeTree/sql/mysql/install/structure.sql+[[Image:Kt3.6-03.jpeg|center|200px|thumb]]
- # mysql -u dms -pdms dms < /var/www/knowledgeTree/sql/mysql/install/data.sql+
- # mysql -u root -p dms < /var/www/knowledgeTree/sql/mysql/install/user.sql+
 +[[Image:Kt3.6-04.jpeg|center|200px|thumb]]
-Konfigurasi knowledgeTree untuk menggunakan database+[[Image:Kt3.6-05.jpeg|center|200px|thumb]]
- # cd /var/www/knowldgeTree+[[Image:Kt3.6-06.jpeg|center|200px|thumb]]
- # vi config/config.ini+
- [db]+
- dbType = mysql+
- dbHost = localhost+
- dbName = dms+
- dbUser = dms+
- dbPass = djw9281js+
- dbPort = default+
- dbAdminUser = dmsadmin+[[Image:Kt3.6-07.jpeg|center|200px|thumb]]
- dbAdminPass = js9281djw+
 +[[Image:Kt3.6-08.jpeg|center|200px|thumb]]
-Ubah owner folder knowledgeTree agar dapat di akses user Web+[[Image:Kt3.6-09.jpeg|center|200px|thumb]]
- # chown -Rf www-data.www-data /var/www/knowledgeTree+[[Image:Kt3.6-10.jpeg|center|200px|thumb]]
- # chmod -Rf 766 /var/www/knowledgeTree/var+
-Set PHP agar dapat menangani file besar+[[Image:Kt3.6-11.jpeg|center|200px|thumb]]
- # vi /etc/php5/apache2/php.ini+[[Image:Kt3.6-12.jpeg|center|200px|thumb]]
- post_max_size 32M+
- upload_max_filesize 32M+
- memory_limit 32M+
 +[[Image:Kt3.6-13.jpeg|center|200px|thumb]]
-Restart Apache+[[Image:Kt3.6-14.jpeg|center|200px|thumb]]
- # /etc/init.d/apache2 restart+[[Image:Kt3.6-15.jpeg|center|200px|thumb]]
-Web Access untuk mensetup knowledgeTree melalui+==Test Akses ke Web KnowledgeTree==
- +
- http://192.168.0.254/knowledgeTree/setup+
Web Access ke situs knowledgeTree Web Access ke situs knowledgeTree
Line 78: Line 89:
http://192.168.0.254/knowledgeTree http://192.168.0.254/knowledgeTree
-Default username & password yang digunakan adalah admin & admin+Default username & password yang digunakan adalah
- +
- +
 + admin admin
==Pranala Menarik== ==Pranala Menarik==
 +* [[SchoolOnffLine: Instalasi KnowledgeTree Digital Library Cara Lama]]
* [[Remaster Ubuntu untuk SchoolOnffLine Menggunakan UCK]] * [[Remaster Ubuntu untuk SchoolOnffLine Menggunakan UCK]]
* [[SchoolOnffLine: Server Berbasis Sabily 9.04]] * [[SchoolOnffLine: Server Berbasis Sabily 9.04]]
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04]] * [[SchoolOnffLine: Server Berbasis Ubuntu 9.04]]
 +* [[SchoolOnffLine: Server Berbasis Ubuntu]]
 +* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]]
* [[SchoolOnffLine: Server Wikipedia for School]] * [[SchoolOnffLine: Server Wikipedia for School]]
* [[Remastering Ubuntu]] * [[Remastering Ubuntu]]
 +
 +[[Category: Linux]]
 +[[Category: Distro Linux]]
 +[[Category: SchoolOnffLine]]

Current revision

Contents

[edit] Ubah sources.list

Untuk instalasi KnowledgeTree kita butuh menambahkan

cd /etc/apt/sources.list.d
vi knowledgetree.list 
# KnowledgeTree
deb http://repos.knowledgetree.com/deb/knowledgetree knowledgetree-ce main
# Zend
deb http://repos.zend.com/zend-server/deb server non-free

[edit] siapkan aplikasi pendukung

Set PHP agar dapat menangani file besar

vi /etc/php5/apache2/php.ini
post_max_size		32M
upload_max_filesize	32M
memory_limit		32M

Pertama-tama siapkan beberapa fasiltas pendukung KnowledgeTree seperti MySQL-server, PHP dll, antara lain dapat di install melalui perintah

# apt-get install libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \
php5-mysql php5-gd php-pear postfix catdoc \
zend-server-php-5.2 libapache2-mod-php-5.2-zend-server \
php-5.2-common-extensions-zend-server php-5.2-json-zend-server \
openjdk-6-jre-lib ca-certificates-java tzdata tzdata-java \
libjline-java rhino java-common openjdk-6-jre-headless \
ktdms-office php-5.2-fileinfo-zend-server php-5.2-xmlrpc-zend-server \
libaccess-bridge-java libaccess-bridge-java-jni openjdk-6-jre \
icedtea-6-jre-cacao imagemagick swftools \

Restart beberapa server yang di perlukan & pastikan jalan

/etc/init.d/postfix restart
/etc/init.d/apache2 restart
/etc/init.d/mysql restart

Buka installer KnowledgeTree

cd /usr/local/src
tar zxvf kt-ce-linux-universal-installer-3.7.tgz 
cd /usr/local/src/knowledgetree-ce-linux-universal-installer-3.7/
./knowledgetree-community.sh 

[edit] Konfigurasi Melalui Web

Akses ke alamat

http://192.168.0.254/knowledgeTree/

[edit] Test Akses ke Web KnowledgeTree

Web Access ke situs knowledgeTree

http://192.168.0.254/knowledgeTree

Default username & password yang digunakan adalah

admin admin

[edit] Pranala Menarik

Personal tools