Instalasi KnowledgeTree
Install KnowledgeTree in Ubuntu By: Onno W. Purbo
- apt-get install libmysqlclient15-dev
- apt-get install libphp-adodb
- apt-get install libgd2-xpm libgd2-xpm-dev
- apt-get install php5-mysql
- apt-get install php5-gd
- apt-get install php-image-graph php-image-canvas php-pear
- apt-get install postfix
- apt-get install catdoc
- /etc/init.d/postfix restart
- /etc/init.d/apache2 restart
- /etc/init.d/mysql restart
mysql
mysql> SET PASSWORD FOR root@localhost=PASSWORD('password');
alternatively
- mysql -u root -p
Enter password: mysql> create database dms; mysql> grant INSERT,SELECT on root.* to dms@localhost; mysql> SET PASSWORD FOR dms@localhost=PASSWORD('password_from_dms.conf'); mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE on dms.* to dms@localhost; mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE on dms.* to dms; mysql> exit
- cp knowledgeTree-3.3.6.tgz /var/www/
- cd /var/www
- tar zxvf knowledgeTree-3.3.6.tgz
- 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
- 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
- chown -Rf www-data.www-data /var/www/knowledgeTree
- chmod -Rf 766 /var/www/knowledgeTree/var
- vi /etc/php5/apache2/php.ini
post_max_size 32M upload_max_filesize 32M memory_limit 32M
- /etc/init.d/apache2 restart
Web Access To Setup
http://localhost/knowledgeTree/setup
Web Access http://localhost/knowledgeTree admin admin