Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

How to install odoo12 step by step not by using any script.

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
installationstepsodoo12
9 Răspunsuri
12422 Vizualizări
Imagine profil
Pallavi

Hi,

I want to install odoo12 but not by using any script. Could anyone provide me the step by step process to install odoo12 without any script

Thanks in advance!

0
Imagine profil
Abandonează
Sehrish

How to install odoo: https://goo.gl/vjzEoH

Imagine profil
Ermin Trevisan
Cel mai bun răspuns

You may also want to read the official directions of Odoo at Odoo Documentation

1
Imagine profil
Abandonează
Yenthe Van Ginneken (Mainframe Monkey)

I've slightly improved your link but this is the good answer :)

Imagine profil
Hilar Andikkadavath
Cel mai bun răspuns

Here I am Sharing the Step By Step procedure of ODOO 11 Installation. Change the version and dependency accordingly.


If Python is already installed, make sure it is 3.5 or above that, previous versions are not compatible with Odoo 11

Open the terminal and execute below commands step-by-step to achieve excellence:

Step 1: 

Update apt source-lists:

sudo apt-get update

Step 2: 

Create the Odoo user that will own and run the application

sudo adduser --system --home=/opt/odoo --group odoo

Step 3: 

Install and configure the database server, PostgreSQL

sudo apt-get install -y postgresql postgresql-contrib

Once the PostgreSQL is installed, next we set up a new PostgreSQL user for our application. This user will be used for making all the database interaction from the Odoo.

sudo service postgresql start

sudo su - Postgres

createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo
Enter password for new role: *****
Enter it again:*****

Finally exit from the Postgres user account:

exit


FIX 2: Check if your PostgreSQL has proper encoding(UTF-8) or not, used in Odoo Application, if not you can do like this:


sudo su - postgres
psql
update pg_database set encoding = pg_char_to_encoding('UTF8');
\q
exit

FIX 3: Set The Locale To UTF-8 For Python 3, if you are getting UnicodeEncodeError /UnicodeDecodeError, you can fix it, as You can also check this LINK

Directly execute these commands:

locale-gen en_US.UTF-8

export LANG=en_US.UTF-8 LANGUAGE=en_US.en LC_ALL=en_US.UTF-8

FIX 4: In PostgreSQL, allow TCP connection, if you are getting error like:

psycopg2.OperationalError: FATAL: Peer authentication failed for user

To fix it,in /etc/postgresql/9.5/main/pg_hba.conf change peer to md5:

# "local" is for Unix domain socket connections only
local     all all     peer md5

Then

sudo service postgresql restart

Step 5: 

Install the necessary Python libraries & other needed libraries needed for the application:

