Hi Django,

On 10/26/2015 10:03 AM, Django [BOfH] wrote:
> I was few weeks absend here on this list. I'll ask 'bout the last stable
> version with MariaDB/MySQL support?

Welcome back. I hope everything is ok.

A release candidate for RedHat/CentOS can be downloaded

Backend;

https://www.ciphermail.com/downloads/djigzo-release-2.10.4-4/djigzo-2.10.4-4.noarch.rpm

Web GUI:

https://www.ciphermail.com/downloads/djigzo-release-2.10.4-4/djigzo-web-2.10.4-4.noarch.rpm

The installation documentation still need to updated because the
postgres dependency has now been removed from the main package and a
separate postgres package should be installed.

If I'm not mistaken you are using RedHat/CentOS with MySQL so I have
attached a quick guide on how to install/configure for RedHat/CentOS
with MySQL.

Kind regards,

Martijn Brinkers

-- 
CipherMail email encryption

Open source email encryption gateway with support for S/MIME, OpenPGP
and PDF messaging.

https://www.ciphermail.com

Twitter: http://twitter.com/CipherMail
Download the RPMs

Backend;

https://www.ciphermail.com/downloads/djigzo-release-2.10.4-4/djigzo-2.10.4-4.noarch.rpm

Web GUI:

https://www.ciphermail.com/downloads/djigzo-release-2.10.4-4/djigzo-web-2.10.4-4.noarch.rpm

Instructions:

1. Install RPMs

Install the RPMs using the quick install guide
(https://www.ciphermail.com/documents/quick-install-guide.txt)

Note: skip the parts about postgres

2. Install and configure MySQL (MariaDB)

Install MySQL

$ yum -y install mariadb-server mariadb
$ systemctl start mariadb
$ systemctl enable mariadb

max_allowed_packet should be set to a high value (in mysql config)

$ vi /etc/my.cnf.d/server.cnf

Add the following line below [server]

max_allowed_packet = 128M

Note: the max size depends on the largest email, CRL you want to support.

$ systemctl restart mariadb

3. Create database user and database

$ mysql -u root

CREATE USER 'djigzo'@'localhost' IDENTIFIED BY 'djigzo';
CREATE DATABASE djigzo CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT ALL ON djigzo.* TO 'djigzo'@'localhost';

Note 1: The database should be set to UTF8
Note 2: ALL permission should probably be changed to a lower privilege
but we did not yet check what the minimal required privileges are.

4. Import database scheme

$ mysql -u djigzo --password=djigzo djigzo < 
/usr/share/djigzo/conf/database/sql/djigzo.mysql.sql

5. Tell CipherMail to use MySQL

$ vi /usr/share/djigzo/wrapper/djigzo.wrapper.conf

Uncomment the line:

wrapper.java.additional.15=-Dciphermail.hibernate.database.type=mysql

6. Restart

/etc/init.d/djigzo restart

Restart Tomcat (the exact command depends on the RedHat/CentOS version used)

7. Login to web GUI:

https://192.168.88.248:8443/ciphermail

Where IP address should be changed to the IP address of the gateway
_______________________________________________
Users mailing list
[email protected]
https://lists.djigzo.com/lists/listinfo/users

Reply via email to