SchoolOnffLine: Instalasi KnowledgeTree Digital Library

From SpeedyWiki

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

← Previous diff
Revision as of 23:55, 1 September 2009 (edit) (undo)
Onnowpurbo (Talk | contribs)

Next diff →
Line 1: Line 1:
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
-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
Line 12: Line 12:
-Siapkan MySQL menggunakan perintah+Siapkan [[MySQL]] menggunakan perintah
# mysql -u root -p # mysql -u root -p
Line 23: Line 23:
-Copykan source knowldgeTree ke Web folder+Copykan source knowldgeTree ke [[Web]] folder
# mv /usr/local/src/ktdms-src-oss-3.6.1.tgz /var/www/ # mv /usr/local/src/ktdms-src-oss-3.6.1.tgz /var/www/
Line 39: Line 39:
Konfigurasi knowledgeTree untuk menggunakan database Konfigurasi knowledgeTree untuk menggunakan database
- # cd /var/www/knowldgeTree+ # cd /var/www/knowledgeTree
# vi config/config.ini # vi config/config.ini
[db] [db]
Line 53: Line 53:
-Ubah owner folder knowledgeTree agar dapat di akses user Web+Ubah owner folder knowledgeTree agar dapat di akses user [[Web]]
# chown -Rf www-data.www-data /var/www/knowledgeTree # chown -Rf www-data.www-data /var/www/knowledgeTree
# chmod -Rf 766 /var/www/knowledgeTree/var # chmod -Rf 766 /var/www/knowledgeTree/var
-Set PHP agar dapat menangani file besar+Set [[PHP]] agar dapat menangani file besar
# vi /etc/php5/apache2/php.ini # vi /etc/php5/apache2/php.ini
Line 90: Line 90:
* [[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 9.04 Server]]
* [[SchoolOnffLine: Server Wikipedia for School]] * [[SchoolOnffLine: Server Wikipedia for School]]
* [[Remastering Ubuntu]] * [[Remastering Ubuntu]]

Revision as of 23:55, 1 September 2009

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

Restart beberapa server yang di perlukan & pastikan jalan

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


Siapkan MySQL menggunakan perintah

# mysql -u root -p
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


Copykan source knowldgeTree ke Web folder

# mv /usr/local/src/ktdms-src-oss-3.6.1.tgz /var/www/
# 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,

# mysql -u dms -pdms dms < /var/www/knowledgeTree/sql/mysql/install/structure.sql
# 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


Konfigurasi knowledgeTree untuk menggunakan database

# cd /var/www/knowledgeTree
# vi config/config.ini
[db]
dbType       = mysql
dbHost       = localhost
dbName       = dms
dbUser       = dms
dbPass       = djw9281js
dbPort       = default
dbAdminUser  = dmsadmin
dbAdminPass  = js9281djw


Ubah owner folder knowledgeTree agar dapat di akses user Web

# chown -Rf www-data.www-data /var/www/knowledgeTree
# chmod -Rf 766 /var/www/knowledgeTree/var

Set PHP agar dapat menangani file besar

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


Restart Apache

# /etc/init.d/apache2 restart

Web Access untuk mensetup knowledgeTree melalui

http://192.168.0.254/knowledgeTree/setup

Web Access ke situs knowledgeTree

http://192.168.0.254/knowledgeTree

Default username & password yang digunakan adalah

admin admin



Pranala Menarik

Personal tools