Installing Tine 2.0: The basics – JA Media Solutions | GIS Services, Software and Web Development

Installing Tine 2.0: The basics

Home » Blog » Installing Tine 2.0: The basics

Written by Aldwin Galapon posted on Sunday, September 22nd, 2013

5.00 avg. rating (93% score) - 1 vote

Tine 2.0 is an open source business software package covering the software categories groupware and Customer Relationship Management (CRM), released under the terms of the agpl license.

Tine 2.0 is platform independent and implemented as a Service Oriented Architecture (SOA) consisting of two major parts:

  • The server component, acting as the master data source is written in PHP, and uses a SQL database as the central data storage.
  • The client component, acting as the graphical user interface (GUI) is written in javascript and runs in the user’s web browser.

Tine 2.0 wraps a set of API’s around the software libraries ExtJS and Zend Framework to model an open architecture Rapid Application Development.

Installing Tine 2.0

  1. Download Tine 2.0 at their website at http://www.tine20.org/en/download/download.html. The latest stable package code name “Kristina” (2013.03.8) was release last September 19, 2013. The all-in-one installer by default includes the applications: Admin, Address Book, File manager, Calendar, CRM, Felamimail, Tasks, Sales, Projects, Time tracker, Activesync and Tinebase. After set-up and deployment, three of this applications will be preinstalled (Admin, Address Book and Tinebase) where they will be required as base applications to run Tine 2.0 and its other applications. Other applications readily downloadable from Tine website are: Human Resources, Inventory, SimpleFAQ, Sipgate, and VOIP (Phone + Voip Manager).
  2. Before deploying Tine 2.0 in your server, note that it should be running with PHP support and a MySQL Database server. Also PHP extensions ctype, date, xml, dom, SimpleXML, gd, iconv, json, mcrypt, mysql, pdo_mysql, SPL, zip should be installed. Servers by default have gd, mcrypt, fileinfo, and pdo_mysql disabled. You should have the ability to install these extensions in your server.
  3. To activate any of these extensions using a WHM in your server (for example purposes):
    • Log in to WHM
    • Go to EasyApache (Update Apache) and start customizing based on profile
    • Select Apache version, click next; select PHP 5 version, again click next
    • Click “Exhaustive Option”
    • Scroll down to these PHP extensions and make sure to check the check boxes of these extensions (e.g. PDP, GD, etc.)
    • Finally click “Build and Save”
    • Make sure to complete the previous process otherwise your server might not work properly.
    • You may also need to update PHP memory_limit to around 64MB as it will likely be another requisite for deploying Tine 2.0. Go to PHP configuration editor and update memory_limit. Save then restart Apache.
  4. Upload Tine 2.0 extracted files to your server or website root using FTP. you can likewise upload the zipped installer in your CPanel and extract it in your root domain or deployment folder.
  5. Set-up your config.inc.php by copying / renaming from config.inc.php.dist or creating your own with the following contents:
    <?php
      return array(
        'database' => array(
          'host'        => '{Database hostname}',
          'dbname'      => '{Database name}',
          'username'    => '{Database username}',
          'password'    => '{Database password}',
          'port'        => '3306',
          'adapter'     => 'pdo_mysql',
          'tableprefix' => 'tine20_',
        ),
        'setupuser' => array(
          'username'    => 'tine20setup',
          'password'    => 'setup'
        ),
      );

    The user you specify in your config file will be initially used for set-up. Administration account will be created during the set-up process.

  6. Prepare your database and user for your Tine 2.0 database. Create a database and user account you will connect to and applied in your config.inc.php.
  7. You are now ready to install your Tine 2.o deployment. Proceed to your Tine 2.0 root setup.php (e.g. http://your_domain/path_to_tine/setup.php). Log in with the username/password you filled into the ‘setupuser’ array of your config.inc.php.
  8. Start the set-up GUI:
    • Terms and conditions. Read the license and privacy policy and accept both by checking the two boxes below them and clicking the ‘Accept’ button.
    • Setup Checks. If all checks are successful, you will see a green check mark and you can proceed with installation. Otherwise, if one or more checks failed, you have to fix these problems first.
    • Config Manager. The ‘setup authentication’ and ‘database’ related fields are filled based on the information you had entered in config.inc.php. You can optionally set configurations for logging, caching and queuing for your deployed Tene 2.0. To save your settings, click the ‘save config’ button.
    • Authentication / Accounts. Set-up initial admin account, set backend to ‘SQL’. Set same backend for Accounts, default and administrator groups, then click ‘Save config and install’. Setup installs the initial database and configuration.
    • Email. If you plan to use FeLaMiMail, you have to configure your IMAP and SMTP server here. If you need notification (e. g. from calendar events, Tasks), you only need to fill the SMTP section. Otherwise you can leave all untouched here.
    • Application Manager. This menu allows you to install/uninstall different modules of Tine 2.0. Right-click and choose ‘Install application’ creates the necessary requirements in your database and allow users to access this applications.

Posted on Sunday, September 22nd, 2013 at 6:39 pm Print this Article Email this Article