Saminnet-Search Article Wiki Forum Blog SNS Cloud
Group-Office Ubuntu

  • Data-Articles
    • Slower CKD stage (3) Wed12,16:41pm

      Having your kidneys work 窶 even a little 窶 can help you feel better and live longer. If you can slow your CKD, you can delay the need for treatment of kidney failure. The types of changes you might make to help your heart or the rest of your body will help your kidneys, too. Here are some things you can do 窶 or avoid 窶 to protect your kidneys: r Blood Sugar In The Target Range.…


Group-Office Ubuntu

Group-Office is an easy to use, open source groupware and CRM application. It allows users to share projects, tasks, notes, files, calendars, e-mail and more with co-workers and clients through a web browser.
In this step-by-step tutorial, we will show you how toツinstallツGroup-Office 6 on anツUbuntu VPS.

At the time of writing this tutorial, the latest stable version of Group-Office 6.1.25 and it requires:

  • PHP > 5.3 with mcrypt and pspell extensions enabled (latest PHP version is recommended).
  • Web Server (Apache or Nginx)
  • MySQL >= 5.3 installed on yourツLinux virtual serverツ(latest MySQL version is recommended).

Upgrade your operating system software to the latest version available:

apt-get update
apt-get upgrade

Install the required packages using apt-get:

apt-get install apache2 apache2-doc apache2-mpm-prefork apache2-utils libapache2-mod-php5 zip libwbxml2-utils tnef php5-common php5-curl php5-gd php5-imap php5-mcrypt php5-mysql php-pear php5-pspell php5-xmlrpc

Enable the mcrypt module:

php5enmod mcrypt

Download the latest version of Group-Office available at to the /opt directory on the server. Then, extract it and move the Group-Office files and directories to the 窶/var/www/html/group-office窶 directory using the following commands:

cd /opt
tar -xvzf groupoffice-com-6.1.25.tar.gz
mv groupoffice-com-6.1.25/ /var/www/html/
cd /var/www/html/
mv groupoffice-com-6.1.25 group-office

Create a new MySQL database named groupofficedb on your server:

mysql -u root -p
mysql> CREATE DATABASE groupofficedb;
mysql> CREATE USER groupoffice@localhost;
mysql> SET PASSWORD FOR 'groupoffice'@'localhost' = PASSWORD("groupoffice-password");
mysql> GRANT ALL PRIVILEGES ON groupofficedb.* TO 'groupoffice'@'localhost' IDENTIFIED BY 'groupoffice-password' WITH GRANT OPTION;
mysql> quit

Do not forget to change 窶枠roupoffice-password窶 with a strong password for your 窶枠roupoffice窶 MySQL user.

Create a new virtual host directive in Apache. For example, create a new Apache configuration file named 窶枠roupoffice.conf窶:

touch /etc/apache2/sites-available/groupoffice.conf
ln -s /etc/apache2/sites-available/groupoffice.conf /etc/apache2/sites-enabled/groupoffice.conf
vi /etc/apache2/sites-available/groupoffice.conf

then, add the following lines to 窶枠roupoffice.conf窶 configuration file:

<VirtualHost *:80>
 This email address is being protected from spambots. You need JavaScript enabled to view it.
DocumentRoot /var/www/html/group-office/
<Directory /var/www/html/group-office/>
Options FollowSymLinks
AllowOverride All
ErrorLog /var/log/apache2/
CustomLog /var/log/apache2/ common

Edit the 窶/etc/php5/apache2/php.ini窶 PHP configuration file and add/modify the following line:

expose_php = Off

Optionally, install Ioncube loaders to enable the professional modules. Please note, if you like to use the professional modules, you need to purchase a professional license for Group-Office.

cd /opt
tar -xvzf ioncube_loaders_lin_x86-64.tar.gz
cd ioncube

Run the following commands:

php -v
PHP 5.5.9-1ubuntu4.5 (cli) (built: Oct 29 2014 11:59:10)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

php -i | grep extension_dir
extension_dir => /usr/lib/php5/20121212 => /usr/lib/php5/20121212

Copy the appropriate ioncube module to the PHP modules directory. For example, if you have PHP 5.5.x version installed on your server, copy file. If you have PHP 5.4.x version copy file etc.

cp /usr/lib/php5/20121212/

Edit the 窶/etc/php5/apache2/php.ini窶 PHP configuration file and add the following line:

zend_extension = /usr/lib/php5/20121212/

Restart the Apache web server for the changes to take effect:

sudo service apache2 restart

Create a Group-Office configuration file named 窶歪onfig.php窶:

touch /var/www/html/group-office/config.php

Also, create a protected directory for storage outside of the document root (e.g. /opt/group-office). This directory should not be accessible through the web server.

mkdir -p /opt/group-office

The web server user (www-data) needs to be able to write to the Group-Office files and directories inside the 窶/var/www/html/group-office窶 and 窶/opt/group-office窶 directories including the Group-Office configuration file (config.php), so it can easily be accomplished by executing the following commands:

chown www-data:www-data -R /var/www/html/group-office/
chown www-data:www-data /opt/group-office

Open in your favorite web browser and follow the easy instructions. Change protected files path to /opt/group-office/, fill out the regional settings, SMTP server settings, database connections settings, enter the administrator account details and click on 窶呂ontinue窶 button to create the database for Group-Office. Then, make sure 窶/var/www/html/group-office/config.php窶 is not writable anymore:

chmod 644 /var/www/html/group-office/config.php

That is it. The Group-Office installation is now complete.
group-office back-end 300w, 104w, 50w, 75w" sizes="(max-width: 350px) 100vw, 350px" style="box-sizing: border-box; max-width: 100%; margin: 0px; padding: 0px; border-style: none; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: middle; height: auto;">

Of course you don窶冲 have to do any of this if you use one of ourツUbuntuツHosting Services, in which case you can simply ask our expert Linux admins toツinstall Group-Officeツfor you. They are available 24テ7 and will take care of your request immediately.

Add comment

Articles by Date

TweetTweet Share on LinkedInShare on LinkedIn Share on Google+Google+ Submit to RedditReddit Publish on WordPress WordPress Send emailSend email