Basic installation of OpenAtrium

Open Atrium is a platform for building team portals that can be extended to meet highly custom knowledge management needs for large organizations’ intranets and extranets. It starts with “out of the box” features like a blog, a wiki, a calendar, a case tracker, a shoutbox, and a dashboard to manage content. These features can be expanded to meet unique needs for large organizations so that full scale enterprise collaboration sites can be built with Open Atrium as a base. By fully leveraging Drupal, all of the strengths of Drupal can contribute to creating custom features for Open Atrium within a framework that is already tailored for team collaboration.

This cookbook installs the basic software.

To finish the installation, please go to http://_IP_/install.php

If you do not want to create an additional username and password to the database, use

Username: root
(Password is blank)

Please note that the firewall is installed and there it only opens three ports: 22, 80 and 443.

Configuration summary

Ubuntu Trusty Tahr 14.04 Ubuntu Trusty Tahr 14.04
Package iptables install

/etc/firewall.conf ensure file exist

:INPUT DROP [12:696]
:OUTPUT ACCEPT [787:146009]
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT 
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT 
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT 
##-A INPUT -p tcp -m tcp --dport 1099 -j ACCEPT 
-A INPUT -i lo -j ACCEPT 
-A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT 

/etc/network/if-pre-up.d/iptablesload ensure file exist

iptables-restore < /etc/firewall.conf
exit 0

/etc/network/if-pre-up.d ensure directory exist

/etc/network ensure directory exist

/etc ensure directory exist


Post loadiptables-rules

set -u
set -e


Package libapache2-mod-php5 install

/etc/php5/apache2/conf.d/10-openatrium.ini ensure file exist

memory_limit = 256M;

/etc/php5 ensure directory exist

/etc/php5/apache2/conf.d ensure directory exist

/etc/apache2 ensure directory exist

/etc/php5/apache2 ensure directory exist

Package apache2 install

/etc/apache2/sites-available/openatrium.conf ensure file exist

<VirtualHost _default_:80>
        DocumentRoot /var/www/openatrium
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all

Post configure-apache

set -u
set -e

a2dissite 000-default
a2ensite openatrium

Post install-openatrium

- parameter 1:
set -u
set -e

tar xzf  $1 -C /var/www

mv /var/www/openatrium-7.x-2.21 /var/www/openatrium
chown -R www-data:www-data /var/www/openatrium

Package mysql-server install

Post create-database-openatrium

set -u
set -e

echo "CREATE DATABASE openatrium;" | mysql
Package php5-gd install
Package php5-mysql install

Quick Deployment
Advanced Deployment