What is ProcessMaker and how to install it on Ubuntu Server 16.04

ProcessMaker is an open source Business Process Management (BPM) platform designed to automate workflows and improve business efficiency. Business analysts and IT users can create process maps, build web forms, set email notifications, build reports, and more. Analysts can be streamlining processes while decision makers can monitor progress with flexible dashboards and KPIs, all starting within minutes of launching the application. With mobile applications and support for RESTful APIs, the full functionality of the application can be brought with you anywhere and adds additional value to existing applications. Say goodbye to lost or delayed forms, redundant emails, and confusing excel spreadsheets and hello to efficiently managed workflows.

Installation:

Before we start the installation go ahead for LAMP installation with this link. Be informed that ProcessMaker 3 is not compatible with Php7.

Step 1:

Ubuntu 16.04 comes with PHP 7 which is not supported by ProcessMaker. However, PHP 5.6 can be installed from an alternative repository:

~$ sudo add-apt-repository ppa:ondrej/php

~$ sudo apt-get update

~$ sudo apt-get install apache2 mysql-server php5.6 php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml php5.6-gd php5.6-ldap php5.6-curl php5.6-cli php5.6-soap

Step 2:

The default configuration of PHP should be able to run ProcessMaker, however, check the following settings if PHP’s configuration file php.ini has been modified.

~$ sudo nano /etc/php/5.6/apache2/php.ini

Search for the following lines and edit them using the following configurations:

file_uploads = On

short_open_tag = On

memory_limit = 512M

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

display_errors = Off

post_max_size = 24M

upload_max_filesize = 24M

It is also recommended to set the date.timezone to a your time zone as shown below:

date.timezone = Asia/Istanbul

Step 3:

Go to ProcessMaker’s SourceForge page and download a recent tarball of ProcessMaker and then decompress it:

~$ wget https://netix.dl.sourceforge.net/project/processmaker/ProcessMaker/3.2.1/processmaker-3.2.1-community.tar.gz

~$ sudo tar -C /opt -xzvf processmaker*

Set file permissions:

~$ cd /opt/processmaker

~$ sudo chmod -R 770 shared workflow/public_html gulliver/js gulliver/thirdparty/html2ps_pdf/cache

~$ cd workflow/engine/

~$ sudo chmod -R 770 config content/languages plugins xmlform js/labels

~$ sudo chown -R www-data:www-data /opt/processmaker

 

Step 4:

Grant a user on MySQL:

~$ mysql -u root -p

mysql> grant all on *.* to ‘USER’@’localhost’ identified by ‘PASSWORD’ with grant option;

mysql> exit;

Replace USER with the name of your MySQL user and PASSWORD with the password for that user and start the service:

~$ sudo service mysql start

 

Step 5:

Configure Apache:

Copy the sample ProcessMaker configuration file (pmos.conf.example):

~$ sudo cp /opt/processmaker/pmos.conf.example /etc/apache2/sites-available/pmos.conf

Then edit the pmos.conf file to fit your environment:

~$ sudo nano /etc/apache2/sites-available/pmos.conf

 

#processmaker virtual host

<VirtualHost your_ip_address >

ServerName “your_processmaker_domain

DocumentRoot /opt/processmaker/workflow/public_html

DirectoryIndex index.html index.php

<Directory /opt/processmaker/workflow/public_html>

Options Indexes FollowSymLinks MultiViews

AddDefaultCharset UTF-8

AllowOverride All

Require all granted

ExpiresActive On

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^.*/(.*)$ app.php [QSA,L,NC]

</IfModule>

#Deflate filter is optional. It reduces download size, but adds slightly more CPU processing:

AddOutputFilterByType DEFLATE text/html

</Directory>

</VirtualHost>

 

Replace your_ip_address with the IP number or domain name of the server running ProcessMaker.

If your DNS or /etc/hosts has a defined domain for ProcessMaker, then use that domain for your_processmaker_domain or IP address

Step 6:

Enable site and modules:

~$ sudo a2ensite pmos.conf

~$ service apache2 reload

Enable all modules will be needed:

~$ sudo a2enmod ldap

~$ sudo a2enmod authnz_ldap

~$ sudo a2enmod deflate

~$ sudo a2enmod expires

~$ sudo a2enmod rewrite

~$ sudo a2enmod ssl

~$ sudo a2enmod vhost_alias

~$ sudo a2enmod filter

 

Step 7:

Disable the default Apache site

~$  sudo a2dissite 000-default.conf

~$  sudo service apache2 reload

Congratulation! The installation of ProcessMaker is done. Now you can browse the server link

PS: At login in Workspace you should type workflows

2 Comments

  1. sayfanızda kali linux ile ilgili bilgi,kurulum, vb. … yazılar ekleyebilirmisiniz ?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.