How to Install Tine 2.0 on CentOS 7

tine 2.0 vps

In this tutorial we will show you how to install Tine 2.0 on a CentOS 7 VPS with Apache, PHP and MariaDB.
Tine 2.0 is an open source groupware and customer relationship management (CRM) application. Listed below are some of the main Tine 2.0 features:

  • Address book
  • Calendar
  • CRM
  • File manager
  • Human resources
  • Inventory
  • Synchronisation with mobile devices
  • Task management
  • Time tracker
  • VoIP integration
  • Web based mail client etc.

In order to install Tine 2.0 on your server, you need to make sure it meets the following requirements:

  • PHP 5.3 or later with the following PHP extensions enabled: ctype, date, dom, gd, hash, iconv, json, mcrypt, mysql, pdo_mysql, SimpleXML, SPL, xml and zip;
  • Apache Web Server 2.0 or later compiled with mod_rewrite module;
  • MySQL 5.0 or later or MariaDB installed on your virtual server.

Make sure that all OS packages are up to date by executing the following command:

yum -y update

Install the required packages:

yum install mariadb mariadb-server httpd php php-common php-gd php-ldap php-mcrypt php-mbstring php-xml unzip

Start the Apache web server and MariaDB database server and enable them to start on boot:

systemctl start httpd
systemctl start mariadb

systemctl enable httpd
systemctl enable mariadb

Download the latest stable version of Tine at to the ‘/opt’ directory on the server. Then, extract it and move the Tine files and directories to the ‘/var/www/html/tine’ directory. At the time of writing this tutorial, the latest stable version of Tine is 2.0.

cd /opt/
mkdir -p /var/www/html/tine
unzip -d /var/www/html/tine tine20*.zip

Create a new MariaDB database and user for the Tine 2.0 application:

mysql -uroot -p
MariaDB [(none)]> GRANT ALL PRIVILEGES ON tinedb.* TO 'tine'@'localhost' IDENTIFIED BY 'y0ur_passw0rd';
MariaDB [(none)]> quit

Create a new Apache configuration file (e.g. /etc/httpd/conf.d/

vi /etc/httpd/conf.d/

Add the following virtual host directives to it:

<VirtualHost YOUR_SERVER_IP:80>
ServerAdmin [email protected]
DocumentRoot "/var/www/html/tine"
ErrorLog "/var/log/httpd/"
CustomLog "/var/log/httpd/" combined
<Directory "/var/www/html/tine/">
DirectoryIndex index.html index.php
Options FollowSymLinks
AllowOverride All
Require all granted

Restart the Apache service for the changes to take effect:

systemctl restart httpd

Copy the sample Tine configuration file:

cp /var/www/html/tine/ /var/www/html/tine/

Then, edit the newly created ‘’ configuration file. Add the database information and specify login credentials for the setup user. For example:

vi /var/www/html/tine/
return array(
 'captcha' => array('count'=>0),
 'database' => array(
 'host' => 'localhost',
 'dbname' => 'tinedb',
 'username' => 'tine',
 'password' => 'y0ur_passw0rd',
 'adapter' => 'pdo_mysql',
 'tableprefix' => 'tine20_',
 'setupuser' => array(
 'username' => 'setupuser',
 'password' => 'Ax6hd35RbM'


Do not forget to change the password for the setup user.

The web server user (Apache) needs to be able to write to certain files and directories, so you can easily accomplish that by executing the following command:

chown apache:apache -R /var/www/html/tine

You may also create an empty ‘’ configuration file, make it writeable to the web server and modify it later via the setup interface:

touch /var/www/html/tine/
chown apache:apache -R /var/www/html/tine/
chmod 644 /var/www/html/tine/

Open in your favorite web browser to run the Tine installer and log in using the user login credentials defined in the Tine configuration file. Then, follow the installer’s instructions:

Accept the license and privacy agreements, click on ‘Setup Checks’ from the left-hand menu and if all PHP requirements are met, click on ‘Config Manager’ and set /tmp as a temporary file path.

Click on ‘Authentication/Accounts’ and set the admin login credentials, configure password settings and click on ‘Save config and install’ button.

Select ‘Application manager’ and install additional Tine modules, such as calendar, CRM, file manager, FeLaMiMail web-based IMAP email client, tasks etc. If you install FeLaMiMail, do not forget to configure IMAP and SMTP settings via ‘Email menu’.

That is it. The Tine installation is now complete. Log out as setup user and log in to the administrator back-end using the newly created administrator account. Here you can manage users, groups, specify privileges based on groups, manage installed Tine modules etc.

tine back-end

Of course you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install Tine 2.0 online group collaboration and customer relationship management software for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.

Install ExpressionEngine on Debian 8
How to install Website Baker on a CentOS 7 VPS
How to install LimeSurvey on an Ubuntu 14.04 VPS