{"id":28788,"date":"2018-10-25T03:37:21","date_gmt":"2018-10-25T08:37:21","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=28788"},"modified":"2022-12-16T04:09:56","modified_gmt":"2022-12-16T10:09:56","slug":"install-odoo-12-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/","title":{"rendered":"How to Install Odoo 12 on CentOS 7"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-28925\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-Odoo-12-on-CentOS-7.jpg\" alt=\"How to Install Odoo 12 on CentOS 7\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-Odoo-12-on-CentOS-7.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-Odoo-12-on-CentOS-7-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-Odoo-12-on-CentOS-7-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-28921\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Installing-Odoo-12-on-CentOS-7.jpg\" alt=\"Installing Odoo 12 on CentOS 7\" width=\"185\" height=\"58\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Installing-Odoo-12-on-CentOS-7.jpg 185w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Installing-Odoo-12-on-CentOS-7-150x47.jpg 150w\" sizes=\"(max-width: 185px) 100vw, 185px\" \/>Odoo is among the most popular business software which you can find nowadays. The things that make so popular this application is that offers a range of business application in one place. Some of the applications we can mention are Point of Sale (POS), Inventory, CRM, VoIP, Website, Live Chat, e-Commerce, manufacturing, billing, accounting, warehouse, project management, inventory, Forum, Android &amp; iPhone Apps, eCommerce, and much more, all seamlessly integrated. Odoo comes up with a new version 12 this October. In this article, we will show you how to install Odoo 12 on <a href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\">CentOS 7<\/a>.<!--more--><\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-28922\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Install-Odoo-12-on-CentOS-7.jpg\" alt=\"Install Odoo 12 on CentOS 7\" width=\"212\" height=\"120\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Install-Odoo-12-on-CentOS-7.jpg 212w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Install-Odoo-12-on-CentOS-7-150x85.jpg 150w\" sizes=\"(max-width: 212px) 100vw, 212px\" \/>Odoo is known as resource intensive application, so our recommendation is to start with our <a href=\"https:\/\/www.rosehosting.com\/odoo-hosting.html\">SSD 2 VPS<\/a> hosting plan or higher.<\/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-69e839ee07f28\" 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-69e839ee07f28\"  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\/install-odoo-12-on-centos-7\/#1-Log-in-as-root-to-your-server-via-SSH\" >1. Log in as root to your server via SSH<\/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\/install-odoo-12-on-centos-7\/#2-Update-the-system\" >2. 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\/install-odoo-12-on-centos-7\/#3-Install-Python-35-packages-and-Odoo-dependencies\" >3. Install Python 3.5 packages and Odoo dependencies<\/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\/install-odoo-12-on-centos-7\/#4-Create-Odoo-user\" >4. Create Odoo user<\/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\/install-odoo-12-on-centos-7\/#5-Install-and-configure-PostgreSQL\" >5. Install and configure PostgreSQL<\/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\/install-odoo-12-on-centos-7\/#6-Install-Wkhtmltopdf\" >6. Install Wkhtmltopdf<\/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\/install-odoo-12-on-centos-7\/#7-Install-and-configure-Odoo-12\" >7. Install and configure Odoo 12<\/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\/install-odoo-12-on-centos-7\/#8-Create-a-systemd-unit-file\" >8. Create a systemd unit file<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/#9-Test-the-installation\" >9. Test the installation<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1-Log-in-as-root-to-your-server-via-SSH\"><\/span>1. Log in as root to your server via SSH<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>ssh root@your_server_ip<\/pre>\n<p>If you want to check the version of CentOS installed on your machine you can run the following command:<\/p>\n<pre>cat \/etc\/redhat-release<\/pre>\n<p>the output we receive is:<\/p>\n<pre>CentOS Linux release 7.5.1804 (Core)<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"2-Update-the-system\"><\/span>2. Update the system<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>By running the command below, you can update your server:<\/p>\n<pre>yum update<\/pre>\n<p>Once this is done, enable the EPEL repository by typing:<\/p>\n<pre>yum install epel-release<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"3-Install-Python-35-packages-and-Odoo-dependencies\"><\/span>3. Install Python 3.5 packages and Odoo dependencies<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>With the next command, you can enable the Software Collections (SCL) repository so you can install Python 3.5 packages.<\/p>\n<pre>yum install centos-release-scl<\/pre>\n<p>Execute the following command to install Python 3.5:<\/p>\n<pre>yum install rh-python35<\/pre>\n<p>With the next command, you should install all the tools and dependencies that you need to build the latest Odoo 12.<\/p>\n<pre>yum install git gcc wget nodejs-less libxslt-devel bzip2-devel openldap-devel libjpeg-devel freetype-devel<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"4-Create-Odoo-user\"><\/span>4. Create Odoo user<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Create a new system user and group that you need to run the Odoo service. In this case, we will define \/opt\/odoo as a home directory.<\/p>\n<pre>useradd -m -U -r -d \/opt\/odoo -s \/bin\/bash odoo<\/pre>\n<p>Feel free to name the user whatever you like, just don&#8217;t forget to create a PostgreSQL user with the same name.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"5-Install-and-configure-PostgreSQL\"><\/span>5. Install and configure PostgreSQL<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>You can first list the available packages:<\/p>\n<pre>yum list postgresql*<\/pre>\n<p>We will use PostgreSQL version 9.6 in this tutorial. If you do not have this version of the list, you can manually add from the Postgres Yum repository using the command below:<\/p>\n<pre>yum install https:\/\/download.postgresql.org\/pub\/repos\/yum\/9.6\/redhat\/rhel-7-x86_64\/pgdg-redhat-repo-latest.noarch.rpm<\/pre>\n<p>Install PostgreSQL 9.6 by executing:<\/p>\n<pre>yum install postgresql96 postgresql96-server postgresql96-contrib postgresql96-libs<\/pre>\n<p>Initialize your database:<\/p>\n<pre>\/usr\/pgsql-9.6\/bin\/postgresql96-setup initdb<\/pre>\n<p>Start the PostgreSQL:<\/p>\n<pre>systemctl start postgresql-9.6.service<\/pre>\n<p>Optional: You can configure PostgreSQL to start on boot by enabling it:<\/p>\n<pre>systemctl enable postgresql-9.6.service<\/pre>\n<p>Next, you need to create a PostgreSQL user who uses the same name as the user you are creating already for Odoo.<\/p>\n<pre>su - postgres -c \"createuser -s odoo\"<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"6-Install-Wkhtmltopdf\"><\/span>6. Install Wkhtmltopdf<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The wkhtmltopdf package is an open source tool that Odoo uses to make HTML in PDF formats so that it can print PDF reports. We will install version 0.12.5 which is not available in the official CentOS 7 repositories. In order to download and install this version you need to run the following commands:<\/p>\n<pre>cd \/opt\/\r\n\r\nwget https:\/\/downloads.wkhtmltopdf.org\/0.12\/0.12.5\/wkhtmltox-0.12.5-1.centos7.x86_64.rpm\r\n\r\nyum localinstall wkhtmltox-0.12.5-1.centos7.x86_64.rpm<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"7-Install-and-configure-Odoo-12\"><\/span>7. Install and configure Odoo 12<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We are going to install Odoo 12 from GitHub repository and use virtualenv so can create an isolated Python environment. The first step you need to do is switch to the odoo user:<\/p>\n<pre>su - odoo<\/pre>\n<p>Clone the Odoo from the GitHub repository:<\/p>\n<pre>git clone https:\/\/www.github.com\/odoo\/odoo --depth 1 --branch 12.0 \/opt\/odoo\/odoo12<\/pre>\n<p>In the next step we should enable the software collections in order to access the python 3.5 binaries:<\/p>\n<pre>scl enable rh-python35 bash<\/pre>\n<p>Then create a new virtual environment with the commands below:<\/p>\n<pre>cd \/opt\/odoo\r\npython3 -m venv odoo12-venv<\/pre>\n<p>activate the virtual environment:<\/p>\n<pre>source odoo12-venv\/bin\/activate<\/pre>\n<p>Upgrade pip with the command and install the Wheel library:<\/p>\n<pre>pip install --upgrade pip\r\n\r\npip3 install wheel<\/pre>\n<p>Run the following command to install all the required Python modules:<\/p>\n<pre>pip3 install -r odoo12\/requirements.txt<\/pre>\n<p>When the installation is complete, you can deactivate the virtual environment and return to the root user with the commands:<\/p>\n<pre>deactivate &amp;&amp; exit\r\nexit<\/pre>\n<p>If you consider that you will use custom modules for your Odoo instance you should install them in a separate directory. Create a new directory and change the owner to odoo with the following commands:<\/p>\n<pre>mkdir \/opt\/odoo\/odoo12-custom-addons\r\n\r\nchown odoo: \/opt\/odoo\/odoo12-custom-addons<\/pre>\n<p>Next step is to create a configuration file for the Odoo.<\/p>\n<pre>nano \/etc\/odoo.conf<\/pre>\n<p>paste the following lines in the configuration file:<\/p>\n<pre>[options]\r\n; This is the password that allows database operations:\r\nadmin_passwd = master_password\r\ndb_host = False\r\ndb_port = False\r\ndb_user = odoo\r\ndb_password = False\r\naddons_path = \/opt\/odoo\/odoo12\/addons\r\n; You can enable log file with uncommenting the next line\r\n; logfile = \/var\/log\/odoo12\/odoo.log\r\n; If you are using custom modules\r\n; addons_path = \/opt\/odoo\/odoo12\/addons,\/opt\/odoo\/odoo12-custom-addons<\/pre>\n<p>Please do not forget to change the <strong>master_password<\/strong> with a new strong password. You can <a href=\"https:\/\/www.rosehosting.com\/blog\/generate-password-linux-command-line\/\">generate one through the command line<\/a>. Save and close the file.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"8-Create-a-systemd-unit-file\"><\/span>8. Create a systemd unit file<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In the next step, we will create a service unit file so we can run Odoo as a service.<\/p>\n<p>Open your text editor :<\/p>\n<pre>nano \/etc\/systemd\/system\/odoo12.service<\/pre>\n<p>and paste the configuration below:<\/p>\n<pre>[Unit]\r\nDescription=Odoo12\r\nRequires=postgresql-9.6.service\r\nAfter=network.target postgresql-9.6.service\r\n\r\n[Service]\r\nType=simple\r\nSyslogIdentifier=odoo12\r\nPermissionsStartOnly=true\r\nUser=odoo\r\nGroup=odoo\r\nExecStart=\/usr\/bin\/scl enable rh-python35 -- \/opt\/odoo\/odoo12-venv\/bin\/python3 \/opt\/odoo\/odoo12\/odoo-bin -c \/etc\/odoo.conf\r\nStandardOutput=journal+console\r\n\r\n[Install]\r\nWantedBy=multi-user.target<\/pre>\n<p>You need to reload the daemon so he can take the new unit that we created in systemd.<\/p>\n<pre>systemctl daemon-reload<\/pre>\n<p>Finally, we can start the Odoo instances with the command:<\/p>\n<pre>systemctl start odoo12<\/pre>\n<p>To check the status for the Odoo service you can execute the following command:<\/p>\n<pre>systemctl status odoo12<\/pre>\n<pre>\u25cf odoo12.service - Odoo12\r\nLoaded: loaded (\/etc\/systemd\/system\/odoo12.service; disabled; vendor preset: disabled)\r\nActive: active (running) since Thu 2018-10-18 07:28:28 CDT; 6s ago\r\nMain PID: 24592 (scl)\r\nCGroup: \/system.slice\/odoo12.service\r\n\u251c\u250024592 \/usr\/bin\/scl enable rh-python35 -- \/opt\/odoo\/odoo12-venv\/bin\/python3 \/opt\/odoo\/odoo12\/odoo-bin -c \/etc\/odoo.conf\r\n\u251c\u250024593 \/bin\/bash \/var\/tmp\/scly7P6bo\r\n\u2514\u250024596 \/opt\/odoo\/odoo12-venv\/bin\/python3 \/opt\/odoo\/odoo12\/odoo-bin -c \/etc\/odoo.conf<\/pre>\n<p>If there are no errors you can enable the Odoo service to start on boot with the command:<\/p>\n<pre>systemctl enable odoo12<\/pre>\n<p>For more information about the messages logged by the Odoo service you can check:<\/p>\n<pre>journalctl -u odoo12<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"9-Test-the-installation\"><\/span>9. Test the installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Now when you have Odoo running on your server it is time to open your favorite browser and navigate to\u00a0http:\/\/&lt;your_server_IP_address&gt;:8069<\/p>\n<p>If that the installation has been successfully completed, you should be able to see the Odoo screen so you can create your first database.<\/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<h3>Conclusion<\/h3>\n<p>Congratulations, if you follow carefully our instructions in this tutorial, you have installed the latest Odoo 12 on your <a href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\">CentOS 7 VPS<\/a>. You can create your first database and start using the latest Odoo 12. Use this tutorial if you are <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-ubuntu-16-04\/\"><strong>installing Odoo 12 on Ubuntu 16.04<\/strong><\/a>, and this tutorial if you are <strong><a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-12-on-debian-9\/\">installing Odoo 12 on Debian 9<\/a>. <\/strong>If you&#8217;ve already switched to a newer CentOS version, and need to make it compatible with Odoo 13, you can check out our step-by-step guide on <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-13-on-centos-8\/\" target=\"_blank\" rel=\"noopener\">how to install Odoo 13 on CentOS 8.<\/a><\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-28924\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Install-Odoo-12-on-CentOS.jpg\" alt=\"Install Odoo 12 on CentOS\" width=\"185\" height=\"58\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Install-Odoo-12-on-CentOS.jpg 185w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Install-Odoo-12-on-CentOS-150x47.jpg 150w\" sizes=\"(max-width: 185px) 100vw, 185px\" \/>Of course, you don\u2019t have to <strong>install Odoo 12 on CentOS 7<\/strong>, if you use one of our <a href=\"https:\/\/www.rosehosting.com\/odoo-hosting.html\">Odoo VPS Hosting services<\/a>, in which case you can simply ask our expert Linux admins to install and configure Odoo 12 for you. They are available <strong>24\u00d77<\/strong> and will take care of your request immediately.<\/p>\n<p><code>PS.<\/code> If you liked this post on<strong> how to install Odoo 12 on CentOS 7<\/strong>, please share it with your friends on the social networks using the buttons below or simply leave a reply. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Odoo is among the most popular business software which you can find nowadays. The things that make so popular this &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Odoo 12 on CentOS 7\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/#more-28788\" aria-label=\"Read more about How to Install Odoo 12 on CentOS 7\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":28925,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,1710,13],"tags":[541,464,1756],"class_list":["post-28788","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-cms-crm-erp","category-tutorials","tag-centos-7","tag-odoo","tag-odoo-12","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.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Odoo 12 on CentOS 7 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install Odoo 12 on CentOS 7 | RoseHosting\" \/>\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\/install-odoo-12-on-centos-7\/\" \/>\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 CentOS 7\" \/>\n<meta property=\"og:description\" content=\"How to Install Odoo 12 on CentOS 7 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/\" \/>\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=\"2018-10-25T08:37:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-16T10:09:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-Odoo-12-on-CentOS-7.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\\\/install-odoo-12-on-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-odoo-12-on-centos-7\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Odoo 12 on CentOS 7\",\"datePublished\":\"2018-10-25T08:37:21+00:00\",\"dateModified\":\"2022-12-16T10:09:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-odoo-12-on-centos-7\\\/\"},\"wordCount\":942,\"commentCount\":16,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-odoo-12-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-Install-Odoo-12-on-CentOS-7.jpg\",\"keywords\":[\"centos 7\",\"odoo\",\"odoo 12\"],\"articleSection\":[\"CentOS\",\"CMS, CRM, ERP\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-odoo-12-on-centos-7\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-odoo-12-on-centos-7\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-odoo-12-on-centos-7\\\/\",\"name\":\"How to Install Odoo 12 on CentOS 7 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-odoo-12-on-centos-7\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-odoo-12-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-Install-Odoo-12-on-CentOS-7.jpg\",\"datePublished\":\"2018-10-25T08:37:21+00:00\",\"dateModified\":\"2022-12-16T10:09:56+00:00\",\"description\":\"How to Install Odoo 12 on CentOS 7 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-odoo-12-on-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-odoo-12-on-centos-7\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-odoo-12-on-centos-7\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-Install-Odoo-12-on-CentOS-7.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-Install-Odoo-12-on-CentOS-7.jpg\",\"width\":742,\"height\":372,\"caption\":\"How to Install Odoo 12 on CentOS 7\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-odoo-12-on-centos-7\\\/#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 CentOS 7\"}]},{\"@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 CentOS 7 | RoseHosting","description":"How to Install Odoo 12 on CentOS 7 | RoseHosting","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\/install-odoo-12-on-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Odoo 12 on CentOS 7","og_description":"How to Install Odoo 12 on CentOS 7 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2018-10-25T08:37:21+00:00","article_modified_time":"2022-12-16T10:09:56+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-Odoo-12-on-CentOS-7.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\/install-odoo-12-on-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Odoo 12 on CentOS 7","datePublished":"2018-10-25T08:37:21+00:00","dateModified":"2022-12-16T10:09:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/"},"wordCount":942,"commentCount":16,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-Odoo-12-on-CentOS-7.jpg","keywords":["centos 7","odoo","odoo 12"],"articleSection":["CentOS","CMS, CRM, ERP","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/","url":"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/","name":"How to Install Odoo 12 on CentOS 7 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-Odoo-12-on-CentOS-7.jpg","datePublished":"2018-10-25T08:37:21+00:00","dateModified":"2022-12-16T10:09:56+00:00","description":"How to Install Odoo 12 on CentOS 7 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-Odoo-12-on-CentOS-7.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-Odoo-12-on-CentOS-7.jpg","width":742,"height":372,"caption":"How to Install Odoo 12 on CentOS 7"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/install-odoo-12-on-centos-7\/#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 CentOS 7"}]},{"@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\/28788","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=28788"}],"version-history":[{"count":6,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/28788\/revisions"}],"predecessor-version":[{"id":44337,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/28788\/revisions\/44337"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/28925"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=28788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=28788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=28788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}