In this tutorial we will show you how to install Collabtive in an Ubuntu 14.04. For those of you who didn’t know, Collabtive is an open source web-based project management software. The main features of Collabtive are: task lists, milestones, time tracking, messaging / instant messaging, file management, role-based user permissions, reporting, exporting, calendaring and multilingual interface.
This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Collabtive on Ubuntu 14.04 server.
Install Collabtive on Ubuntu 14.04
Step 1. First of all make sure that all packages are up to date.
1 2 | apt-getupdate apt-getupgrade |
Step 2. Install LAMP server and include some PHP extension.
1 2 3 | sudoapt-getinstallapache2 sudoapt-getinstallmysql-server sudoapt-getinstallphp5php5-cliphp5-commonphp5-mysqlphp5-mbstring |
Start service Apache web server and MySQL also enable it to start on boot of the server:
1 2 | /etc/init.d/apache2start /etc/init.d/mysqlstart |
Step 3. Install Collabtive.
Download the latest stable version of Collabtive, At the moment of writing this article it is version 2.1.1:
1 2 | http://downloads.sourceforge.net/project/collabtive/collabtive/2.1.1/collabtive-211.zip unzip-ocollabtive-211.zip-d/var/www/collabtive/ |
We will need to change some folders permissions:
1 2 3 4 | chown-Rwww-data/var/www/collabtive/ chmod+w /var/www/collabtive/config/standard/config.php chmod+w /var/www/collabtive/files chmod+w /var/www/collabtive/templates_c |
Step 4. Configure MySQL Database for Collabtive.
By default, MySQL is not hardened. You can secure MySQL using the mysql_secure_installation script. you should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MySQL.
1 | mysql_secure_installation |
Next we will need to log in to the MySQL console and create a database for Collabtive. Run the following command:
1 | mysql-uroot-p |
This will prompt you for a password, so enter your MySQL root password and hit Enter. Once you are logged in to your database server you need to create a database for the Collabtive software:
1 2 3 4 | mysql>CREATEDATABASEcollabtivedb; mysql>GRANTALLPRIVILEGESONcollabtivedb.*TO'collabtiveuser'@'localhost'IDENTIFIEDBY'your-password'WITHGRANTOPTION; mysql>FLUSHPRIVILEGES; mysql>quit |
Step 5. Configure Apache web server.
Create a new virtual host directive in Apache:
1 | touch/etc/apache2/sites-available/collabtive.conf |
Then, run the following command:
1 | ln-s/etc/apache2/sites-available/collabtive.conf/etc/apache2/sites-enabled/collabtive.conf |
Next, use the a2ensite to enable the ‘collabtive.conf’ configuration in Apache:
1 | a2ensitecollabtive.conf |
Edit the ‘collabtive.conf’ configuration file:
1 | nano/etc/apache2/sites-available/collabtive.conf |
Add the following lines to it:
1 2 3 4 5 6 7 8 9 10 11 12 | <VirtualHost *:80> ServerAdminadmin@your-domain.com DocumentRoot/var/www/collabtive/ ServerNameyour-domain.com ServerAliaswww.your-domain.com <Directory/var/www/collabtive/> OptionsFollowSymLinks AllowOverrideAll </Directory> ErrorLog/var/log/apache2/your-domain.com-error_log CustomLog/var/log/apache2/your-domain.com-access_logcommon </VirtualHost> |
Restart the Apache service for the changes to take effect:
1 | /etc/init.d/apache2restart |
Step 5. Accessing Collabtive.
Collabtive project management will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/install.php or http://server-ip/install.php and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel. For security reason, it is recommended to delete ‘install.php’ and ‘update.php’ files:
1 2 | rm-rf/var/www/collabtive/install.php rm-rf/var/www/collabtive/update.php |
Once complete installation, Log in to the Administrator back-end area at http://your-domain.com to configure Collabtive according to your needs, extend the functionality of your installation with plugins etc.
Congratulation’s! You have successfully installed Collabtive. Thanks for using this tutorial for installing collabtive project management on Ubuntu 14.04 system. For additional help or useful information, we recommend you to check the official Collabtive web site.