Odoo 11 will use python 3.5(which is pre-installed on our Ubuntu), previously it uses python 2.7, so to install all dependent libraries easily we`ll install pip3 in our server, as:

sudo apt-get install -y python3-pip

Once pip3 is installed on your server, we can proceed with installing other dependent libraries using pip3 as:

pip3 install Babel decorator docutils ebaysdk feedparser gevent greenlet html2text Jinja2 lxml Mako MarkupSafe mock num2words ofxparse passlib Pillow psutil psycogreen psycopg2 pydot pyparsing PyPDF2 pyserial python-dateutil python-openid pytz pyusb PyYAML qrcode reportlab requests six suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt xlrd Pypdf2

or after cloning ODOO Source in step 6 do:

pip3 install wheel
pip3 install -r path_to_odoo_folder_source/requirements.txt

Next is to install Odoo Web Dependencies:

sudo apt-get install -y npm
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo npm install -g less less-plugin-clean-css
sudo apt-get install -y node-less

Once all the packages are installed we are ready to proceed with installing Odoo server.


Step 6:

Installing ODOO version 11 Community Edition hosted on GITHUB.

Make sure you have GIT installed on your system and if not then install with the simple command:

sudo apt-get install -y git

Switch to the Odoo user:

sudo su - odoo -s /bin/bash

Clone the latest branch of Odoo, in our case it is 11.0 from Github:

git clone https://www.github.com/odoo/odoo --depth 1 --branch 11.0 --single-branch .

(This might take a little while depending on the speed of your Internet connection.)

Finally exit from the odoo user account:

exit

Step 7:

The next step is to create a configuration file for Odoo. But before doing so we'll first create the directory for storing logs of Odoo server and assigning proper ownership to the directory:

sudo mkdir /var/log/odoo

sudo chown odoo:root /var/log/odoo

Next is to create the configuration file for the odoo server. Odoo application will use these configurations to run so fill in the configuration as per your requirements.

sudo nano /etc/odoo-server.conf

A sample configuration file will look like this:

[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = odoo
db_password = False
logfile = /var/log/odoo/odoo-server.log
addons_path = /opt/odoo/addons,/opt/odoo/odoo/addons

(* You need to use the same password you used back in step 3.)

Once the configuration file is created we will set the ownership rights

sudo chown odoo: /etc/odoo-server.conf
sudo chmod 640 /etc/odoo-server.conf

Create a systemd unit file
To run odoo as a service we will create an odoo11.service unit file in the /etc/systemd/system/ directory with the following contents:

[Unit]
Description=Odoo11
Requires=postgresql.service
After=network.target postgresql.service

[Service]
Type=simple
SyslogIdentifier=odoo11
PermissionsStartOnly=true
User=odoo
Group=odoo
ExecStart=/opt/odoo/odoo11-venv/bin/python3 /opt/odoo/odoo11/odoo-bin -c /etc/odoo11.conf
StandardOutput=journal+console

[Install]
WantedBy=multi-user.target

Notify systemd that we created a new unit file and start the Odoo service:

sudo systemctl daemon-reload
sudo systemctl start odoo11
check the service status:

sudo systemctl status odoo11

If successful you will get output something like below.

odoo11.service - Odoo11
   Loaded: loaded (/etc/systemd/system/odoo11.service; disabled; vendor preset: enabled)
   Active: active (running) since Thu 2018-05-03 21:23:08 UTC; 3s ago
 Main PID: 18351 (python3)
    Tasks: 4 (limit: 507)
   CGroup: /system.slice/odoo11.service
           └─18351 /opt/odoo/odoo11-venv/bin/python3 /opt/odoo/odoo11/odoo-bin -c /etc/odoo11.conf

if there are no errors you can enable the Odoo service to be automatically started at boot time.

sudo systemctl enable odoo11
to see the messages logged by the Odoo service you can use:
sudo journalctl -u odoo11

Step 8:

Installing the boot script

For the final step, we need to install a script that will be used to start-up & shut-down the Odoo server automatically, with the correct user.

Please Check The Link.

ODOO BOOT SCRIPT

​ Reference:

 https://www.odoo.com/documentation/13.0/setup/install.html

https://www.postgresql.org/

​https://webkul.com/blog/setup-locale-python3/

2
Imagine profil
Abandonează
Pallavi
Autor

Thanks, @Hilar AK

Andre de Kock

Great guide, thanks for sharing

Imagine profil
Niyas Raphy (Walnut Software Solutions)
Cel mai bun răspuns

Hi,

There is lot of blogs/writings available over the net on the same, see: How to Install Odoo 12

Thanks

1
Imagine profil
Abandonează
Ermin Trevisan

Why installing on Ubuntu 16.04 and not on Ubuntu 18.04?

Pallavi
Autor

Hi Niyas,

I am following the blog for installation but when I execute

"sudo tail -f /var/log/odoo12/odoo12.log"

it gives me error

tail: cannot open '/var/log/odoo12/odoo12.log' for reading: No such file or directory

tail: no files remaining

I have properly mentioned log file path in conf file also.

Imagine profil
vondes
Cel mai bun răspuns

For the final step, we need to install a script that will be used to start-up & shut-down the Odoo server automatically, with the correct user.

0
Imagine profil
Abandonează
Hilar Andikkadavath

A link for bootscript is updated in answer.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
how to install sassc? Rezolvat
installation odoo12
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
12
iul. 24
81249
Errors while instalation Odoo 12 + Ubunty 16.04
installation ubuntu odoo12
Imagine profil
Imagine profil
1
nov. 20
23084
Psycopg2 error while installing odoo12 on ubuntu18
installation psycopg2 odoo12
Imagine profil
Imagine profil
Imagine profil
4
iun. 24
8901
Cannot initialize DB in Odoo12 Rezolvat
development installation database odoo12
Imagine profil
Imagine profil
Imagine profil
2
mai 23
24947
unable to install and run odoo 12 ValueError: Name node can't be used with 'None' constant
installation python3 odoo12 cybrosis
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
13
oct. 20
10020
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now