Skip to Content
Odoo Меню
  • Увійти
  • Спробуйте це безкоштовно
  • Додатки
    Фінанси
    • Бухоблік
    • Виставлення рахунку
    • Витрати
    • Електронні таблиці (BI)
    • Документи
    • Підпис
    Продажі
    • CRM
    • Продажі
    • POS Магазин
    • POS Ресторан
    • Підписки
    • Оренда
    Веб-сайти
    • Конструктор веб-сайту
    • Електронна комерція
    • Блог
    • Форум
    • Живий чат
    • Електронне навчання
    Ланцюг поставок
    • Склад
    • Виробництво
    • PLM
    • Купівлі
    • Технічне обслуговування
    • Якість
    Кадри
    • Співробітники
    • Рекрутинг
    • Відпустки
    • Оцінювання
    • Рекомендації
    • Автотранспорт
    Маркетинг
    • Маркетинг соцмереж
    • Email-маркетинг
    • SMS-маркетинг
    • Події
    • Автом. маркетингу
    • Опитування
    Послуги
    • Проект
    • Табелі
    • Виїзне обслуговування
    • Служба підтримки
    • Планування
    • Призначення
    Продуктивність
    • Обговорення
    • Схвалення
    • IoT
    • IP-телефонія
    • База знань
    • WhatsApp
    Сторонні модулі Odoo Studio Платформа Odoo Cloud
  • Сфери
    Роздрібна торгівля
    • Книжковий магазин
    • Магазин одягу
    • Магазин меблів
    • Продуктовий магазин
    • Магазин будівельних матеріалів
    • Магазин іграшок
    Food & Hospitality
    • Бар та паб
    • Ресторан
    • Фастфуд
    • Guest House
    • Дистриб'ютор напоїв
    • Hotel
    Real Estate
    • Real Estate Agency
    • Архітектурна фірма
    • Будівництво
    • Управління нерухомістю
    • Садівництво
    • Асоціація власників нерухомості
    Consulting
    • Accounting Firm
    • Партнер Odoo
    • Marketing Agency
    • Юридична фірма
    • Придбання Талантів
    • Аудит та сертифікація
    Виробництво
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Корпоративні подарунки
    Здоров'я & Фітнес
    • Спортивний клуб
    • Оптика
    • Фітнес-центр
    • Практики здоров'я
    • Аптека
    • Салон краси
    Trades
    • Ремонтник
    • IT-обладнання та Підтримка
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Екологічна агенція
    • Оренда білбордів
    • Фотографія
    • Лізинг велосипедів
    • Реселлер програмного забезпечення
    Browse all Industries
  • Спільнота
    Навчання
    • Навчальний посібник
    • Документація
    • Сертифікації
    • Тренування
    • Блог
    • Подкаст
    Сприяйте Освіті
    • Програма навчання
    • Бізнес гра Scale Up!
    • Відвідайте Odoo
    Отримайте програмне забезпечення
    • Завантаження
    • Порівняйте версії
    • Релізи
    Співпрацюйте
    • Github
    • Форум
    • Події
    • Переклади
    • Стати партнером
    • Services for Partners
    • Зареєструйте вашу бухгалтерську фірму
    Отримайте послуги
    • Знайдіть партнера
    • Знайдіть бухгалтера
    • Зустріньтеся з консультантом
    • Послуги з впровадження
    • Референси клієнтів
    • Підтримка
    • Оновлення
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Отримати демо
  • Ціни
  • Допомога

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

  • CRM
  • e-Commerce
  • Бухоблік
  • Склад
  • PoS
  • Проект
  • MRP
All apps
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Допомога

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

Підписатися

Отримуйте сповіщення про активність щодо цієї публікації

Це запитання позначене
installationstepsodoo12
9 Відповіді
12347 Переглядів
Аватар
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
Аватар
Відмінити
Sehrish

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

Аватар
Ermin Trevisan
Найкраща відповідь

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

1
Аватар
Відмінити
Yenthe Van Ginneken (Mainframe Monkey)

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

Аватар
Hilar Andikkadavath
Найкраща відповідь

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
Аватар
Відмінити
Pallavi
Автор

Thanks, @Hilar AK

Andre de Kock

Great guide, thanks for sharing

Аватар
Niyas Raphy (Walnut Software Solutions)
Найкраща відповідь

Hi,

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

Thanks

1
Аватар
Відмінити
Ermin Trevisan

Why installing on Ubuntu 16.04 and not on Ubuntu 18.04?

Pallavi
Автор

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.

Аватар
vondes
Найкраща відповідь

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
Аватар
Відмінити
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!

Реєстрація
Related Posts Відповіді Переглядів Дія
how to install sassc? Вирішено
installation odoo12
Аватар
Аватар
Аватар
Аватар
Аватар
12
лип. 24
81062
Errors while instalation Odoo 12 + Ubunty 16.04
installation ubuntu odoo12
Аватар
Аватар
1
лист. 20
22973
Psycopg2 error while installing odoo12 on ubuntu18
installation psycopg2 odoo12
Аватар
Аватар
Аватар
4
черв. 24
8819
Cannot initialize DB in Odoo12 Вирішено
development installation database odoo12
Аватар
Аватар
Аватар
2
трав. 23
24851
unable to install and run odoo 12 ValueError: Name node can't be used with 'None' constant
installation python3 odoo12 cybrosis
Аватар
Аватар
Аватар
Аватар
Аватар
13
жовт. 20
9963
Спільнота
  • Навчальний посібник
  • Документація
  • Форум
Open Source
  • Завантаження
  • Github
  • Runbot
  • Переклади
Послуги
  • Хостинг Odoo.sh
  • Підтримка
  • Оновлення
  • Кастомні доробки
  • Навчання
  • Знайдіть бухгалтера
  • Знайдіть партнера
  • Стати партнером
Про нас
  • Наша компанія
  • Торгові активи
  • Зв'яжіться з нами
  • Вакансії
  • Події
  • Подкаст
  • Блог
  • Клієнти
  • Юридичні документи • Конфіденційність
  • Безпека
الْعَرَبيّة 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 - це набір програм для роботи з відкритим кодом, які охоплюють всі ваші потреби компанії: CRM, електронна комерція, бухгалтерський облік, склад, точка продажу, управління проектами тощо.

Унікальна пропозиція Odoo - це одночасно дуже проста у використанні та повністю інтегрована.

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