How to install eGroupware in Ubuntu

How to install eGroupware in Ubuntu

eGroupware  is free and open source groupware software used for businesses from small to enterprise level. Its primary functions allow users to manage contacts, appointments, projects and to-do lists. eGroupware runs on an Ubuntu base system, requires a webserver, a database server, a mail server etc.

 

Before installing eGroupware, you need to have lamp server installed in your system.Next,install some php modules. 

root@linuxhelp:/home/user1/Desktop# apt-get install php-pear tnef php5 php5-{gd,imap,mysql,ldap}
Reading package lists... Done
Building dependency tree      
Reading state information... Done
..
..
Setting up tnef (1.4.9-1) ...
Processing triggers for libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.20) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...

Enable PHP-IMAP extension

root@linuxhelp:/home/user1/Desktop#  php5enmod imap

Restart the apache web server

root@linuxhelp:/home/user1/Desktop# service apache2 restart
 * Restarting web server apache2     

Install jpgraph which is another eGroupware dependency package.

 root@linuxhelp:/home/user1/Desktop# wget "http://jpgraph.net/download/download.php?p=5" -O /tmp/jpgraph.tar.gz
--2017-01-05 06:16:42--  http://jpgraph.net/download/download.php?p=5
Resolving jpgraph.net (jpgraph.net)... 39.110.227.66
..
..
2017-01-05 06:23:22 (32.5 KB/s) - ‘/tmp/jpgraph.tar.gz’ saved [13286001]

Now, extract the jpgraph tar file and then move the jpgraph file and select the directory. 

root@linuxhelp:/home/user1/Desktop# tar zxf /tmp/jpgraph.tar.gz –c /var/ww/html
root@linuxhelp:/home/user1/Desktop# mv /var/www/html/jpgraph* /var/www/html/jpgraph

Download and install eGroupware.

root@linuxhelp:/home/user1/Desktop# cd /var/www/html/

Download the package from the following link.

http://sourceforge.net/projects/egroupware/files/
root@linuxhelp:/var/www/html #mv /home/user1/Downloads/14.3.20160525.zip /var/www/html/

Extract the package.

root@linuxhelp:/var/www/html# unzip  14.3.20160525.zip
inflating: EGroupware-egroupware-79426c6/timesheet/templates/pixelegg/app.less 
creating: EGroupware-egroupware-79426c6/timesheet/templates/pixelegg/images/
..
..
..
inflating: EGroupware-egroupware-79426c6/timesheet/templates/pixelegg/images/navbar.png 
inflating: EGroupware-egroupware-79426c6/timesheet/templates/pixelegg/images/navbar.svg 
inflating: EGroupware-egroupware-79426c6/webdav.php 
root@linuxhelp:/var/www/html# mv EGroupware-egroupware-79426c6 egroupware

Then set-up ownership to /var/www/html/egroupware directory.

root@linuxhelp:/var/www/html# chown -R www-data: egroupware

Edit the php.ini file and add your time-zone.

root@linuxhelp:/var/www/html# nano /etc/php5/apache2/php.ini

Create database for your eGroupware.

root@linuxhelp:/var/www/html# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or g.
Your MySQL connection id is 48
Server version: 5.5.53-0ubuntu0.14.04.1 (Ubuntu)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
mysql> create database egroupware;
Query OK, 1 row affected (0.09 sec)
mysql> grant all on egroupware.* to egroupware@localhost identified by 'password';
Query OK, 0 rows affected (0.06 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.02 sec)
mysql> exit
Bye

Restart the apache web server

root@linuxhelp:/var/www/html# service apache2 restart
 * Restarting web server apache2             AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message   [ OK ]

Open the web browser and navigate to http://192.168.5.238/egroupware Installer page appears.

installer_page

Installation process starts. Now select continue to header admin

header_admin

eGroupware setup is done. Enter db details,header password,configuration password

db_details

Open the header.inc.php file in the terminal.

root@linuxhelp:/var/www/html/egroupware# nano header.inc.php

Copy the header.inc.php file contents.

php_inc

 

eGroupware login

egroupware_login


Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: eGroupware
user image Author :  Gabriel