fbpx

Technical Architecture

Installation Guide

api

This installation guide pertains to the latest version of the ERP. For earlier versions, please feel free to visit the forum.

As an Open Source publisher, this installation guide is intended for Open Source environments. For users of proprietary solutions, you will find the technical prerequisites in our dedicated documentation.

However, Tomcat is required to deploy the web application.

sync Flow

From To Visibility / Protocol Port
Client Application Server: Apache/Nginx Internet / HTTPS 433
Application Server: Apache/Nginx Application Server: Apache Tomcat Intranet / HTTP ( ou AJP ) 8080 (8009)
Application Server: Tomcat Database Server: PostgreSQL Intranet / TCP 5432

download Software Installation

The following commands allow you to install the necessary tools. They may need to be adapted depending on the target environment (Ubuntu 22.04/ubuntu/suse/..) and specific configurations.

Database server

PostgreSQL Installation

Ubuntu 22.04

Installation of the default version of PostgreSQL, which is version 14 on Ubuntu Server 22.04.

$ sudo apt install postgresql
$ sudo su postgres && cd
$ createuser --no-superuser --username postgres --pwprompt axelor
$ psql template1 -q -c 'CREATE EXTENSION unaccent;'
$ createdb --owner=axelor axelor
$ exit

A database named ‘Axelor’ and a user named ‘Axelor’ will be created. Verify that the cluster is UP with the command “pg_lsclusters”

Ver Cluster Port Status Owner Data directory Log file
14 main 5432 online postgres /var/lib/postgresql/14/main /var/log/postgresql/postgresql-14-main.log

Java Installation

Ubuntu 22.04

Installation of the default version of Java, which is version 11, on Ubuntu Server 22.04.

$ sudo apt install default-jdk

Verify that Java is installed correctly with the command “java -version”

$ openjdk version "11.0.16" 2022-07-19
$ OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu122.04)
$ OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu122.04, mixed mode, sharing)

Installation of the client environment

Ubuntu 22.04

$ mkdir src && mkdir opt

Installation of Apache Tomcat (version 9)

Ubuntu 22.04

⚠ The second instruction line allows you to retrieve version 9.0.72. If you want a more recent version, visit the Tomcat version 9 site to get the correct URL.

