{"id":47405,"date":"2024-01-03T12:30:00","date_gmt":"2024-01-03T18:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=47405"},"modified":"2023-12-27T11:19:10","modified_gmt":"2023-12-27T17:19:10","slug":"how-to-install-odoo-17-on-debian-12","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/","title":{"rendered":"How to Install Odoo 17 on Debian 12"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-odoo-17-on-debian-12.webp\" alt=\"how to install odoo 17 on debian 12\" class=\"wp-image-47738\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-odoo-17-on-debian-12.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-odoo-17-on-debian-12-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-odoo-17-on-debian-12-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-odoo-17-on-debian-12-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Odoo, formerly known as OpenERP, is a suite of open-source Business applications. It is a widely used open-source enterprise resource planning (ERP) software. Odoo offers a range of modules that can be installed which makes this platform very popular these days. The latest version of Odoo, Odoo 17 offers additional features that further enhance its usability. The latest interface incorporates keyboard shortcuts to streamline the process of selecting records and making multiple selections effortlessly. In this article, we will show you how to install Odoo 17 on Debian 12 server.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f6fe217ec3e\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><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><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f6fe217ec3e\"  aria-label=\"Toggle\" \/><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.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#Prerequisites\" >Prerequisites<\/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.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#Step-1-Install-Dependencies\" >Step 1. Install Dependencies<\/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.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#Step-2-Add-a-System-User\" >Step 2. Add a System User<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#Step-3-Install-PostgreSQL\" >Step 3. Install PostgreSQL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#Step-4-Install-wkhtmltopdf\" >Step 4. Install wkhtmltopdf<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#Step-5-Install-Odoo\" >Step 5. Install Odoo<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#Step-6-Create-Odoo-Systemd-Unit-file\" >Step 6. Create Odoo Systemd Unit file<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#Step-7-Install-and-Configure-Reverse-Proxy\" >Step 7. Install and Configure Reverse Proxy<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <a href=\"https:\/\/www.rosehosting.com\/debian-hosting\/\">Debian 12 VPS<\/a> with at least 2GB of RAM. Our NVMe 2GB is the perfect starting point.<\/li>\n\n\n\n<li>SSH root access, or a user with sudo privileges.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Conventions<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># \u2013 given commands should be executed with root privileges either directly as a root user or by use of sudo command\n$ \u2013 given commands should be executed as a regular user<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Install-Dependencies\"><\/span>Step 1. Install Dependencies<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To start this Odoo installation, we need to install some Python dependencies. Let&#8217;s run this command below to install them.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install build-essential wget git python3-pip python3-dev python3-venv \\\n    python3-wheel libfreetype6-dev libxml2-dev libzip-dev libsasl2-dev \\\n    python3-setuptools node-less libjpeg-dev zlib1g-dev libpq-dev \\\n    libxslt1-dev libldap2-dev libtiff5-dev libopenjp2-7-dev libcap-dev<\/pre>\n\n\n\n<p>Wait until it finishes and proceed to the next step.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Add-a-System-User\"><\/span>Step 2. Add a System User<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this article, Odoo will be installed and running under a regular system user. So, let&#8217;s create a new system user.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># adduser \\\n   --system \\\n   --shell \/bin\/bash \\\n   --gecos 'Odoo user' \\\n   --group \\\n   --home \/opt\/odoo17 \\\nodoo17<\/pre>\n\n\n\n<p>Done, a new system user named &#8216;odoo17&#8217; has been added, and its home directory is <code>\/opt\/odoo17<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-3-Install-PostgreSQL\"><\/span>Step 3. Install PostgreSQL<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>For data storage, Odoo only supports PostgreSQL. Let&#8217;s execute the command below to install PostgreSQL on Debian 12.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install postgresql<\/pre>\n\n\n\n<p>Wait until it finishes, and then add a PostgreSQL user for our Odoo 17. You can do that by executing this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># su - postgres -c \"createuser -s odoo17\"<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-4-Install-wkhtmltopdf\"><\/span>Step 4. Install wkhtmltopdf<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Wkhtmltopdf, a command line tool, is available as an open-source solution for converting HTML data into PDF format using the Qt webkit. However, since the .DEB package for Debian 12 is not available at the time of writing this, we can install the one from the default Debian 12 repository.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install wkhtmltopdf<\/pre>\n\n\n\n<p>Please note that the <code>wkhtmltopdf<\/code> package from Debian 12 repository is not built against a forked version of Qt, hence some options are not supported. You can check and download once the .DEB package for Debian 12 is available at <a href=\"https:\/\/wkhtmltopdf.org\/downloads.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/wkhtmltopdf.org\/downloads.html<\/a>. Alternatively, you can also download and install the one for Debian 11 (Bullseye).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-5-Install-Odoo\"><\/span>Step 5. Install Odoo<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In the previous step, we added a new system user to install and run Odoo. Let&#8217;s switch to system user &#8216;odoo&#8217; to download Odoo from GitHub and create a new python environment.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># su - odoo17<\/pre>\n\n\n\n<p>Now, let&#8217;s download Odoo from github<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ git clone https:\/\/www.github.com\/odoo\/odoo --depth 1 --branch 17.0 odoo17<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Create a Python virtual environment<\/h3>\n\n\n\n<p>By using a Python virtual environment, this Odoo installation method will allow you install multiple Odoo instances on your server, including different versions simultaneously. Now that Odoo 17 has been downloaded to <code>\/opt\/odoo\/odoo17<\/code>, it is time to create a Python virtual environment.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ python3 -m venv odoo17-venv<\/pre>\n\n\n\n<p>Now, we have a new virtual environment, we need to activate it prior to installing Odoo.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ source odoo17-venv\/bin\/activate<\/pre>\n\n\n\n<p>Once invoked, your shell prompt would look like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">(odoo17-venv) odoo17@debian12:~$<\/pre>\n\n\n\n<p>Next, let&#8217;s install Odoo:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">(odoo17-venv) odoo17@debian12:~$ pip3 install wheel \n(odoo17-venv) odoo17@debian12:~$ pip3 install -r odoo17\/requirements.txt<\/pre>\n\n\n\n<p>That&#8217;s it. Odoo has been installed under the directory <code>\/opt\/odoo17\/odoo17<\/code>. We can create a new directory to store our custom Odoo addons.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ mkdir \/opt\/odoo17\/odoo17\/custom-addons<\/pre>\n\n\n\n<p>Done, let&#8217;s exit from user &#8216;odoo17&#8217; and create the Odoo configuration file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ exit<\/pre>\n\n\n\n<p>The command above should bring you back to the previous user, in this case, root. Open the configuration file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># nano \/etc\/odoo17.conf<\/pre>\n\n\n\n<p>Paste the following content into the file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[options]<br>admin_passwd = m0d1fyth15<br>db_host = False<br>db_port = False<br>db_user = odoo17<br>db_password = False<br>addons_path = \/opt\/odoo17\/odoo17\/addons,\/opt\/odoo17\/odoo17\/custom-addons<\/pre>\n\n\n\n<p>Replace <strong><code>m0d1fyth15<\/code> <\/strong>with something harder and stronger. This will be your Odoo&#8217;s master password. Save the file, then exit from the nano editor.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-6-Create-Odoo-Systemd-Unit-file\"><\/span>Step 6. Create Odoo Systemd Unit file<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this step, we will create a systemd unit file, it is required to manage our Odoo installation, such as starting\/stopping\/restarting it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># nano \/etc\/systemd\/system\/odoo17.service<\/pre>\n\n\n\n<p>Insert the following content into the systemd unit file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[Unit]\nDescription=odoo17\nRequires=postgresql.service\nAfter=network.target postgresql.service\n\n[Service]\nType=simple\nSyslogIdentifier=odoo17\nPermissionsStartOnly=true\nUser=odoo17\nGroup=odoo17\nExecStart=\/opt\/odoo17\/odoo17-venv\/bin\/python3 \/opt\/odoo17\/odoo17\/odoo-bin -c \/etc\/odoo17.conf\nStandardOutput=journal+console\n\n[Install]\nWantedBy=multi-user.target<\/pre>\n\n\n\n<p>Save the file then exit. We can now reload the systemd service and then run Odoo.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl daemon-reload\n# systemctl enable --now odoo17<\/pre>\n\n\n\n<p>Check if Odoo is starting by running this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl status odoo17<\/pre>\n\n\n\n<p>Go open your favorite web browser and navigate to http:\/\/YOUR_SERVER_IP_ADDRESS:8069 you will see default Odoo page<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"725\" height=\"635\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/11\/odoo-create-db.jpg\" alt=\"\" class=\"wp-image-47408\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/11\/odoo-create-db.jpg 725w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/11\/odoo-create-db-300x263.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/11\/odoo-create-db-150x131.jpg 150w\" sizes=\"(max-width: 725px) 100vw, 725px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-7-Install-and-Configure-Reverse-Proxy\"><\/span>Step 7. Install and Configure Reverse Proxy<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To access your Odoo website at <code>http:\/\/yourdomain.com<\/code> instead of <code>http:\/\/YOUR_SERVER_IP_ADDRESS:8069<\/code>, we need to install a web server and configure it as a reverse proxy. In this step, we are going to install Nginx or Apache. You will need to choose only one web server and skip the other option.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install and Configure Nginx<\/h3>\n\n\n\n<p>To use Nginx, we can install it by running this command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install nginx<\/pre>\n\n\n\n<p>On Debian 12 server, Nginx should be up and running upon installation. Let&#8217;s create a new Nginx server block now.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># nano \/etc\/nginx\/conf.d\/odoo.conf<\/pre>\n\n\n\n<p>Insert the following into that file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">upstream odoo17 {\n   server 127.0.0.1:8069;\n   }\n\nupstream odoochat {\n   server 127.0.0.1:8072;\n   }\n\nserver {\n   listen 80;\n   server_name yourdomain.com;\n\n   access_log \/var\/log\/nginx\/odoo17.access.log;\n   error_log \/var\/log\/nginx\/odoo17.error.log;\n\n   proxy_buffers 16 64k;\n   proxy_buffer_size 128k;\n\nlocation \/ {\n   proxy_pass http:\/\/odoo17;\n   proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;\n   proxy_redirect off;\n\n   proxy_set_header Host $host;\n   proxy_set_header X-Real-IP $remote_addr;\n   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n   proxy_set_header X-Forwarded-Proto https;\n   }\n\nlocation \/longpolling {\n   proxy_pass http:\/\/odoochat;\n   }\n\n\nlocation ~* \/web\/static\/ {\n   proxy_cache_valid 200 60m;\n   proxy_buffering on;\n   expires 864000;\n   proxy_pass http:\/\/odoo17;\n   }\n}<\/pre>\n\n\n\n<p>Replace <code>yourdomain.com<\/code> with your actual domain name or subdomain name pointing to your server IP address. Then, save the file and exit from the editor.<\/p>\n\n\n\n<p>To apply the changes, we can restart Nginx:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl restart nginx<\/pre>\n\n\n\n<p>That&#8217;s it! You should be able to access Odoo 17 at <code>http:\/\/yourdomain.com<\/code> now.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install and Configure Apache<\/h3>\n\n\n\n<p>If you prefer Apache over Nginx, or you already have Apache installed on your system, you can follow this step.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install apache2<\/pre>\n\n\n\n<p>Once Apache is installed, we can create a new virtual host.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># nano \/etc\/apache2\/sites-enabled\/odoo.conf<\/pre>\n\n\n\n<p>Insert the following into that <code>odoo.conf<\/code> file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;VirtualHost *:80&gt;\nServerName yourdomain.com\nServerAlias www.yourdomain.com\n\nErrorLog ${APACHE_LOG_DIR}\/yourdomain-error.log\nCustomLog ${APACHE_LOG_DIR}\/access.log combined\n\nProxyRequests Off\n&lt;Proxy *&gt;\nOrder deny,allow\nRequire all granted\n&lt;\/Proxy&gt;\n\nProxyPass \/ http:\/\/127.0.0.1:8069\/\nProxyPassReverse \/ http:\/\/127.0.0.1:8069\/\n&lt;Location \/&gt;\nOrder allow,deny\nRequire all granted\n&lt;\/Location&gt;\n&lt;\/VirtualHost&gt;<\/pre>\n\n\n\n<p>Make sure to replace <code>yourdomain.com<\/code> with your actual domain name, then restart Apache.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl restart apache2<\/pre>\n\n\n\n<p>Congratulations! You have followed this article and successfully installed Odoo 17 on your Debian 12 server.<\/p>\n\n\n\n<p>Of course, you don\u2019t have to install Odoo 17 on <a href=\"https:\/\/www.rosehosting.com\/debian-hosting\/\">Debian 12<\/a> if you use one of our <a href=\"https:\/\/www.rosehosting.com\/odoo-hosting\/\">Odoo VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Odoo 17 on Debian 12, for you. Our expert administrators are available 24\u00d77 and will take care of your requests immediately. Simply log in to the client area and submit a ticket &#8211; your Odoo 17 install should be up and running in no time.<\/p>\n\n\n\n<p>PS. If you liked this post on installing <a href=\"https:\/\/www.rosehosting.com\/odoo-hosting\/\">Odoo 17<\/a> on Debian 12, please share it with your friends through social networks or simply leave a comment in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Odoo, formerly known as OpenERP, is a suite of open-source Business applications. It is a widely used open-source enterprise resource &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Odoo 17 on Debian 12\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#more-47405\" aria-label=\"Read more about How to Install Odoo 17 on Debian 12\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":47738,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1710,1700,13],"tags":[48,938,464],"class_list":["post-47405","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cms-crm-erp","category-debian","category-tutorials","tag-debian","tag-erp","tag-odoo","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Odoo 17 on Debian 12 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Here&#039;s a guide on how you can install Odoo 17 on Debian 12 in just a few minutes. Use this to get up and running quickly.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Odoo 17 on Debian 12\" \/>\n<meta property=\"og:description\" content=\"How to Install Odoo 17 on Debian 12 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-03T18:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-odoo-17-on-debian-12.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-17-on-debian-12\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-17-on-debian-12\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Odoo 17 on Debian 12\",\"datePublished\":\"2024-01-03T18:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-17-on-debian-12\\\/\"},\"wordCount\":941,\"commentCount\":9,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-17-on-debian-12\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/how-to-install-odoo-17-on-debian-12.webp\",\"keywords\":[\"debian\",\"erp\",\"odoo\"],\"articleSection\":[\"CMS, CRM, ERP\",\"Debian\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-17-on-debian-12\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-17-on-debian-12\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-17-on-debian-12\\\/\",\"name\":\"How to Install Odoo 17 on Debian 12 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-17-on-debian-12\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-17-on-debian-12\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/how-to-install-odoo-17-on-debian-12.webp\",\"datePublished\":\"2024-01-03T18:30:00+00:00\",\"description\":\"Here's a guide on how you can install Odoo 17 on Debian 12 in just a few minutes. Use this to get up and running quickly.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-17-on-debian-12\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-17-on-debian-12\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-17-on-debian-12\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/how-to-install-odoo-17-on-debian-12.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/how-to-install-odoo-17-on-debian-12.webp\",\"width\":1024,\"height\":576,\"caption\":\"how to install odoo 17 on debian 12\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-17-on-debian-12\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Odoo 17 on Debian 12\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Odoo 17 on Debian 12 | RoseHosting","description":"Here's a guide on how you can install Odoo 17 on Debian 12 in just a few minutes. Use this to get up and running quickly.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Odoo 17 on Debian 12","og_description":"How to Install Odoo 17 on Debian 12 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2024-01-03T18:30:00+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-odoo-17-on-debian-12.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Odoo 17 on Debian 12","datePublished":"2024-01-03T18:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/"},"wordCount":941,"commentCount":9,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-odoo-17-on-debian-12.webp","keywords":["debian","erp","odoo"],"articleSection":["CMS, CRM, ERP","Debian","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/","name":"How to Install Odoo 17 on Debian 12 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-odoo-17-on-debian-12.webp","datePublished":"2024-01-03T18:30:00+00:00","description":"Here's a guide on how you can install Odoo 17 on Debian 12 in just a few minutes. Use this to get up and running quickly.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-odoo-17-on-debian-12.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-odoo-17-on-debian-12.webp","width":1024,"height":576,"caption":"how to install odoo 17 on debian 12"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-17-on-debian-12\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Odoo 17 on Debian 12"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/47405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=47405"}],"version-history":[{"count":8,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/47405\/revisions"}],"predecessor-version":[{"id":47740,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/47405\/revisions\/47740"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/47738"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=47405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=47405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=47405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}