Ask questions about installing and configuring ProcessMaker 3
By BenGonGon
#795288
hello,
I have problem to install Processmaker 3.2.1 on Debian linux 9.1 Stretch.
Someone have a tutorial for doing that?
Best regards.
User avatar
By amosbatto
#795312
You are going to have to downgrade to PHP 5.6 and MySQL 5.6 to get PM to work in Debian Stretch. I will work on instructions next week, so check back if you can't figure it out.
By BenGonGon
#795329
Thank you for your help,
Sure, I do not forgot to check this post.

1) I work with debian 9 in server mode (nothing checked in package installation when I install it) because I want to dedicate vm to PM only.
2) It is possible to replace apache by nginx?
User avatar
By amosbatto
#795351
We have instructions on the wiki for installing PM 2 in nginx, but nobody has tried it with PM 3. Feel free to try it and see what happens.
User avatar
By amosbatto
#795763
I finally got around to installing PM 3.2.1 in Debian 9 (stretch). See the instructions for installing PM3 in Debian 8, in addition to these instructions.

Installing PM 3.2.X in Debian 9
Follow these instructions to install PM 3.2.X in Debian 9 (stretch).

Install MySQL
ProcessMaker has not been tested with MariaDB which has replaced MySQL in the Debian 9 repositories. It is recommended to install MySQL in place of MariaDB.

Note: If MariaDB is already installed, then you need to delete it and all its configuration files:
Code: Select all
apt-get purge --auto-remove mariadb-server
[/color]

Go to https://dev.mysql.com/downloads/repo/apt/ and check for the latest MySQL APT Repository package. Copy the name of the mysql-apt-config_X.X.X-X_all.deb file.
CopyMysqlAptPackageName.png
CopyMysqlAptPackageName.png (33.16 KiB) Viewed 6202 times
Then use that filename in the following URL to download the .deb package for the MySQL repository.
For example:
Code: Select all
wget https://dev.mysql.com/get/mysql-apt-config_0.8.8-1_all.deb
Confirm that it downloaded:
Code: Select all
# ls
mysql-apt-config_0.8.8-1_all.deb
Switch to the root user or use sudo. Then, install it:
Code: Select all
su     or    sudo -s
dpkg -i mysql-apt-config_0.8.8-1_all.deb
The repository configuration file /etc/apt/sources.list.d/mysql.list will be added to your system.

Then, update the list of available packages from the repositories:
Code: Select all
apt update
Verify that MySQL will be installed and not MariaDB from the Debian repositories:
Code: Select all
# apt show mysql-server
Package: mysql-server
Version: 5.6.37-1debian9
Priority: optional
Section: database
Source: mysql-community
Maintainer: MySQL Release Engineering <mysql-build@oss.oracle.com>
Installed-Size: 24.6 kB
Depends: mysql-community-server (= 5.6.37-1debian9)
Homepage: http://www.mysql.com/
Download-Size: 12.6 kB
APT-Manual-Installed: yes
APT-Sources: http://repo.mysql.com/apt/debian stretch/mysql-5.6 amd64 Packages
Then, install MySQL 5.6:
Code: Select all
apt install mysql-server
When done installing, verify that it has been properly started as a service by Systemd:
Code: Select all
# systemctl status mysql.service
● mysql.service - MySQL Community Server
   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2017-09-28 23:19:25 -04; 35min ago
 Main PID: 2847 (mysqld_safe)
    Tasks: 23 (limit: 4915)
   CGroup: /system.slice/mysql.service
           ├─2847 /bin/sh /usr/bin/mysqld_safe
           └─2988 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugi

Sep 28 23:18:59 debian systemd[1]: Starting MySQL Community Server...
Sep 28 23:18:59 debian mysqld_safe[2847]: 170928 23:18:59 mysqld_safe Logging to '/var/log/mysql/error.log'.
Sep 28 23:18:59 debian mysqld_safe[2847]: 170928 23:18:59 mysqld_safe Starting mysqld daemon with databases 
Sep 28 23:19:25 debian systemd[1]: Started MySQL Community Server.
(Press q to exit.)

