# Ciphermail on Odriod XU3 \[SOLVED\]

**URL:** <https://community.ciphermail.com/t/ciphermail-on-odriod-xu3-solved/417>\
**Category:** Gateway\
**Created:** [February 1, 2015, 10:32pm UTC](https://community.ciphermail.com/t/ciphermail-on-odriod-xu3-solved/417 "2015-02-01T22:32:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Gunther](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Stefan\_Gunther](https://community.ciphermail.com/u/Stefan_Gunther)\
**Post date:** [February 1, 2015, 10:32pm UTC](https://community.ciphermail.com/t/ciphermail-on-odriod-xu3-solved/417/1 "2015-02-01T22:32:15Z")

</div>

Hello,

this is a description on how to install Ciphermail on Odroid XU3. Any comments are welcome.

I followed the manual install documentation for Ubuntu Systems. The .deb packages will not work.  
This documentation kicks in at point "2.2 Install Ciphermail" where you begin to download the tar balls:

Download the latest from Djigzo and untar:

sudo -u djigzo tar xzf djigzo\_2.9.0-0.tar.gz --directory /usr/local/djigzo/  
sudo -u djigzo tar xzf djigzo-web\_2.9.0-0.tar.gz --directory /usr/local/djigzo-web/

Change into the directory:

cd /usr/local/djigzo

Change to the Wrappers:

cd wrapper/

Download the appropriate java wrappers for you system architecture into the wrappers directory. For ODROID XU3 it is “armhf”. The wrappers can be found here:

&nbsp;&nbsp;[http://wrapper.tanukisoftware.com/download/](http://wrapper.tanukisoftware.com/download/)

For ODROID XU3 it is:

wget [http://wrapper.tanukisoftware.com/download/3.5.26/wrapper-linux-armhf-32-3.5.26.tar.gz](http://wrapper.tanukisoftware.com/download/3.5.26/wrapper-linux-armhf-32-3.5.26.tar.gz)

Now make a new properties file for your architecture and point it to the newly downloaded wrapperfiles:

echo 'wrapper.dist.tar=wrapper-linux-armhf-32-3.5.26.tar.gz' \> wrapper.dist.Linux.armhf.properties

sudo chown djigzo:djigzo wrapper.dist.Linux.armhf.properties

Now proceed with documented install:

sudo -u djigzo ant

Follow the install documentation to the end. Insert all the necessary scripts etc…

Now the web-djigzo part will start, but the backend may not work jet. It will not start. That may be due to your installed Java version. Depending on your Java installation you may have to use singed bouncycastle files for the djigzo backend part to properly function. All though I installed java as documented, I had Oracels Java 1.8 installed which needed the singed bouncycastle files. Here is what to do:

Change in to the directory with the bouncycastle files:

&nbsp;&nbsp;cd /usr/local/djigzo/lib/

Download the singed bouncycastle files from here:

wget [http://www.bouncycastle.org/download/bcprov-jdk15on-151.jar](http://www.bouncycastle.org/download/bcprov-jdk15on-151.jar)  
wget [http://www.bouncycastle.org/download/bcpkix-jdk15on-151.jar](http://www.bouncycastle.org/download/bcpkix-jdk15on-151.jar)  
wget [http://www.bouncycastle.org/download/bcmail-jdk15on-151.jar](http://www.bouncycastle.org/download/bcmail-jdk15on-151.jar)

wget [http://www.bouncycastle.org/download/bcpg-jdk15on-151.jar](http://www.bouncycastle.org/download/bcpg-jdk15on-151.jar)

Backup your existing files:

sudo mv bcmail.jar /usr/local/djigzo/lib/bcmail.jar.bak  
sudo mv bcpg.jar /usr/local/djigzo/lib/bcpg.jar.bak  
sudo mv bckix.jar /usr/local/djigzo/lib/bckix.jar.bak  
sudo mv bcprov.jar /usr/local/djigzo/bcprov.jar.bak  
sudo mv bcpkix.jar /usr/local/djigzo/lib/bcpkix.jar.bak

Now rename your freshly downloaded singed files:

sudo mv bcmail-jdk15on-151.jar bcmail.jar  
sudo mv bcpg-jdk15on-151.jar bcpg.jar  
sudo mv bcpkix-jdk15on-151.jar bcpkix.jar  
sudo mv bcprov-jdk15on-151.jar bcprov.jar

And give permissions to djigzo:

sudo chown djigzo:djigzo bc\*

Now start the backend:

&nbsp;&nbsp;sudo service djigzo restart

Now you should be set up to configure your newly installed ciphermail system!

Enjoy!

Stefan
