Installation of JAHIA community on Debian

From EN Ikoula wiki
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

en:Installation of JAHIA community on Debian he:התקנה של הקהילה JAHIA על דביאן ro:Instalarea de JAHIA Comunităţii pe Debian ru:Установка JAHIA сообщества на Debian pl:Instalacji JAHIA Wspólnoty na Debianie ja:JAHIA コミュニティ Debian のインストール ar:تركيب المجتمع جيا على ديبيان zh:JAHIA 社区对 Debian 的安装 de:Installation von Debian-JAHIA community nl:Installatie van JAHIA Gemeenschap over Debian it:Installazione della Comunità JAHIA su Debian pt:Instalação da Comunidade JAHIA no Debian es:Instalación de la comunidad JAHIA en Debian fr:Installation de JAHIA community sur Debian

This article has been created by an automatic translation software. You can view the article source here.

Prerequisites

The following documentation is based on an installation on GNU /Linux Debian 8 with the Jahia Digital Factory solution 7.1.0.0.
You can download the version used in this article on the link next.

Jahia uses java in its operation as well as during its installation. You must therefore proceed with the installation of java before.
To do this, you can perform the following manipulation :

apt-get install openjdk-7-jre

You must then retrieve the jar used for the installation of the application, file for example :

https://www.jahia.com/public/digitalfactory-7.1.0/bin/DigitalFactory-CommunityDistribution-7.1.0.0-r52740.jar

Discovery mode Setup

This mode of Setup allows to install all the components at once. It includes Jahia, un Server Tomcat, Apache Derby base together with a demonstration sites.
It is advisable to use this mode for testing and not to retain this installation in production.

You can start the installation via the command :

java -jar DigitalFactory-CommunityDistribution-7.1.0.0-r52740.jar

As a first step, you should validate the license to use the software. Once this is done, choose the default option which is the discovery mode.
You must fill in a password, the latter you will use to access the web interface (keep them ).

Finally several questions you are asked about the paths of different application, e.g. :

Select the path for your LibreOffice or OpenOffice install
[]
Select the path for your imagemagick install
[]
------------------------------------------
Select the pdf2swf executable file
[]
Select the ffmpeg executable file
[]

If these applications are accessible directly (because in the PATH )then it is unnecessary to indicate these parameters.

The installation is then only until make you the hand of the terminal. You can then start the solution via the command :

cd /usr/local/DigitalFactory-CommunityDistribution-7.1.0.0
./startDigitalFactory.sh

The launch of the application (especially the first time ) may take several minutes.
Jahia is now available on the URL : http://Votre_IP_ICI:8080

Installation in custom mode

This mode of Setup allows installation of JAHIA using of application different like for example MySQL, Postgres, Tomcat, etc or use other versions.
Our example below will use a Server MySQL in place of the Apache Derby database presents in the discovery system.

/!\ Attention : Here are the prerequisites required to allow installation with MySQL to work :

  • You must have the following option in the configuration of MySQL : max_allowed_packet = 100M
  • You must have created the basic naming jahia in advance,

You can start the installation via the command :

java -jar DigitalFactory-CommunityDistribution-7.1.0.0-r52740.jar

When selecting the installation mode, you must choose the second mode called Custom.
You will be asked, following this, choose whether you want to integrate the installation of tomcat :

[x] Add Apache Tomcat - generate a complete installation folder (Uncheck this option to generate a standalone application package for a specific application server. When this option is checked, you will have a complete installation folder (including Apache Tomcat) and will be able to start your personalized Digital Factory instance right after the completion of this installation wizard.)

And then, you choose the Server database via options :

0  [x] MySQL 5.x
1  [ ] PostgreSQL 9.x
2  [ ] Sun Java DB / Apache Derby (standalone)

We choose in our example the first option, we must configure the options of MySQL connections :

Database driver (*) [com.mysql.jdbc.Driver]:      Ne pas modifier
Database URL (*) [jdbc:mysql://localhost/jahia?useUnicode=true&characterEncoding=UTF-8&useServerPrepStmts=false]
Database username [jahia]:                               Votre utilisateur MySQL
Database password [jahia]:                                Le mot de passe de cet utilisateur

[ ] Store binary data in the database? :              Il est conseillé de laisser cette option désactivé par défaut. Le stockage en fichier étant souvent plus rapide que celui en base.
[x] Create required database tables? :               Indique si vous souhaitez procéder à la création des tables. Ne pas utiliser si vous avez déjà votre table. 

Following this, you can configure tomcat through options options :

Apache Tomcat configuration
------------------------------------------
HTTP connector port (*) [8080]                     : port d'écoute de tomcat, servira pour accéder à l'application
HTTPS redirect port (*) [8443]                       : port d'écoute mais pour le protocole HTTPS
AJP connector port (*) [8009]                        : port d'écoute pour le connecteur AJP (plus d'informations sur le lien suivant: https://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html )
Server shutdown port (*) [8005]                    : port d'écoute de tomcat pour la commande shutdown. La valeur "-1" permet de désactiver ce fonctionnement.

Web application settings
------------------------------------------
Context name (context path without /) []       : chemin d'accès de l'application 
Jahia tool manager username (*) [jahia]       : utilisateur de l'accès a l'interface "Jahia tool manager"
Jahia tool manager password (*) [jahia]        : mot de passe de ce même utilisateur

Then the administrator account information (root ) de l'application:

Username: root
Password (*) 
First name []
Last name []
E-mail []
	
Preferred language
0  [ ] Deutsch
1  [x] English
2  [ ] Español
3  [ ] Français
4  [ ] Italiano
5  [ ] Português

Information for sending mail :

Mail server []                                    : le serveur servant pour l'envoie de mail
Mail administrator - recipient []        : l'adresse mail de l'administrateur recevant les mails du système
Mail from - sender []                        : l'adresse mail servant à envoyer les mails (champ From).

The last step involves the paths for various executables that can be used by the application :

Provide the path for your Maven executable (mvn)
[]
Provide the path for your Subversion executable (svn)
[]
Provide the path for your Git executable (git)
[]
Select the path for your LibreOffice or OpenOffice install
[]
Select the path for your imagemagick install
[]
------------------------------------------
Select the pdf2swf executable file
[]
Select the ffmpeg executable file
[]
Path to a folder with additional modules to be deployed
[]
Runtime data path [/usr/local/DigitalFactory-CommunityDistribution-7.1.0.0/digital-factory-data]
Configuration path [/usr/local/DigitalFactory-CommunityDistribution-7.1.0.0/digital-factory-config]

The installation is then only until make you the hand of the terminal. You can then start the solution via the command :

cd /usr/local/DigitalFactory-CommunityDistribution-7.1.0.0
./startDigitalFactory.sh

The launch of the application (especially the first time ) may take several minutes.
Jahia is now available on the URL : http://Votre_IP_ICI:(HTTP connector port)



This article seemed you to be useful ?

0



You are not allowed to post comments.