As explaining about installing Alfresco
before, it's time to install Knowledge Tree this time.
The platform is the same with before when installing Alfresco.
| OS | CentOS release 5.7 (Final) |
| Kernel | 2.6.18-274.el5 x86_64 |
| Package group | Development Libraries
Dialup Networking Support
GNOME Software Development
Legacy Software Development
Legacy Software Support
Mail Server
Network Servers
System Tools
Yum Utilities |
| Knowledge Tree | 3.7 |
Let's see the process of installing Knowledge Tree.
# echo "exclude=mod-php-5.3*,php-5.3*,zend-server-php-5.3*" >> /etc/yum.conf
- Get the binary and extract it
# wget http://repos.knowledgetree.com/downloads/ktdms-ce-linux-latest
# tar zxf kt-ce-linux-universal-installer-3.7.tgz
# cd knowledgetree-ce-linux-universal-installer-3.7
- Install Knowledge Tree ( After hitting <Enter>, the script begins installing via YUM.
# ./knowledgetree-community.sh
Running this script will preform the following:
* Configure your package manager to use the KnowledgeTree repository
* Install KnowledgeTree on your system using your package manager
Hit ENTER to install KnowledgeTree, or Ctrl+C to abort now.
...
Complete!
KnowledgeTree was successfully installed.
Please open your Internet browser and browse to http://127.0.0.1/KnowledgeTree/ to continue setup.
- show the listening sockets
# netstat -lnpt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:10081 0.0.0.0:* LISTEN 6996/lighttpd
tcp 0 0 0.0.0.0:10082 0.0.0.0:* LISTEN 6996/lighttpd
tcp 0 0 127.0.0.1:10083 0.0.0.0:* LISTEN 6801/httpd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 6801/httpd
tcp 0 0 0.0.0.0:22 0.0.0.0:*
- check that the service of zend-server is enable
# chkconfig --list zend-server
zend-server 0:off 1:off 2:on 3:on 4:on 5:on 6:off
- initialize the mysql data directory
# mysql_install_db --datadir=/var/lib/mysql
# /etc/init.d/mysql start
MySQL を起動中: [ OK ]
- secure mysql users, drop test database
# mysql_secure_installation
...
Set root password? [Y/n] Y
New password:
Re-enter new password:
...
Remove anonymous users? [Y/n] Y
...
Disallow root login remotely? [Y/n] Y
...
Remove test database and access to it? [Y/n] Y
...
Reload privilege tables now? [Y/n] Y
...
Thanks for using MySQL!
- checking PHP dependencies
- checking service dependencies
- confirming database configuration
- registering Knowledge Tree
- finalizing system information
- setup mysql user for Knowledge Tree (When you failed in loggin in with the password, mysql user might not have been created.)
# mysql -uroot -p -e "GRANT ALL ON dms.* TO dmsadmin@'127.0.0.1' IDENTIFIED BY 'password'; FLUSH PRIVILEGES;"