$ cd ~/opt
$ wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.72/bin/apache-tomcat-9.0.72.tar.gz --no-check-certificate
$ tar -xzf apache-tomcat-9.0.72.tar.gz 
$ ln -s /home/axelor/opt/apache-tomcat-9.0.72 /home/axelor/opt/default-tomcat 
$ rm apache-tomcat-9.0.72.tar.gz 
$ rm -rf default-tomcat/webapps/*
$ sed -z -r -i 's/(<Valve className="org.apache.catalina.valves.AccessLogValve".*\/>)/<!--\1-->/' /home/axelor/opt/default-tomcat/conf/server.xml
$ sed -i 's/<Connector port="8080" protocol="HTTP\/1.1"/<Connector port="8080" protocol="HTTP\/1.1" \n\t\taddress="127.0.0.1" \n\t\tproxyPort="443" secure="true" scheme="https"/' /home/axelor/opt/default-tomcat/conf/server.xml
$ sudo nano /etc/systemd/system/axelor-tomcat.service
$ sudo nano /etc/logrotate.d/axelor-tomcat 
$ sudo systemctl daemon-reload
$ sudo systemctl enable axelor-tomcat
$ cd

Installation of Nginx (optional)

Ubuntu 22.04

$ sudo apt install nginx
$ sudo vi /etc/nginx/sites-available/exemple.axelor.com 
$ sudo ln -s /etc/nginx/sites-available/exemple.axelor.com /etc/nginx/sites-enabled/ exemple.axelor.com
$ sudo service nginx restart 

Install Axelor Open Suite

You can find the mentioned WAR files on our GitHub at this link.

Ubuntu 22.04

$ cd ~/src/
$ unzip %path_to_war_file% -d axelor-version_app 
$ # Update axelor-version_app/WEB-INF/classes/axelor-config.properties
$ cp -r /home/axelor/src/axelor-version_app /home/axelor/opt/default-tomcat/webapps/ROOT
$ sudo systemctl start axelor-tomcat

Discover how our ERP can help improve your company’s performance

An expert will contact you shortly to discuss your project.









    • United States
    • United Kingdom
    • Afghanistan (‫افغانستان‬‎)
    • Åland Islands (Åland)
    • Albania (Shqipëri)
    • Algeria (‫الجزائر‬‎)
    • American Samoa
    • Andorra
    • Angola
    • Anguilla
    • Antigua and Barbuda
    • Argentina
    • Armenia (Հայաստան)
    • Aruba
    • Australia
    • Austria (Österreich)
    • Azerbaijan (Azərbaycan)
    • Bahamas
    • Bahrain (‫البحرين‬‎)
    • Bangladesh (বাংলাদেশ)
    • Barbados
    • Belarus (Беларусь)
    • Belgium (België)
    • Belize
    • Benin (Bénin)
    • Bermuda
    • Bhutan (འབྲུག)
    • Bolivia
    • Bosnia and Herzegovina (Босна и Херцеговина)
    • Botswana
    • Brazil (Brasil)
    • British Indian Ocean Territory
    • British Virgin Islands
    • Brunei
    • Bulgaria (България)
    • Burkina Faso
    • Burundi (Uburundi)
    • Cambodia (កម្ពុជា)
    • Cameroon (Cameroun)
    • Canada
    • Cape Verde (Kabu Verdi)
    • Caribbean Netherlands
    • Cayman Islands
    • Central African Republic (République Centrafricaine)
    • Chad (Tchad)
    • Chile
    • China (中国)
    • Christmas Island
    • Cocos (Keeling) Islands (Kepulauan Cocos (Keeling))
    • Colombia
    • Comoros (‫جزر القمر‬‎)
    • Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)
    • Congo (Republic) (Congo-Brazzaville)
    • Cook Islands
    • Costa Rica
    • Côte d’Ivoire
    • Croatia (Hrvatska)
    • Cuba
    • Curaçao
    • Cyprus (Κύπρος)
    • Czech Republic (Česká republika)
    • Denmark (Danmark)
    • Djibouti
    • Dominica
    • Dominican Republic (República Dominicana)
    • Ecuador
    • Egypt (‫مصر‬‎)
    • El Salvador
    • Equatorial Guinea (Guinea Ecuatorial)
    • Eritrea
    • Estonia (Eesti)
    • Ethiopia
    • Falkland Islands (Islas Malvinas)
    • Faroe Islands (Føroyar)
    • Fiji
    • Finland (Suomi)
    • France
    • French Guiana (Guyane française)
    • French Polynesia (Polynésie française)
    • Gabon
    • Gambia
    • Georgia (საქართველო)
    • Germany (Deutschland)
    • Ghana (Gaana)
    • Gibraltar
    • Greece (Ελλάδα)
    • Greenland (Kalaallit Nunaat)
    • Grenada
    • Guadeloupe
    • Guam
    • Guatemala
    • Guernsey
    • Guinea (Guinée)
    • Guinea-Bissau (Guiné Bissau)
    • Guyana
    • Haiti
    • Honduras
    • Hong Kong (香港)
    • Hungary (Magyarország)
    • Iceland (Ísland)
    • India (भारत)
    • Indonesia
    • Iran (‫ایران‬‎)
    • Iraq (‫العراق‬‎)
    • Ireland
    • Isle of Man
    • Israel (‫ישראל‬‎)
    • Italy (Italia)
    • Jamaica
    • Japan (日本)
    • Jersey
    • Jordan (‫الأردن‬‎)
    • Kazakhstan (Казахстан)
    • Kenya
    • Kiribati
    • Kosovo (Kosovë)
    • Kuwait (‫الكويت‬‎)
    • Kyrgyzstan (Кыргызстан)
    • Laos (ລາວ)
    • Latvia (Latvija)
    • Lebanon (‫لبنان‬‎)
    • Lesotho
    • Liberia
    • Libya (‫ليبيا‬‎)
    • Liechtenstein
    • Lithuania (Lietuva)
    • Luxembourg
    • Macau (澳門)
    • Macedonia (FYROM) (Македонија)
    • Madagascar (Madagasikara)
    • Malawi
    • Malaysia
    • Maldives
    • Mali
    • Malta
    • Marshall Islands
    • Martinique
    • Mauritania (‫موريتانيا‬‎)
    • Mauritius (Moris)
    • Mayotte
    • Mexico (México)
    • Micronesia
    • Moldova (Republica Moldova)
    • Monaco
    • Mongolia (Монгол)
    • Montenegro (Crna Gora)
    • Montserrat
    • Morocco (‫المغرب‬‎)
    • Mozambique (Moçambique)
    • Myanmar (Burma) (မြန်မာ)
    • Namibia (Namibië)
    • Nauru
    • Nepal (नेपाल)
    • Netherlands (Nederland)
    • New Caledonia (Nouvelle-Calédonie)
    • New Zealand
    • Nicaragua
    • Niger (Nijar)
    • Nigeria
    • Niue
    • Norfolk Island
    • North Korea (조선 민주주의 인민 공화국)
    • Northern Mariana Islands
    • Norway (Norge)
    • Oman (‫عُمان‬‎)
    • Pakistan (‫پاکستان‬‎)
    • Palau
    • Palestine (‫فلسطين‬‎)
    • Panama (Panamá)
    • Papua New Guinea
    • Paraguay
    • Peru (Perú)
    • Philippines
    • Pitcairn Islands
    • Poland (Polska)
    • Portugal
    • Puerto Rico
    • Qatar (‫قطر‬‎)
    • Réunion (La Réunion)
    • Romania (România)
    • Russia (Россия)
    • Rwanda
    • Saint Barthélemy (Saint-Barthélemy)
    • Saint Helena
    • Saint Kitts and Nevis
    • Saint Lucia
    • Saint Martin (Saint-Martin (partie française))
    • Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)
    • Saint Vincent and the Grenadines
    • Samoa
    • San Marino
    • São Tomé and Príncipe (São Tomé e Príncipe)
    • Saudi Arabia (‫المملكة العربية السعودية‬‎)
    • Senegal (Sénégal)
    • Serbia (Србија)
    • Seychelles
    • Sierra Leone
    • Singapore
    • Sint Maarten
    • Slovakia (Slovensko)
    • Slovenia (Slovenija)
    • Solomon Islands
    • Somalia (Soomaaliya)
    • South Africa
    • South Georgia & South Sandwich Islands
    • South Korea (대한민국)
    • South Sudan (‫جنوب السودان‬‎)
    • Spain (España)
    • Sri Lanka (ශ්‍රී ලංකාව)
    • Sudan (‫السودان‬‎)
    • Suriname
    • Svalbard and Jan Mayen (Svalbard og Jan Mayen)
    • Swaziland
    • Sweden (Sverige)
    • Switzerland (Schweiz)
    • Syria (‫سوريا‬‎)
    • Taiwan (台灣)
    • Tajikistan
    • Tanzania
    • Thailand (ไทย)
    • Timor-Leste
    • Togo
    • Tokelau
    • Tonga
    • Trinidad and Tobago
    • Tunisia (‫تونس‬‎)
    • Turkey (Türkiye)
    • Turkmenistan
    • Turks and Caicos Islands
    • Tuvalu
    • Uganda
    • Ukraine (Україна)
    • United Arab Emirates (‫الإمارات العربية المتحدة‬‎)
    • United Kingdom
    • United States
    • U.S. Minor Outlying Islands
    • U.S. Virgin Islands
    • Uruguay
    • Uzbekistan (Oʻzbekiston)
    • Vanuatu
    • Vatican City (Città del Vaticano)
    • Venezuela
    • Vietnam (Việt Nam)
    • Wallis and Futuna
    • Western Sahara (‫الصحراء الغربية‬‎)
    • Yemen (‫اليمن‬‎)
    • Zambia
    • Zimbabwe



    Axelor collects your data in order to respond to your request and possibly develop a business relationship with you. To learn more about the management of your personal data and to exercise your rights, please refer to our Privacy Policy.