KnowledgeTree Document Management System On Ubuntu 7.10 Server
KnowledgeTree Document Management System On Ubuntu 7.10 ServerThis guide will walk you through installing the KnowledgeTree Document Management System on Ubuntu 7.10 Server. This guide does not include any pictures. I just felt with this type of install, that they were not warranted. Please note that this installation is performed on a base install of Ubuntu 7.10. Since the KnowledgeTree stack installer contains its own versions of Apache and MySQL, it will cause problems on an existing LAMP server. With that warning out of the way, let's begin. After you have installed Ubuntu 7.10 Server (remember - a base installation; do not install Apache or MySQL), we need to perform a few steps to get the system ready.
Edit sources.listIn this step, I will edit out the CD-ROM from the sources.list configuration. You do not have to perform this step, I just don't like using the CD for software installations. sudo nano /etc/apt/sources.list The section that we are looking for will read: deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted Add a "#" in front of that line so that it reads: # deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted Press "Ctrl o" to write out the changes and "Ctrl x" to exit nano. With that done, you need to update sources.list. This can be done by typing: sudo apt-get update After the update has finished, you will want to ensure that you have the most recent updates for your server. Run the following command to perform the upgrade: sudo apt-get upgrade Finally, you can install openssh-server, so that the rest of the installation can be performed remotely. sudo apt-get install openssh-server The rest of this tutorial can be performed remotely using an SSH client, such as PuTTY In order to use the email functionality with KnowledgeTree, you will want to install an SMTP server. For this guide, I will use Sendmail. sudo apt-get install sendmail When prompted, type "y" to install Sendmail and its dependencies. There should be a total of nine packages installed, including: liblockfile1 m4 make procmail sendmail sendmail-base sendmail-bin sendmail-cf sensible-mda
Obtaining And Installing KnowledgeTreeYou are now ready to get the KnowledgeTree installer. I like to work out of the tmp directory for installations such as this. To get there, enter the following command: cd /tmp/ Use the following command to get the KnowledgeTree installer. At the time of writing this article, the most recent version stood at 3.4.6. sudo wget http://internap.dl.sourceforge.net/sourceforge/kt-dms/ktdms-oss-3.4.6-linux-installer.bin Before the installation can begin, you need to change the permissions on the installer to allow it to run. Run the following command: sudo chmod +x ktdms-oss-3.4.6-linux-installer.bin With that done, it is time to begin installing KnowledgeTree. To do this, run: sudo ./ktdms-oss-3.4.6-linux-installer.bin The following text is how the installation process will play out. You will be prompted during the installation enter information pertinent to your environment. These entries are in red text.. Do you accept this license? [y/n]: If you are using KnowledgeTree locally, you can open a browser and go to http://127.0.0.1:8080 to reach the dashboard. If you are using KnowledgeTree remotely, you can get to the dashboard by using the server's IP address, such as http://192.168.1.115:8080 The default login information is as follows: You may also choose your language here, if English (which is the default) is not your native language.
Configure Email FunctionalityIn order to get the email functionality working, we need to edit the [email] section of the config.ini. Run the following command: sudo nano /opt/ktdms/config.ini Enter your password when prompted. Once you are in the config.ini file, you can easily find the section to edit by using the search function. Press "CTRL W" and on the search line enter: enter emailServer = none Now change this to read: emailServer = /usr/sbin/sendmail Press "Ctrl o" to write out your changes and "Ctrl x" to exit nano. Now, if you refresh the KnowledgeTree dashboard, the email warning will be gone.
Starting And Stopping KnowledgeTreeYou can control KnowledgeTree with the following commands: sudo/opt/ktdms/./dmsctl.sh start I prefer not to have to do this though, so you can add a command to your crontab and have it run automatically on boot. If you would prefer this, use the following command: sudo crontab -e Paste the following line into your crontab: @reboot /opt/ktdms/./dmsctl.sh start One thing you will notice though, is that KnowledgeTree asks for your MySQL password when starting. To get around this (if security is not a concern), you can edit the dmsctl.sh file in your KnowledgeTree directory. sudo nano /opt/ktdms/dmsctl.sh In the dmsctl.sh file, find the following section: MYSQL_PASSWORD="" Now change it so that it reads along the following lines: MYSQL_PASSWORD="MySQL root password you created during the installation" Press "Ctrl o" to write out your changes and "Ctrl x" to exit nano. To test and ensure that everything is working as it should be you can reboot and KnowledgeTree should start automatically. If you want to test this, run the following command: sudo shutdown -r now
Links For Administration Guides And AssistanceAdministration and Configuration
|






Recent comments
8 hours 38 min ago
8 hours 43 min ago
10 hours 7 min ago
10 hours 55 min ago
11 hours 15 min ago
16 hours 46 min ago
22 hours 4 min ago
1 day 2 hours ago
1 day 8 hours ago
1 day 8 hours ago