Install Apache
Then, install Apache 2.4 from the Debian repositories:
Code: Select all
apt install apache2
Verify that Apache has been correctly installed and is functioning as a service:
Code: Select all
# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2017-09-29 00:09:44 -04; 3min 36s ago
  Process: 13509 ExecStop=/usr/sbin/apachectl stop (code=exited, status=0/SUCCESS)
  Process: 13515 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
 Main PID: 13520 (apache2)
    Tasks: 6 (limit: 4915)
   CGroup: /system.slice/apache2.service
           ├─13520 /usr/sbin/apache2 -k start
           ├─13523 /usr/sbin/apache2 -k start
           ├─13524 /usr/sbin/apache2 -k start
           ├─13525 /usr/sbin/apache2 -k start
           ├─13526 /usr/sbin/apache2 -k start
           └─13527 /usr/sbin/apache2 -k start

Sep 29 00:09:44 debian systemd[1]: Stopped The Apache HTTP Server.
Sep 29 00:09:44 debian systemd[1]: Starting The Apache HTTP Server...
Sep 29 00:09:44 debian apachectl[13515]: 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
Sep 29 00:09:44 debian systemd[1]: Started The Apache HTTP Server.
If there is a warning about the server’s fully qualified domain name not being set, see http://wiki.processmaker.com/3.0/Proces ... ServerName

Install PHP
ProcessMaker 3.2.X is not compatible with PHP 7.0 in the Debian repositories. To install PHP 5.6, first add Ondřej Surý’s deb.sury.org repository to apt’s sources list and then update the list of available packages:
Code: Select all
apt-get install apt-transport-https lsb-release ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
apt-get update
After the deb.sury.org repository has been added, then install PHP 5.6 and the extensions needed by ProcessMaker:
Code: Select all
apt install php5.6 php5.6-mysql php5.6-gd php5.6-ldap php5.6-curl php5.6-cli php5.6-mcrypt php5.6-mbstring php5.6-xml php5.6-soap
Then, configure PHP:
Code: Select all
nano /etc/php/5.6/apache2/php.ini
Install openssh-server and phpMyAdmin

Note: When phpMyAdmin is installed, it will automatically install PHP 7.1, since it is a dependency of the phpMyAdmin package. It is not a problem to have multiple versions of PHP installed. Just make sure that the default version of PHP is version 5.6. To check, issue the following command:
Code: Select all
# php -v
PHP 5.6.31-4+0~20170804100714.6+stretch~1.gbpea630b (cli) 
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

Downloading and installing PM
Go to http://sourceforge.net/projects/process ... cessMaker/ and download the latest PM tarball.

If working from the commend line, then the wget command can be used to download the file:
Code: Select all
wget https://sourceforge.net/projects/processmaker/files/ProcessMaker/3.X.X/processmaker-3.X.X-community.tar.gz
For example:
Code: Select all
wget https://sourceforge.net/projects/processmaker/files/ProcessMaker/3.2.1/processmaker-3.2.1-community.tar.gz
Then, decompress the tarball in the location where ProcessMaker will be installed:
Code: Select all
tar -C /opt -xzvf processmaker-X.X.X-community.tar.gz  
After configuring Apache, restart it:
Code: Select all
systemctl restart apache2
Check that there were no errors or warnings in the configuration:
Code: Select all
systemctl status apache2
In the web browser, enter the domain name or IP address which was configured to be used by Apache.

If you see a page entitled “Apache2 Debian Default Page”, then issues these commands to disable the default site:
Code: Select all
a2dissite 000-default.conf
systemctl restart apache2
By BenGonGon
#795800
Hello,
Sorry to answer you so late.

Thank you very much for your tuto.
You are the boss

but I have 2 problems :
1) in /etc/apache2/sites-available/pmos.conf, the "ExpiresActive On" give me error when restart apache. (solved with "a2enmod expires.load")
2) a NOT FOUND on toto.com/sys/en/neoclassic/login/login. (solved with "a2enmod rewrite, a2enmod deflate, a2enmod vhost_alias)

In the rapidly evolving world of online sports be[…]

STEPN integrates social networking and games that […]

Cenforce 150 is a medication used to cope with a c[…]

What's SAP FICO?

Trustworthy and skill-building, each of these actu[…]