{"id":28031,"date":"2023-01-06T12:09:52","date_gmt":"2023-01-06T12:09:52","guid":{"rendered":"https:\/\/www.confianzit.com\/cit-blog\/?p=28031"},"modified":"2023-01-06T16:23:27","modified_gmt":"2023-01-06T16:23:27","slug":"installing-odoo-16-erp-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/","title":{"rendered":"A Step-by-Step Guide to Install Odoo 16 ERP on Ubuntu 22.04"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;][et_pb_row column_structure=&#8221;2_3,1_3&#8243; _builder_version=&#8221;4.19.0&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;2_3&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text module_class=&#8221;blog-left-content&#8221; _builder_version=&#8221;4.19.0&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_62 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#What_is_Odoo_ERP\" title=\"What is Odoo ERP?\">What is Odoo ERP?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Ubuntu_2204_and_its_advantages\" title=\"Ubuntu 22.04 and its advantages\">Ubuntu 22.04 and its advantages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Step_by_Step_Installation_and_Configuration_of_Odoo_16_on_Ubuntu_2204\" title=\"Step by Step Installation and Configuration of Odoo 16 on Ubuntu 22.04\">Step by Step Installation and Configuration of Odoo 16 on Ubuntu 22.04<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Step_1_Update_Package_Manager\" title=\"Step 1: Update Package Manager\">Step 1: Update Package Manager<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Step_2_Create_an_Odoo_User\" title=\"Step 2: Create an Odoo User\">Step 2: Create an Odoo User<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Step_3_Install_PostgreSQL_and_Create_an_Odoo_User_for_PostgreSQL\" title=\"Step 3: Install PostgreSQL and Create an Odoo User for PostgreSQL\">Step 3: Install PostgreSQL and Create an Odoo User for PostgreSQL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Step_4_Installation_of_Python_and_Python_PIP_Dependencies\" title=\"Step 4: Installation of Python and Python PIP Dependencies\">Step 4: Installation of Python and Python PIP Dependencies<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Step_5_Additional_Packages_Required\" title=\"Step 5: Additional Packages Required\">Step 5: Additional Packages Required<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Step_6_Installation_of_wkhtmltox\" title=\"Step 6: Installation of wkhtmltox\">Step 6: Installation of wkhtmltox<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Step_7_Create_a_Log_Directory_and_Provide_Permissions\" title=\"Step 7: Create a Log Directory and Provide Permissions\">Step 7: Create a Log Directory and Provide Permissions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Step_8_Installation_of_Odoo_16\" title=\"Step 8: Installation of Odoo 16\">Step 8: Installation of Odoo 16<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Step_9_Setup_Required_Permissions\" title=\"Step 9: Setup Required Permissions\">Step 9: Setup Required Permissions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Step_10_Creation_of_a_Server_Configuration_File\" title=\"Step 10: Creation of a Server Configuration File\">Step 10: Creation of a Server Configuration File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Step_11_Start_the_Odoo_Instance\" title=\"Step 11: Start the Odoo Instance\">Step 11: Start the Odoo Instance<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Step_12_Login_and_Access_the_Odoo_Application\" title=\"Step 12: Login and Access the Odoo Application\">Step 12: Login and Access the Odoo Application<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Choose_the_Right_Odoo_ERP_Implementation_Partner\" title=\"Choose the Right\u00a0Odoo ERP Implementation\u00a0Partner!\">Choose the Right\u00a0Odoo ERP Implementation\u00a0Partner!<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Talk_to_our_experts_now\" title=\"    Talk to our experts now  \">    Talk to our experts now  <\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/www.confianzit.com\/cit-blog\/installing-odoo-16-erp-on-ubuntu-22-04\/#Talk_To_Our_Experts_Now\" title=\"Talk To Our Experts Now\n\t\">Talk To Our Experts Now\n\t<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_is_Odoo_ERP\"><\/span><b>What is Odoo ERP?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><b><\/b><\/p>\n<p><span style=\"font-weight: 400;\"><a href=\"https:\/\/www.confianzit.com\/odoo-erp\">Odoo ERP<\/a> is an open-source Enterprise Resource Planning software. It is useful for better managing businesses, combining all the daily activities involved into a single fully functioning software application. It integrates various critical departments of business like Sales, Manufacturing, Purchasing, Inventory, and several other modules, creating and managing the complete business functioning chain.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><a href=\"https:\/\/www.confianzit.com\/odoo-erp\">Odoo<\/a> is famous for its continuous advancement in the ERP domain, always presenting user-friendly upgrades to its users. The latest version of Odoo is currently <a href=\"https:\/\/www.confianzit.com\/cit-blog\/odoo-16-features\/\">Odoo 16<\/a>, which was released in October 2022.\u00a0<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Ubuntu_2204_and_its_advantages\"><\/span><b>Ubuntu 22.04 and its advantages<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><b><\/b><\/p>\n<p><span style=\"font-weight: 400;\">Ubuntu is one of the most popular freely available operating systems. It is widely used across single users and large enterprises due to its various advantages mentioned below:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Ubuntu is completely free to use. It has no restrictions on usage and is easily accessible to everyone.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Ubuntu provides a very user-friendly interface, and along with that a very powerful command line interface, making it popular among novice and expert users.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Ubuntu is an extremely fast and resource-efficient operating system suitable for any run-time environment.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Using Ubuntu, there is no requirement for installing hardware drivers. In addition to this, there is no need for time-consuming updates and multiple system restarts. Users can continue using the Ubuntu system, with updates running simply in the background.<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Step_by_Step_Installation_and_Configuration_of_Odoo_16_on_Ubuntu_2204\"><\/span><b>Step by Step Installation and Configuration of Odoo 16 on Ubuntu 22.04<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\"><\/span><\/p>\n<p><span style=\"font-weight: 400;\">Having discussed the advantages of <a href=\"https:\/\/www.confianzit.com\/cit-blog\/odoo-16-features\/\">Odoo 16<\/a> and Ubuntu, let us now discuss the way to install and configure <a href=\"https:\/\/www.confianzit.com\/cit-blog\/odoo-16-features\/\">Odoo 16 ERP<\/a> on Ubuntu 22.04.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Update_Package_Manager\"><\/span><b>Step 1: Update Package Manager<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><b><\/b><\/p>\n<p><span style=\"font-weight: 400;\">Before setting up Odoo, update and install any upgrades on your Ubuntu package manager using the below commands:<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p style=\"background-color: #f1f1f1;\"><b>sudo apt-get update\u00a0\u00a0<\/b><\/p>\n<p style=\"background-color: #f1f1f1;\"><b>sudo apt-get upgrade -y<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Create_an_Odoo_User\"><\/span><b>Step 2: Create an Odoo User<\/b><span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><b><\/b><\/p>\n<p><span>Create an Odoo user that will be logging in and operating as an administrator:<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; saved_tabs=&#8221;all&#8221;]<\/p>\n<p><b>sudo adduser -system -home=\/opt\/odoo -group odoo<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Install_PostgreSQL_and_Create_an_Odoo_User_for_PostgreSQL\"><\/span><b>Step 3: Install PostgreSQL and Create an Odoo User for PostgreSQL<\/b><span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><b><\/b><\/p>\n<p><span>PostgreSQL will be acting as our database server for Odoo. Install and create an Odoo user for accessing the database:<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; saved_tabs=&#8221;all&#8221;]<\/p>\n<p><b>sudo apt install postgresql -y<\/b><\/p>\n<p><b>sudo su \u2013 postgres -c \u201ccreateuser -s odoo\u201d 2&gt; \/dev\/null || true<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Installation_of_Python_and_Python_PIP_Dependencies\"><\/span><b>Step 4: Installation of Python and Python PIP Dependencies<\/b><span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><b><\/b><\/p>\n<p><span>Given below are the steps to install Python and Python PIP dependencies for Odoo:<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b>sudo apt-get install git python3 python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less libjpeg-dev gdebi -y<\/b><\/p>\n<p><b>sudo apt-get install libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev\u00a0\u00a0<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_5_Additional_Packages_Required\"><\/span><b>Step 5: Additional Packages Required<\/b><span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><b><\/b><\/p>\n<p><span>Odoo 16 requires a Node.js platform. Install it with the help of the command given below:<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b style=\"font-size: 18px;\"><b>sudo apt-get install nodejs npm -y<\/b> <\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<p><span>Odoo doesn\u2019t provide support for right-to-left CSS\/languages. This can be added using the following command, however, this is only if RTL is required.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b>sudo npm install -g rtlcss<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_6_Installation_of_wkhtmltox\"><\/span><b>Step 6: Installation of wkhtmltox<\/b><span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><b><\/b><\/p>\n<p><span>wkhtmltopdf is required for generating PDF reports using Odoo 16. PDF reports are a major requirement of any business, so installing them gives Odoo the ability to generate reports effectively.\u00a0<\/span><\/p>\n<p><span>Before installing wkhtmltopdf, we need to first install the dependency xfonts using the command:<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b style=\"font-size: 18px;\"><b>sudo apt-get install xfonts-75dpi<\/b> \u00a0<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<p><span>Once the dependency is installed, run the following set of commands to install the wkhtmltox<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b>sudo wget https:\/\/github.com\/wkhtmltox\/packaging\/releases\/download\/0.12.6-1\/wkhtmltox_0.12.6-1.bionic_amd64.deb<\/b><\/p>\n<p><b>sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_7_Create_a_Log_Directory_and_Provide_Permissions\"><\/span><b>Step 7: Create a Log Directory and Provide Permissions<\/b><span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><b><\/b><\/p>\n<p><span>Odoo will keep auditing and recording trails. Create a log directory for Odoo and provide it with the necessary write permissions.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b>sudo mkdir \/var\/log\/odoo<\/b><\/p>\n<p><b>sudo chown odoo:odoo \/var\/log\/odoo<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_8_Installation_of_Odoo_16\"><\/span><b>Step 8: Installation of Odoo 16<\/b><span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><b><\/b><\/p>\n<p><span>Once all the above prerequisites are completed, we are now ready to install Odoo 16. Download the Odoo 16 code from the git repository and install it using the following commands:<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b>sudo apt-get install git<\/b><\/p>\n<p><b>sudo git clone \u2013depth 1 \u2013branch 16.0<\/b><\/p>\n<p><b>https:\/\/www.github.com\/odoo\/od<\/b><b>o<\/b><b>o<\/b><b>\/opt\/odoo\/odoo-server<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_9_Setup_Required_Permissions\"><\/span><b>Step 9: Setup Required Permissions<\/b><span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><b><\/b><\/p>\n<p><span>Once Odoo 16 is installed, provide the necessary permissions for it to run properly.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b>sudo chown -R odoo:odoo \/opt\/odoo\/<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_10_Creation_of_a_Server_Configuration_File\"><\/span><b>Step 10: Creation of a Server Configuration File<\/b><span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><b><\/b><\/p>\n<p><span>At this point, we have a bare-bones Odoo 16 setup completed. Now we need to set up the proper configurations for running the Odoo 16 instance. Preferably, create a configuration file first and add the configurations into that file for more clarity or modifications.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b>sudo touch \/etc\/odoo-server.conf<\/b><\/p>\n<p><b>sudo su root -c \u201cprintf \u2018[options] \\n; This is the password that allows database operations:\\n\u2019 &gt;&gt; \/etc\/odoo-server.conf\u201d<\/b><\/p>\n<p><b>sudo su root -c \u201cprintf \u2018admin_passwd = admin\\n\u2019 &gt;&gt; \/etc\/odoo-server.conf\u201d<\/b><\/p>\n<p><b>sudo su root -c \u201cprintf \u2018xmlrpc_port = 9080\\n\u2019 &gt;&gt; \/etc\/odoo-server.conf\u201d<\/b><\/p>\n<p><b>sudo su root -c \u201cprintf \u2018logfile = \/var\/log\/odoo\/odoo-server.log\\n\u2019 &gt;&gt; \/etc\/odoo-server.conf\u201d<\/b><\/p>\n<p><b>sudo su root -c \u201cprintf \u2018addons_path=\/opt\/odoo\/odoo-server\/addons\\n\u2019 &gt;&gt; \/etc\/odoo-server.conf\u201d<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<p><span>Provide the necessary permissions for the configuration file:<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b>sudo chown odoo:odoo \/etc\/odoo-server.conf<\/b><\/p>\n<p><b>sudo chmod 640 \/etc\/odoo-server.conf<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<p><span>We can create a Python virtual environment that helps in separating application installation and execution. To create a virtual environment, run the following commands:<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b>cd \/opt\/odoo\/odoo-server<\/b><b>\u00a0<\/b><\/p>\n<p><b>python3 -m venv odoo-venv\u00a0\u00a0<\/b><\/p>\n<p><b>source odoo-venv\/bin\/activate<span>\u00a0<\/span><\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<p><span>As this is a virtual environment created for our Odoo installation, we will need to install the Python dependencies into this environment using the below commands:<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b>pip3 install wheel\u00a0<\/b><\/p>\n<p><b>pip3 install -r requirements.txt<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<p><span>After completing the installation for Python dependencies, we can exit the virtual environment by running the deactivate command:<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b>deactivate<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_11_Start_the_Odoo_Instance\"><\/span><b>Step 11: Start the Odoo Instance<\/b><span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><b><\/b><\/p>\n<p><span>Now that the setup is complete, we need to switch to the Odoo user by running the below command:<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b>sudo su \u2013 odoo -s \/bin\/bash<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<p><span>Activate the virtual environment and then start the Odoo service by executing the odoo-bin file pointing to the Odoo configuration file.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#000000&#8243; background_color=&#8221;#eff0f1&#8243; custom_margin=&#8221;|||60px|false|false&#8221; custom_padding=&#8221;3%|10%|2.5%|10%|false|false&#8221; border_width_top=&#8221;10px&#8221; border_color_top=&#8221;#2ea3f2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b>source odoo-venv\/bin\/activate<\/b><\/p>\n<p><b>cd \/opt\/odoo\/odoo-server<\/b><\/p>\n<p><b>.\/odoo-bin -c \/etc\/odoo-server.conf<\/b><\/p>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_12_Login_and_Access_the_Odoo_Application\"><\/span><b>Step 12: Login and Access the Odoo Application<\/b><span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><b><\/b><\/p>\n<p><span>After completing the installation of Odoo, we can configure the database by accessing the administrator page. For this, open any web browser and go to the URL: http:\/\/localhost:9080. You will then be prompted to enter a master password used during the installation, a database name, username, and password of your choice, and some other basic information for account creation.\u00a0<\/span><\/p>\n<p><span>Post creation of the account, you will be redirected to the\u00a0<a href=\"https:\/\/www.confianzit.com\/odoo-erp\">Odoo<\/a>\u00a0login page on the same URL http:\/\/localhost:9080, where you can log in using the username and password entered in the previous steps. This will open the home page for you. You can add the applications of your choice onto the dashboard and the Odoo setup is now complete.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><b>Conclusion<\/b><span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><b><\/b><\/p>\n<p><span><a href=\"https:\/\/www.confianzit.com\/cit-blog\/odoo-16-features\/\">Odoo 16<\/a>\u00a0has become a vital asset for every business to run its operations smoothly. Installing\u00a0<a href=\"https:\/\/www.confianzit.com\/cit-blog\/odoo-16-features\/\">Odoo 16<\/a>\u00a0on an Ubuntu system can be performed by following the correct set of steps as illustrated above.\u00a0<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Choose_the_Right_Odoo_ERP_Implementation_Partner\"><\/span><span class=\"ez-toc-section\" id=\"Choose_the_Right_Odoo_ERP_Implementation_Partner\"><\/span><strong>Choose the Right<span>\u00a0<\/span><a href=\"https:\/\/www.confianzit.com\/odoo-implementation\">Odoo ERP Implementation<\/a><span>\u00a0<\/span>Partner!<\/strong><span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong><\/strong><\/p>\n<p><a href=\"https:\/\/www.confianzit.com\/odoo-implementation\"><span>Implementing Odoo<\/span><\/a><span>\u00a0can be a challenge on your own. Fortunately, you have us! Confianz Global is a Certified\u00a0<\/span><a href=\"https:\/\/www.confianzit.com\/odoo-erp\"><span>Odoo Partner<\/span><\/a><span>. We know everything there is to know about Odoo and can use our expertise to make sure your company has the right modules in place for accounting and beyond.\u00a0<\/span><a href=\"https:\/\/www.confianzit.com\/hire-odoo-developer\"><span>Hire dedicated Odoo app developers<\/span><\/a><span>\u00a0from USA and India at affordable cost really fast and securely from\u00a0<\/span><a href=\"https:\/\/www.confianzit.com\/\"><span>Confianz Global\u00ae<\/span><\/a><i><span>\u00a0.\u00a0<\/span><\/i><\/p>\n<p><a href=\"https:\/\/www.confianzit.com\/contact-us\"><span>Contact us<\/span><\/a><span>\u00a0to get started.<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_code _builder_version=&#8221;4.18.1&#8243; _module_preset=&#8221;default&#8221; global_module=&#8221;2151&#8243; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<div class=\"blog-floating-form\"><!-- [et_pb_line_break_holder] -->  <\/p>\n<h4><span class=\"ez-toc-section\" id=\"Talk_to_our_experts_now\"><\/span><!-- [et_pb_line_break_holder] -->    Talk to our experts now<!-- [et_pb_line_break_holder] -->  <span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><!-- [et_pb_line_break_holder] -->  \n<div class=\"wpcf7 no-js\" id=\"wpcf7-f1888-o1\" lang=\"en-US\" dir=\"ltr\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/cit-blog\/wp-json\/wp\/v2\/posts\/28031#wpcf7-f1888-o1\" method=\"post\" class=\"wpcf7-form init\" aria-label=\"Contact form\" novalidate=\"novalidate\" data-status=\"init\">\n<div style=\"display: none;\">\n<input type=\"hidden\" name=\"_wpcf7\" value=\"1888\" \/>\n<input type=\"hidden\" name=\"_wpcf7_version\" value=\"5.8.6\" \/>\n<input type=\"hidden\" name=\"_wpcf7_locale\" value=\"en_US\" \/>\n<input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f1888-o1\" \/>\n<input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/>\n<input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/>\n<input type=\"hidden\" name=\"_wpcf7_recaptcha_response\" value=\"\" \/>\n<\/div>\n<div class=\"form-block\" style=\"    background: #fff;\">\n\t<h3 style=\"    background: #0C2464;\n    border-bottom: 5px solid #cecece;\n    border-radius: 5px 5px 90px 90px;\n    margin: 0 auto;\n    text-align: center;\n    padding: 20px;\n    color: #fff;    margin-bottom: 15px;\"><span class=\"ez-toc-section\" id=\"Talk_To_Our_Experts_Now\"><\/span><b>Talk To Our Experts Now<\/b>\n\t<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\t<div style=\"padding:20px;\">\n\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"your-name\"><input size=\"40\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required your-name\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Name\" value=\"\" type=\"text\" name=\"your-name\" \/><\/span>\n\t\t<\/p>\n\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"your-email\"><input size=\"40\" class=\"wpcf7-form-control wpcf7-email wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-email your-email\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Email\" value=\"\" type=\"email\" name=\"your-email\" \/><\/span>\n\t\t<\/p>\n\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"your-number\"><input size=\"40\" class=\"wpcf7-form-control wpcf7-tel wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-tel your-number\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Phone Number\" value=\"\" type=\"tel\" name=\"your-number\" \/><\/span>\n\t\t<\/p>\n\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"message\"><textarea cols=\"40\" rows=\"10\" class=\"wpcf7-form-control wpcf7-textarea wpcf7-validates-as-required form-message\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Message\" name=\"message\"><\/textarea><\/span>\n\t\t<\/p>\n\t<span class=\"wpcf7-form-control-wrap recaptcha\" data-name=\"recaptcha\"><span data-sitekey=\"6LfFkQATAAAAAIYlZ_UH9UozO-OLkpAaWPWx6QtM\" class=\"wpcf7-form-control wpcf7-recaptcha g-recaptcha\"><\/span>\r\n<noscript>\r\n\t<div class=\"grecaptcha-noscript\">\r\n\t\t<iframe loading=\"lazy\" src=\"https:\/\/www.google.com\/recaptcha\/api\/fallback?k=6LfFkQATAAAAAIYlZ_UH9UozO-OLkpAaWPWx6QtM\" frameborder=\"0\" scrolling=\"no\" width=\"310\" height=\"430\">\r\n\t\t<\/iframe>\r\n\t\t<textarea name=\"g-recaptcha-response\" rows=\"3\" cols=\"40\" placeholder=\"reCaptcha Response Here\">\r\n\t\t<\/textarea>\r\n\t<\/div>\r\n<\/noscript>\r\n<\/span>\n\t\t<div class=\"form-buttons\">\n\t\t\t<p><input class=\"wpcf7-form-control wpcf7-submit has-spinner\" type=\"submit\" value=\"Get a free quote\" \/>\n\t\t\t<\/p>\n\t\t<\/div>\n\t<\/div>\n<\/div><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n<!-- [et_pb_line_break_holder] --><\/div>\n<p>[\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Odoo ERP? Odoo ERP is an open-source Enterprise Resource Planning software. It is useful for better managing businesses, combining all the daily activities involved into a single fully functioning software application. It integrates various critical departments of business like Sales, Manufacturing, Purchasing, Inventory, and several other modules, creating and managing the complete business [&hellip;]<\/p>\n","protected":false},"author":20,"featured_media":28034,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"<h2><b>What is Odoo ERP?<\/b><\/h2><p><span style=\"font-weight: 400;\"><a href=\"https:\/\/www.confianzit.com\/odoo-erp\">Odoo ERP<\/a> is an open-source Enterprise Resource Planning software. It is useful for better managing businesses, combining all the daily activities involved into a single fully functioning software application. It integrates various critical departments of business like Sales, Manufacturing, Purchasing, Inventory, and several other modules, creating and managing the complete business functioning chain.\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\"><a href=\"https:\/\/www.confianzit.com\/odoo-erp\">Odoo<\/a> is famous for its continuous advancement in the ERP domain, always presenting user-friendly upgrades to its users. The latest version of Odoo is currently <a href=\"https:\/\/www.confianzit.com\/cit-blog\/odoo-16-features\/\">Odoo 16<\/a>, which was released in October 2022.\u00a0<\/span><\/p><h2><b>Ubuntu 22.04 and its advantages<\/b><\/h2><p><span style=\"font-weight: 400;\">Ubuntu is one of the most popular freely available operating systems. It is widely used across single users and large enterprises due to its various advantages mentioned below:<\/span><\/p><ul><li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Ubuntu is completely free to use. It has no restrictions on usage and is easily accessible to everyone.\u00a0<\/span><\/li><li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Ubuntu provides a very user-friendly interface, and along with that a very powerful command line interface, making it popular among novice and expert users.\u00a0<\/span><\/li><li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Ubuntu is an extremely fast and resource-efficient operating system suitable for any run-time environment.\u00a0<\/span><\/li><li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Using Ubuntu, there is no requirement for installing hardware drivers. In addition to this, there is no need for time-consuming updates and multiple system restarts. Users can continue using the Ubuntu system, with updates running simply in the background.<\/span><\/li><\/ul><h2><b>Step by Step Installation and Configuration of Odoo 16 on Ubuntu 22.04<\/b><\/h2><p><span style=\"font-weight: 400;\">Having discussed the advantages of <a href=\"https:\/\/www.confianzit.com\/cit-blog\/odoo-16-features\/\">Odoo 16<\/a> and Ubuntu, let us now discuss the way to install and configure <a href=\"https:\/\/www.confianzit.com\/cit-blog\/odoo-16-features\/\">Odoo 16 ERP<\/a> on Ubuntu 22.04.<\/span><\/p><h3><b>Step 1: Update Package Manager<\/b><\/h3><p><span style=\"font-weight: 400;\">Before setting up Odoo, update and install any upgrades on your Ubuntu package manager using the below commands:<\/span><\/p><p><b>sudo apt-get update\u00a0\u00a0<\/b><\/p><p><b>sudo apt-get upgrade -y<\/b><\/p><h3><b>Step 2: Create an Odoo User<\/b><\/h3><p><span style=\"font-weight: 400;\">Create an Odoo user that will be logging in and operating as an administrator:<\/span><\/p><p><b>sudo adduser -system -home=\/opt\/odoo -group odoo<\/b><\/p><h3><b>Step 3: Install PostgreSQL and Create an Odoo User for PostgreSQL<\/b><\/h3><p><span style=\"font-weight: 400;\">PostgreSQL will be acting as our database server for Odoo. Install and create an Odoo user for accessing the database:<\/span><\/p><p><b>sudo apt install postgresql -y<\/b><\/p><p><b>sudo su - postgres -c \"createuser -s odoo\" 2> \/dev\/null || true<\/b><\/p><h3><b>Step 4: Installation of Python and Python PIP Dependencies<\/b><\/h3><p><span style=\"font-weight: 400;\">Given below are the steps to install Python and Python PIP dependencies for Odoo:<\/span><\/p><p><b>sudo apt-get install git python3 python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less libjpeg-dev gdebi -y<\/b><\/p><p><b>sudo apt-get install libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev\u00a0\u00a0<\/b><\/p><h3><b>Step 5: Additional Packages Required<\/b><\/h3><p><span style=\"font-weight: 400;\">Odoo 16 requires a Node.js platform. Install it with the help of the command given below:<\/span><\/p><p><b>sudo apt-get install nodejs npm -y<\/b><\/p><p><span style=\"font-weight: 400;\">Odoo doesn\u2019t provide support for right-to-left CSS\/languages. This can be added using the following command, however, this is only if RTL is required.<\/span><\/p><p><b>sudo npm install -g rtlcss<\/b><\/p><h3><b>Step 6: Installation of wkhtmltox<\/b><\/h3><p><span style=\"font-weight: 400;\">wkhtmltopdf is required for generating PDF reports using Odoo 16. PDF reports are a major requirement of any business, so installing them gives Odoo the ability to generate reports effectively.\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">Before installing wkhtmltopdf, we need to first install the dependency xfonts using the command:<\/span><\/p><p><b>sudo apt-get install xfonts-75dpi<\/b><\/p><p><span style=\"font-weight: 400;\">Once the dependency is installed, run the following set of commands to install the wkhtmltox<\/span><\/p><p><b>sudo wget https:\/\/github.com\/wkhtmltox\/packaging\/releases\/download\/0.12.6-1\/wkhtmltox_0.12.6-1.bionic_amd64.deb<\/b><\/p><p><b>sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb<\/b><\/p><p><b>Step 7: Create a Log Directory and Provide Permissions<\/b><\/p><p><span style=\"font-weight: 400;\">Odoo will keep auditing and recording trails. Create a log directory for Odoo and provide it with the necessary write permissions.<\/span><\/p><p><b>sudo mkdir \/var\/log\/odoo<\/b><\/p><p><b>sudo chown odoo:odoo \/var\/log\/odoo<\/b><\/p><h3><b>Step 8: Installation of Odoo 16<\/b><\/h3><p><span style=\"font-weight: 400;\">Once all the above prerequisites are completed, we are now ready to install Odoo 16. Download the Odoo 16 code from the git repository and install it using the following commands:<\/span><\/p><p><b>sudo apt-get install git<\/b><\/p><p><b>sudo git clone --depth 1 --branch 16.0 <\/b><b>https:\/\/www.github.com\/odoo\/od<\/b><b>o<\/b><b>o<\/b><b>\/opt\/odoo\/odoo-server<\/b><\/p><h3><b>Step 9: Setup Required Permissions<\/b><\/h3><p><span style=\"font-weight: 400;\">Once Odoo 16 is installed, provide the necessary permissions for it to run properly.<\/span><\/p><p><b>sudo chown -R odoo:odoo \/opt\/odoo\/<\/b><\/p><h3><b>Step 10: Creation of a Server Configuration File<\/b><\/h3><p><span style=\"font-weight: 400;\">At this point, we have a bare-bones Odoo 16 setup completed. Now we need to set up the proper configurations for running the Odoo 16 instance. Preferably, create a configuration file first and add the configurations into that file for more clarity or modifications.<\/span><\/p><p><b>sudo touch \/etc\/odoo-server.conf<\/b><\/p><p><b>sudo su root -c \"printf '[options] \\n; This is the password that allows database operations:\\n' >> \/etc\/odoo-server.conf\"<\/b><\/p><p><b>sudo su root -c \"printf 'admin_passwd = admin\\n' >> \/etc\/odoo-server.conf\"<\/b><\/p><p><b>sudo su root -c \"printf 'xmlrpc_port = 9080\\n' >> \/etc\/odoo-server.conf\"<\/b><\/p><p><b>sudo su root -c \"printf 'logfile = \/var\/log\/odoo\/odoo-server.log\\n' >> \/etc\/odoo-server.conf\"<\/b><\/p><p><b>sudo su root -c \"printf 'addons_path=\/opt\/odoo\/odoo-server\/addons\\n' >> \/etc\/odoo-server.conf\"<\/b><\/p><p><span style=\"font-weight: 400;\">Provide the necessary permissions for the configuration file:<\/span><\/p><p><b>sudo chown odoo:odoo \/etc\/odoo-server.conf<\/b><\/p><p><b>sudo chmod 640 \/etc\/odoo-server.conf<\/b><\/p><p><span style=\"font-weight: 400;\">We can create a Python virtual environment that helps in separating application installation and execution. To create a virtual environment, run the following commands:<\/span><\/p><p><b>cd \/opt\/odoo\/odoo-server<\/b><b>\u00a0<\/b><\/p><p><b>python3 -m venv odoo-venv\u00a0\u00a0<\/b><\/p><p><b>source odoo-venv\/bin\/activate <\/b><span style=\"font-weight: 400;\">\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">As this is a virtual environment created for our Odoo installation, we will need to install the Python dependencies into this environment using the below commands:<\/span><\/p><p><b>pip3 install wheel\u00a0<\/b><\/p><p><b>pip3 install -r requirements.txt<\/b><\/p><p><span style=\"font-weight: 400;\">After completing the installation for Python dependencies, we can exit the virtual environment by running the deactivate command:<\/span><\/p><p><b>deactivate<\/b><\/p><h3><b>Step 11: Start the Odoo Instance<\/b><\/h3><p><span style=\"font-weight: 400;\">Now that the setup is complete, we need to switch to the Odoo user by running the below command:<\/span><\/p><p><b>sudo su - odoo -s \/bin\/bash<\/b><\/p><p><span style=\"font-weight: 400;\">Activate the virtual environment and then start the Odoo service by executing the odoo-bin file pointing to the Odoo configuration file.<\/span><\/p><p><b>source odoo-venv\/bin\/activate<\/b><\/p><p><b>cd \/opt\/odoo\/odoo-server<\/b><\/p><p><b>.\/odoo-bin -c \/etc\/odoo-server.conf<\/b><\/p><h3><b>Step 12: Login and Access the Odoo Application<\/b><\/h3><p><span style=\"font-weight: 400;\">After completing the installation of Odoo, we can configure the database by accessing the administrator page. For this, open any web browser and go to the URL: http:\/\/localhost:9080. You will then be prompted to enter a master password used during the installation, a database name, username, and password of your choice, and some other basic information for account creation.\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">Post creation of the account, you will be redirected to the <a href=\"https:\/\/www.confianzit.com\/odoo-erp\">Odoo<\/a> login page on the same URL http:\/\/localhost:9080, where you can log in using the username and password entered in the previous steps. This will open the home page for you. You can add the applications of your choice onto the dashboard and the Odoo setup is now complete.<\/span><\/p><h2><b>Conclusion<\/b><\/h2><p><span style=\"font-weight: 400;\"><a href=\"https:\/\/www.confianzit.com\/cit-blog\/odoo-16-features\/\">Odoo 16<\/a> has become a vital asset for every business to run its operations smoothly. Installing <a href=\"https:\/\/www.confianzit.com\/cit-blog\/odoo-16-features\/\">Odoo 16<\/a> on an Ubuntu system can be performed by following the correct set of steps as illustrated above.\u00a0<\/span><\/p><h3><strong>Choose the Right <a href=\"https:\/\/www.confianzit.com\/odoo-implementation\">Odoo ERP Implementation<\/a> Partner!<\/strong><\/h3><p><a href=\"https:\/\/www.confianzit.com\/odoo-implementation\"><span style=\"font-weight: 400;\">Implementing Odoo<\/span><\/a><span style=\"font-weight: 400;\"> can be a challenge on your own. Fortunately, you have us! Confianz Global is a Certified <\/span><a href=\"https:\/\/www.confianzit.com\/odoo-erp\"><span style=\"font-weight: 400;\">Odoo Partner<\/span><\/a><span style=\"font-weight: 400;\">. We know everything there is to know about Odoo and can use our expertise to make sure your company has the right modules in place for accounting and beyond. <\/span><a href=\"https:\/\/www.confianzit.com\/hire-odoo-developer\"><span style=\"font-weight: 400;\">Hire dedicated Odoo app developers<\/span><\/a><span style=\"font-weight: 400;\"> from USA and India at affordable cost really fast and securely from <\/span><a href=\"https:\/\/www.confianzit.com\/\"><span style=\"font-weight: 400;\">Confianz Global\u00ae<\/span><\/a><i><span style=\"font-weight: 400;\"> .\u00a0<\/span><\/i><\/p><p><a href=\"https:\/\/www.confianzit.com\/contact-us\"><span style=\"font-weight: 400;\">Contact us<\/span><\/a><span style=\"font-weight: 400;\"> to get started.<\/span><\/p>","_et_gb_content_width":"","footnotes":""},"categories":[143],"tags":[61,408,91,411,362,418],"_links":{"self":[{"href":"https:\/\/www.confianzit.com\/cit-blog\/wp-json\/wp\/v2\/posts\/28031"}],"collection":[{"href":"https:\/\/www.confianzit.com\/cit-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.confianzit.com\/cit-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.confianzit.com\/cit-blog\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.confianzit.com\/cit-blog\/wp-json\/wp\/v2\/comments?post=28031"}],"version-history":[{"count":13,"href":"https:\/\/www.confianzit.com\/cit-blog\/wp-json\/wp\/v2\/posts\/28031\/revisions"}],"predecessor-version":[{"id":28058,"href":"https:\/\/www.confianzit.com\/cit-blog\/wp-json\/wp\/v2\/posts\/28031\/revisions\/28058"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.confianzit.com\/cit-blog\/wp-json\/wp\/v2\/media\/28034"}],"wp:attachment":[{"href":"https:\/\/www.confianzit.com\/cit-blog\/wp-json\/wp\/v2\/media?parent=28031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.confianzit.com\/cit-blog\/wp-json\/wp\/v2\/categories?post=28031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.confianzit.com\/cit-blog\/wp-json\/wp\/v2\/tags?post=28031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}