{"id":29433,"date":"2019-12-04T10:06:36","date_gmt":"2019-12-04T16:06:36","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=29433"},"modified":"2022-12-09T10:40:26","modified_gmt":"2022-12-09T16:40:26","slug":"how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/","title":{"rendered":"How to Install Odoo 12 on Ubuntu 18.04 with Apache as a Reverse Proxy"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-32206\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/11\/how-to-install-odoo-12-with-apache-reverse-proxy-on-ubuntu18.04.jpg\" alt=\"\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/11\/how-to-install-odoo-12-with-apache-reverse-proxy-on-ubuntu18.04.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/11\/how-to-install-odoo-12-with-apache-reverse-proxy-on-ubuntu18.04-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/11\/how-to-install-odoo-12-with-apache-reverse-proxy-on-ubuntu18.04-150x75.jpg 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>In this tutorial, we will guide you through the steps of installing Odoo 12 on an <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\">Ubuntu 18.04 VPS<\/a>. Additionally, we will show you how to install and configure the Apache web server as a reverse proxy for your Odoo application.<\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-32207\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/11\/configuring-odoo-12-management-platform-with-reverse-proxy-for-ubuntu18.04-vps.jpg\" alt=\"\" width=\"140\" height=\"44\">Odoo (formerly OpenERP) is a simple and intuitive suite of open-source enterprise management applications, such as Website Builder, eCommerce, CRM, Accounting, Manufacturing, Project and Warehouse Management, Human Resources, Marketing, and many more. Odoo comes in two editions: Community edition, which is free, and Enterprise edition. In our case, we will install and use the Community edition. Let&#8217;s begin.<\/p>\n<p><!--more--><\/p>\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-69f8ce7fdd68c\" 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-69f8ce7fdd68c\"  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-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/#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-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/#Step-1-Log-in-via-SSH-and-Update-the-System\" >Step 1: Log in via SSH and Update the System<\/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-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/#Step-2-Install-PostgreSQL-Server\" >Step 2: Install PostgreSQL Server<\/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-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/#Step-3-Install-Odoo\" >Step 3: Install Odoo<\/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-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/#Setting-up-Apache-as-a-Reverse-Proxy\" >Setting up Apache as a Reverse Proxy<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>Ubuntu 18.04 with 2GB of memory or higher (we&#8217;ll be using our <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\">Managed Ubuntu SSD 2 VPS<\/a> for this)<\/li>\n<li>Python 3<\/li>\n<li>PostgreSQL<\/li>\n<li>Apache<\/li>\n<li>SSH access with root privileges, or access to the root user<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Step-1-Log-in-via-SSH-and-Update-the-System\"><\/span>Step 1: Log in via SSH and Update the System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Log in to your Ubuntu 18.04 VPS with SSH as a root user<\/p>\n<pre>ssh root@<span style=\"color: #ff0000;\">IP_Address<\/span> -p <span style=\"color: #ff0000;\">Port_number<\/span><\/pre>\n<p>You can check whether you have the proper Ubuntu version installed on your server with the following command:<\/p>\n<pre>lsb_release -a<\/pre>\n<p>You should get this output:<\/p>\n<pre>Distributor ID: Ubuntu\r\nDescription: Ubuntu 18.04.1 LTS\r\nRelease: 18.04\r\nCodename: bionic\r\n<\/pre>\n<h4>Once you are logged in, run the following command to update all installed packages to the latest available version.<\/h4>\n<pre>apt update &amp;&amp; apt upgrade<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-2-Install-PostgreSQL-Server\"><\/span>Step 2: Install PostgreSQL Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Odoo requires a PostgreSQL database to store its information, so we will have to install the PostgreSQL server. We will install a PostgreSQL server using the following command:<\/p>\n<pre>apt install postgresql<\/pre>\n<p>Once installed, PostgreSQL server will be started and it\u2019s also enabled to start at server boot.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-3-Install-Odoo\"><\/span>Step 3: Install Odoo<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3>Method 1<\/h3>\n<p>If you want to install Odoo on your fresh server or you currently do not have an Odoo instance running on your server, you can follow this method.<\/p>\n<h4>Add repository and install Odoo<\/h4>\n<p>Odoo is not available in the official Ubuntu 18.04 repository, so in order to install it, we will need to add the Odoo repository to the server. In order to do it, run the following commands:<\/p>\n<pre>wget -O - https:\/\/nightly.odoo.com\/odoo.key | apt-key add -\r\necho \"deb http:\/\/nightly.odoo.com\/12.0\/nightly\/deb\/ .\/\" &gt;&gt; \/etc\/apt\/sources.list.d\/odoo.list<\/pre>\n<p>Next, update the local package database<\/p>\n<pre>apt update<\/pre>\n<p>and install Odoo using the apt package manager<\/p>\n<pre>apt install odoo<\/pre>\n<p>This command will install Odoo 12, Python 3 and all necessary Python modules, create a PostgreSQL user, and start the Odoo instance. After the installation is completed, you can check the status of the Odoo service:<\/p>\n<pre>systemctl status odoo<\/pre>\n<h3>Method 2<\/h3>\n<p>If you want to run multiple Odoo version on your Ubuntu 18.04 server and\/or you have another version of Odoo running on your server, you can follow these steps to install and configure Odoo 12 using their Github repository and Python virtual environment.<\/p>\n<h4>Install dependencies<\/h4>\n<pre>apt install build-essential wget git python3-pip python3-dev python3-venv python3-wheel python3-setuptools libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less<\/pre>\n<h4>Create a new system and PostgreSQL user for Odoo<\/h4>\n<pre>useradd -m -d \/opt\/odoo12 -U -r -s \/bin\/bash odoo12<\/pre>\n<pre>su - postgres -c \"createuser -s odoo12\"<\/pre>\n<h4>Install Wkhtmltopdf<\/h4>\n<p>The <code>wkhtmltopdf<\/code> package is an open source tool that Odoo uses to make HTML in PDF formats so that it can print PDF reports. The recommended version for Odoo is 0.12.1 which is not available in the official Ubuntu 18.04 repositories.<\/p>\n<pre>cd \/opt\r\nwget https:\/\/builds.wkhtmltopdf.org\/0.12.1.3\/wkhtmltox_0.12.1.3-1~bionic_amd64.deb\r\napt install \/opt\/wkhtmltox_0.12.1.3-1~bionic_amd64.deb\r\n<\/pre>\n<p>That\u2019s it, wkhtmltopdf has been installed.<\/p>\n<h4>Install odoo 12<\/h4>\n<pre>su - odoo12<\/pre>\n<pre>git clone https:\/\/www.github.com\/odoo\/odoo --depth 1 --branch 12.0 \/opt\/odoo12\/odoo<\/pre>\n<p>Now, still as user odoo12, let\u2019s create a new python virtual environment<\/p>\n<pre>python3 -m venv odoo-venv<\/pre>\n<p>Then, let\u2019s activate it<\/p>\n<p>source odoo-venv\/bin\/activate<\/p>\n<pre>pip3 install wheel\r\npip3 install -r odoo\/requirements.txt\r\n(venv) $ deactivate &amp;&amp; exit\r\n<\/pre>\n<p>We need an Odoo configuration file, we can copy the one from GitHub:<\/p>\n<pre>cp \/opt\/odoo12\/odoo\/debian\/odoo.conf \/etc\/odoo12.conf<\/pre>\n<p>We can create a master password, you can change the &#8220;<span style=\"color: #ff0000;\">m0d1fyth15<\/span>&#8221; to your own password. Also, add addons_path and xmlrpc_port if you want to specify a port to run Odoo on, if you do not specify it, then Odoo will run on its default port, 8069.<\/p>\n<pre>nano \/etc\/odoo12.conf<\/pre>\n<pre>[options]\r\n; This is the password that allows database operations:\r\nadmin_passwd = <span style=\"color: #ff0000;\">m0d1fyth15<\/span>\r\ndb_host = False\r\ndb_port = False\r\ndb_user = odoo12\r\ndb_password = False\r\naddons_path = \/opt\/odoo12\/odoo\/addons\r\nxmlrpc_port = 8001\r\n<\/pre>\n<p>Save the file then exit, then we create a systemd file to run Odoo 12.<\/p>\n<pre>nano \/etc\/systemd\/system\/odoo12.service<\/pre>\n<pre>[Unit]\r\nDescription=Odoo12\r\nRequires=postgresql.service\r\nAfter=network.target postgresql.service\r\n\r\n[Service]\r\nType=simple\r\nSyslogIdentifier=odoo12\r\nPermissionsStartOnly=true\r\nUser=odoo12\r\nGroup=odoo12\r\nExecStart=\/opt\/odoo12\/odoo-venv\/bin\/python3 \/opt\/odoo12\/odoo\/odoo-bin -c \/etc\/odoo12.conf\r\nStandardOutput=journal+console\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n<\/pre>\n<pre>systemctl daemon-reload\r\nsystemctl start odoo12<\/pre>\n<p>At this point, we can access our new Odoo 12 installation at http:\/\/<span style=\"color: #ff0000;\">IP_Address<\/span>:Odoo_port. To access it using a domain we need to configure a reverse proxy, and this time we will use Apache&nbsp;to do it.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Setting-up-Apache-as-a-Reverse-Proxy\"><\/span>Setting up Apache as a Reverse Proxy<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you have a valid domain name and you would like to use it in order to access your Odoo application instead of typing the IP address and the port number in the URL, we will now show you how to set up a reverse proxy using the Apache web server.<\/p>\n<p>We will start by installing the Apache web server. Apache is considered as the most widely used web server software. It is fast, secure, reliable and can be easily customized depending on your needs.<\/p>\n<p>To install Apache on your server, run the following command:<\/p>\n<pre>apt install apache2<\/pre>\n<p>After the installation is complete, you should enable Apache to start automatically upon system boot. You can do that with the following command:<\/p>\n<pre>systemctl enable apache2<\/pre>\n<p>To verify that Apache is running, open your web browser and enter your server IP address, (e.g. http:\/\/111.222.333.444). If Apache is successfully installed you should see a message saying &#8220;It works!&#8221;.<\/p>\n<p>Next, we will need to enable some additional proxy modules for Apache. You can do this with the following commands:<\/p>\n<pre>a2enmod proxy\r\na2enmod proxy_http\r\n<\/pre>\n<p>Once this is done, open a new configuration file for your domain with the following command:<\/p>\n<pre>nano \/etc\/apache2\/sites-available\/yourdomain.com.conf\r\n\r\nAnd enter the following:<\/pre>\n<pre>ServerName <span style=\"color: #ff0000;\">yourdomain.com<\/span>\r\nServerAlias www.<span style=\"color: #ff0000;\">yourdomain.com<\/span>\r\n\r\nProxyRequests Off\r\n\r\nOrder deny,allow\r\nAllow from all\r\n\r\n\r\nProxyPass \/ http:\/\/<span style=\"color: #ff0000;\">yourdomain.com<\/span>:8069\/\r\nProxyPassReverse \/ http:\/\/<span style=\"color: #ff0000;\">yourdomain.com<\/span>:8069\/\r\n\r\nOrder allow,deny\r\nAllow from all\r\n<\/pre>\n<p>Remember to replace &#8216;<span style=\"color: #ff0000;\">yourdomain.com<\/span>&#8216; with your actual domain name.<\/p>\n<p>Enable &#8220;<span style=\"color: #ff0000;\">yourdomain<\/span>.conf&#8221; configuration in Apache using:<\/p>\n<pre>a2ensite <span style=\"color: #ff0000;\">yourdomain.com<\/span><\/pre>\n<h4>Restart the Apache Web Server<\/h4>\n<p>Save the file, close it and restart Apache for the changes to take effect:<\/p>\n<pre>service apache2 restart<\/pre>\n<p>Now you should be able to access Odoo with your domain name at http:\/\/<span style=\"color: #ff0000;\">yourdomain.com<\/span>. Create your first Odoo database using the master password we set earlier in this tutorial, and start working on your project. For more information about Odoo 12, its features and configuration, please check their official documentation.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-28923\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Install-Odoo-12-CentOS-7.jpg\" alt=\"Install Odoo 12 CentOS 7\" width=\"450\" height=\"475\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Install-Odoo-12-CentOS-7.jpg 450w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Install-Odoo-12-CentOS-7-142x150.jpg 142w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Install-Odoo-12-CentOS-7-284x300.jpg 284w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/p>\n<hr>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-32209\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/11\/get-the-best-support-for-odoo-from-expert-admins-for-ubuntu18.04-with-reverse-proxy.jpg\" alt=\"\" width=\"140\" height=\"44\">Of course, you don\u2019t have to install Odoo 12 on Ubuntu 18.04 if you use one of our <a href=\"https:\/\/www.rosehosting.com\/odoo-hosting.html\">Odoo VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Odoo 12 on Ubuntu 18.04, for you. They are available 24\u00d77 and will take care of your request immediately. You can also refer to this guide: <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-14-on-ubuntu-20-04-with-apache-as-a-reverse-proxy\/\">How to Install Odoo 14 on Ubuntu 20.04 with Apache as a Reverse Proxy<\/a> for more information.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span> If you liked this post on installing Odoo 12 on Ubuntu 18.04 with Apache as a reverse proxy, please share it with your friends on the social networks using the share shortcuts, or simply leave a comment in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will guide you through the steps of installing Odoo 12 on an Ubuntu 18.04 VPS. Additionally, &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Odoo 12 on Ubuntu 18.04 with Apache as a Reverse Proxy\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/#more-29433\" aria-label=\"Read more about How to Install Odoo 12 on Ubuntu 18.04 with Apache as a Reverse Proxy\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":32206,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1710,13,1698],"tags":[464],"class_list":["post-29433","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cms-crm-erp","category-tutorials","category-ubuntu","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 12 on Ubuntu 18.04 with Apache as a Reverse Proxy<\/title>\n<meta name=\"description\" content=\"In this tutorial, you will learn how to install Odoo 12 on an Ubuntu 18.04, using Apache as a reverse proxy.\" \/>\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-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/\" \/>\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 12 on Ubuntu 18.04 with Apache as a Reverse Proxy\" \/>\n<meta property=\"og:description\" content=\"How to Install Odoo 12 on Ubuntu 18.04 with Apache as a Reverse Proxy | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/\" \/>\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=\"2019-12-04T16:06:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-09T16:40:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/11\/how-to-install-odoo-12-with-apache-reverse-proxy-on-ubuntu18.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Odoo 12 on Ubuntu 18.04 with Apache as a Reverse Proxy\",\"datePublished\":\"2019-12-04T16:06:36+00:00\",\"dateModified\":\"2022-12-09T16:40:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\\\/\"},\"wordCount\":1009,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/how-to-install-odoo-12-with-apache-reverse-proxy-on-ubuntu18.04.jpg\",\"keywords\":[\"odoo\"],\"articleSection\":[\"CMS, CRM, ERP\",\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\\\/\",\"name\":\"How to Install Odoo 12 on Ubuntu 18.04 with Apache as a Reverse Proxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/how-to-install-odoo-12-with-apache-reverse-proxy-on-ubuntu18.04.jpg\",\"datePublished\":\"2019-12-04T16:06:36+00:00\",\"dateModified\":\"2022-12-09T16:40:26+00:00\",\"description\":\"In this tutorial, you will learn how to install Odoo 12 on an Ubuntu 18.04, using Apache as a reverse proxy.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/how-to-install-odoo-12-with-apache-reverse-proxy-on-ubuntu18.04.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/how-to-install-odoo-12-with-apache-reverse-proxy-on-ubuntu18.04.jpg\",\"width\":742,\"height\":372},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Odoo 12 on Ubuntu 18.04 with Apache as a Reverse Proxy\"}]},{\"@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 12 on Ubuntu 18.04 with Apache as a Reverse Proxy","description":"In this tutorial, you will learn how to install Odoo 12 on an Ubuntu 18.04, using Apache as a reverse proxy.","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-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Odoo 12 on Ubuntu 18.04 with Apache as a Reverse Proxy","og_description":"How to Install Odoo 12 on Ubuntu 18.04 with Apache as a Reverse Proxy | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2019-12-04T16:06:36+00:00","article_modified_time":"2022-12-09T16:40:26+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/11\/how-to-install-odoo-12-with-apache-reverse-proxy-on-ubuntu18.04.jpg","type":"image\/jpeg"}],"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-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Odoo 12 on Ubuntu 18.04 with Apache as a Reverse Proxy","datePublished":"2019-12-04T16:06:36+00:00","dateModified":"2022-12-09T16:40:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/"},"wordCount":1009,"commentCount":4,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/11\/how-to-install-odoo-12-with-apache-reverse-proxy-on-ubuntu18.04.jpg","keywords":["odoo"],"articleSection":["CMS, CRM, ERP","Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/","name":"How to Install Odoo 12 on Ubuntu 18.04 with Apache as a Reverse Proxy","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/11\/how-to-install-odoo-12-with-apache-reverse-proxy-on-ubuntu18.04.jpg","datePublished":"2019-12-04T16:06:36+00:00","dateModified":"2022-12-09T16:40:26+00:00","description":"In this tutorial, you will learn how to install Odoo 12 on an Ubuntu 18.04, using Apache as a reverse proxy.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/11\/how-to-install-odoo-12-with-apache-reverse-proxy-on-ubuntu18.04.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/11\/how-to-install-odoo-12-with-apache-reverse-proxy-on-ubuntu18.04.jpg","width":742,"height":372},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-18-04-with-apache-as-a-reverse-proxy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Odoo 12 on Ubuntu 18.04 with Apache as a Reverse Proxy"}]},{"@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\/29433","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=29433"}],"version-history":[{"count":5,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/29433\/revisions"}],"predecessor-version":[{"id":44027,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/29433\/revisions\/44027"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/32206"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=29433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=29433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=29433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}