Difference between revisions of "Instalasi KnowledgeTree"
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 34: | Line 34: | ||
Copykan source knowldgeTree ke Web folder | Copykan source knowldgeTree ke Web folder | ||
− | # cp ktdms-src-oss-3.5. | + | # cp ktdms-src-oss-3.5.2c.tgz /var/www/ |
# cd /var/www | # cd /var/www | ||
− | # tar zxvf ktdms-src-oss-3.5. | + | # tar zxvf ktdms-src-oss-3.5.2c.tgz |
− | # mv knowledgeTree | + | # mv knowledgeTree-OSS/ knowledgeTree |
Revision as of 10:50, 12 August 2008
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-image-graph php-image-canvas 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 database untuk KnowledgeTree, disini akan digunakan database dengan nama dms, user database dengan nama dms dan password untuk akses database adalah dms. Sedang password root MySQL di set sebagai password. Perintah yang digunakan untuk mengkonfigurasi adalah
mysql mysql> SET PASSWORD FOR root@localhost=PASSWORD('password');
Jika password Root MySQL database sudah di set maka kita dapat langsung mengkonfigurasi MySQL menggunakan perintah
# mysql -u root -p Enter password: mysql> create database dms; mysql> grant INSERT,SELECT on root.* to dms@localhost; mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE on dms.* to dms@localhost identified by "dmspassword"; mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE on dms.* to dms identified by "dmspassword"; mysql> exit
Copykan source knowldgeTree ke Web folder
# cp ktdms-src-oss-3.5.2c.tgz /var/www/ # cd /var/www # tar zxvf ktdms-src-oss-3.5.2c.tgz # mv knowledgeTree-OSS/ knowledgeTree
Isi schema database MySQL dengan struktur database KnowledgeTree
# cd /var/www/knowledgeTree # mysql -p dms < sql/mysql/install/structure.sql # mysql -p dms < sql/mysql/install/data.sql # mysql -p dms < sql/mysql/install/user.sql
Konfigurasi knowledgeTree untuk menggunakan database
# cd /var/www/knowldgeTree # vi config/config.ini [db] dbType = mysql dbHost = localhost dbName = dms dbUser = dms dbPass = djw9281js dbPort = default
dbAdminUser = dmsadmin dbAdminPass = js9281djw
[email] emailServer = 127.0.0.1 emailPort = default
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://localhost/knowledgeTree/setup
Web Access ke situs knowledgeTree
http://localhost/knowledgeTree
Default username & password yang digunakan adalah admin & admin