id: 478af07239bb4a02934461e60fe3928b
parent_id: 
item_type: 1
item_id: 0909f21ec16642db80bea1dfebf14edf
item_updated_time: 1764345577135
title_diff: "[{\"diffs\":[[1,\"Install Odoo 8 on CentOS 7\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":26}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>Install Odoo 8 on CentOS 7</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"application-data:2525275\\\" content=\\\"6692893/s30/74d68831-5576-4d2f-b578-a0dc8a6c1db4/app.yinxiang.com\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"13538\\\"></a>\\\r\\\n<h1>Install Odoo 8 on CentOS 7</h1>\\\r\\\n\\\r\\\n<div><span><br/><div style=\\\"font-size: 16px\\\"><div style=\\\"box-sizing:border-box;font-family:sans-serif;\\\"><div style=\\\"box-sizing:inherit;-webkit-font-smoothing:antialiased;color:rgba(0, 0, 0, 0.8);font-family:Merriweather, serif;font-size:1em;line-height:1.5;background-color:rgb(255, 255, 255);\\\"><span style=\\\"box-sizing:inherit;\\\"><div style=\\\"box-sizing:inherit;\\\"><div style=\\\"box-sizing:inherit;\\\">\\\n\\\n  <div style=\\\"box-sizing:inherit;display:block;text-align:center;\\\">\\\n    <h1 style=\\\"box-sizing:inherit;font-family:Lusitana, serif;line-height:1.25;margin:0px;text-rendering:optimizelegibility;font-size:2.6em;font-weight:700;margin-bottom:0.5em;\\\">\\\n      <a href=\\\"https://panovski.me/install-odoo-8-on-centos-7/\\\" style=\\\"box-sizing:inherit;background:0px 0px;transition:color 0.1s linear;-webkit-transition:color 0.1s linear;color:rgba(0, 0, 0, 0.8);text-decoration:none;\\\" title=\\\"Install Odoo 8 on CentOS 7\\\">Install Odoo 8 on CentOS 7</a>\\\n    </h1>\\\n    <span style=\\\"box-sizing:inherit;line-height:1;margin-bottom:1.5em;display:inline-block;font-family:'Merriweather Sans', sans-serif;font-size:0.625em;font-weight:700;padding:0.3em 0px;text-align:left;text-transform:uppercase;\\\">22 October 2014</span>\\\n    <span style=\\\"box-sizing:inherit;line-height:1;margin-bottom:1.5em;display:inline-block;font-family:'Merriweather Sans', sans-serif;font-size:0.625em;font-weight:700;padding:0.3em 0px;text-align:left;text-transform:lowercase;\\\">on </span>\\\n    <div style=\\\"box-sizing:inherit;line-height:1;margin-bottom:1.5em;display:inline-block;font-family:'Merriweather Sans', sans-serif;font-size:0.625em;font-weight:700;padding:0.3em 0px;text-align:left;text-transform:uppercase;\\\">\\\n            <a href=\\\"https://panovski.me/tag/odoo/\\\" style=\\\"box-sizing:inherit;background:0px 0px;transition:color 0.1s linear;-webkit-transition:color 0.1s linear;color:rgba(0, 0, 0, 0.8);text-decoration:none;border-bottom-width:1px;border-bottom-style:solid;\\\">Odoo</a> • \\\n            <a href=\\\"https://panovski.me/tag/centos/\\\" style=\\\"box-sizing:inherit;background:0px 0px;transition:color 0.1s linear;-webkit-transition:color 0.1s linear;color:rgba(0, 0, 0, 0.8);text-decoration:none;border-bottom-width:1px;border-bottom-style:solid;\\\">CentOS</a> \\\n    </div>\\\n    <img src=\\\":/34c2eb845f2043068c86861884d5cc97\\\" type=\\\"image/jpeg\\\" data-filename=\\\"Image.jpg\\\" alt=\\\"Install Odoo 8 on CentOS 7\\\" height=\\\"418\\\" style=\\\"box-sizing:inherit;border:0px;margin:0px;max-width:100%;\\\" width=\\\"744\\\"/>\\\n  </div>\\\n\\\n  <div style=\\\"box-sizing:inherit;\\\">\\\n    <h2 style=\\\"box-sizing:inherit;font-family:Merriweather, serif;line-height:1.6em;margin:1.5em -3em;text-rendering:optimizelegibility;font-size:1.4em;text-align:center;font-style:italic;font-weight:400;\\\">In this article, we will go through the installation of Odoo 8 on CentOS 7 machine. We will create a Python virtual environment and use the Odoo source code from Github.</h2>\\\n\\\n<h4 style=\\\"box-sizing:inherit;font-family:Lusitana, serif;line-height:1.25;margin:0px;text-rendering:optimizelegibility;font-size:1.5em;padding-top:1.5em;padding-bottom:0.75em;\\\">Install and configure PostgreSQL 9.3</h4>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">First of all, we need to install PostgreSQL. We'll install PostgreSQL version 9.3 from the official PostgreSQL repository.  </p>\\\n\\\n<pre style=\\\"box-sizing:inherit;overflow:auto;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;\\\"><code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.5em;background:rgb(35, 35, 35);display:block;overflow-x:auto;color:rgb(230, 225, 220);\\\">rpm -Uvh http://yum.postgresql.org/<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">9.3</span>/redhat/rhel-<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">7</span>-x86_64/pgdg-centos93-<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">9.3</span>-<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">1</span>.noarch.rpm  \\\nyum -y install postgresql93 postgresql93-server postgresql93-devel --disablerepo=* --enablerepo=pgdg93  \\\n</code></pre>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">After installing the packages, we'll initialize the database, enable the service on boot and start the PostgreSQL server.  </p>\\\n\\\n<pre style=\\\"box-sizing:inherit;overflow:auto;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;\\\"><code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.5em;background:rgb(35, 35, 35);display:block;overflow-x:auto;color:rgb(230, 225, 220);\\\">/usr/pgsql-<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">9.3</span>/bin/postgresql93-setup initdb\\\nsystemctl enable postgresql-<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">9.3</span>.service  \\\nsystemctl start postgresql-<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">9.3</span>  \\\n</code></pre>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">The following command will create a new PostgreSQL user named <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">odoo</code>:  </p>\\\n\\\n<pre style=\\\"box-sizing:inherit;overflow:auto;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;\\\"><code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.5em;background:rgb(35, 35, 35);display:block;overflow-x:auto;color:rgb(230, 225, 220);\\\">su - postgres -c <span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">&quot;createuser -s odoo&quot;</span> <span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">2</span>&gt; /dev/null || <span style=\\\"box-sizing:inherit;\\\">true</span>  \\\n</code></pre>\\\n\\\n<h4 style=\\\"box-sizing:inherit;font-family:Lusitana, serif;line-height:1.25;margin:0px;text-rendering:optimizelegibility;font-size:1.5em;padding-top:1.5em;padding-bottom:0.75em;\\\">Install all nessesary packages</h4>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">We need the development tools installed:  </p>\\\n\\\n<pre style=\\\"box-sizing:inherit;overflow:auto;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;\\\"><code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.5em;background:rgb(35, 35, 35);display:block;overflow-x:auto;color:rgb(230, 225, 220);\\\">yum -y groupinstall <span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">&quot;Development tools&quot;</span>  \\\n</code></pre>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">Next, we'll install a few dependencies:  </p>\\\n\\\n<pre style=\\\"box-sizing:inherit;overflow:auto;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;\\\"><code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.5em;background:rgb(35, 35, 35);display:block;overflow-x:auto;color:rgb(230, 225, 220);\\\">yum -y install zlib-devel bzip2-devel openssl openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel libpcap-devel xz-devel git libpng libjpeg libXext curl xorg-x11-font-utils fontconfig python-virtualenv libevent-devel libxml2-devel libxslt-devel openldap-devel openjpeg-devel freetype-devel libjpeg-turbo-devel libtiff-devel  \\\n</code></pre>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">To be able to print documents in Odoo we'll need the <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">wkhtmltopdf</code> package. To download and install <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">wkhtmltopdf</code> from the project page run the following command:  </p>\\\n\\\n<pre style=\\\"box-sizing:inherit;overflow:auto;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;\\\"><code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.5em;background:rgb(35, 35, 35);display:block;overflow-x:auto;color:rgb(230, 225, 220);\\\">rpm -Uvh http://downloads.sourceforge.net/project/wkhtmltopdf/<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">0.12</span>.<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">1</span>/wkhtmltox-<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">0.12</span>.<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">1</span>_linux-centos7-amd64.rpm  \\\n</code></pre>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">We'll install Python packages with <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">pip</code>, so let's install <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">pip</code> from the EPEL repository:  </p>\\\n\\\n<pre style=\\\"box-sizing:inherit;overflow:auto;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;\\\"><code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.5em;background:rgb(35, 35, 35);display:block;overflow-x:auto;color:rgb(230, 225, 220);\\\">rpm -Uvh http://dl.fedoraproject.org/pub/epel/<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">7</span>/x86_64/p/python-pip-<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">1.3</span>.<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">1</span>-<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">4</span>.el7.noarch.rpm  \\\n</code></pre>\\\n\\\n<h4 style=\\\"box-sizing:inherit;font-family:Lusitana, serif;line-height:1.25;margin:0px;text-rendering:optimizelegibility;font-size:1.5em;padding-top:1.5em;padding-bottom:0.75em;\\\">Clone Odoo 8 from GitHub</h4>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">We are going to clone the Odoo 8 repository from GitHub to the <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">/opt/odoo</code> directory.  </p>\\\n\\\n<pre style=\\\"box-sizing:inherit;overflow:auto;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;\\\"><code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.5em;background:rgb(35, 35, 35);display:block;overflow-x:auto;color:rgb(230, 225, 220);\\\">git clone --branch <span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">8.0</span> https://www.github.com/odoo/odoo /opt/odoo  \\\n</code></pre>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">Later, if you want to update your Odoo repository to the latest version just run <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">git pull</code>.</p>\\\n\\\n<h4 style=\\\"box-sizing:inherit;font-family:Lusitana, serif;line-height:1.25;margin:0px;text-rendering:optimizelegibility;font-size:1.5em;padding-top:1.5em;padding-bottom:0.75em;\\\">Create a virtual environment for Odoo</h4>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">Create a new system user named <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">odoo</code>, change the owner ship of the <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">/opt/odoo</code> directory to <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">odoo</code> user and group and switch to it, using the following commands:  </p>\\\n\\\n<pre style=\\\"box-sizing:inherit;overflow:auto;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;\\\"><code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.5em;background:rgb(35, 35, 35);display:block;overflow-x:auto;color:rgb(230, 225, 220);\\\">useradd odoo  \\\nchown -R odoo: /opt/odoo  \\\nsu - odoo  \\\n</code></pre>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">Now we'll create a virtual environment and install all necessary packages from the <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">requirements.txt</code> file:  </p>\\\n\\\n<pre style=\\\"box-sizing:inherit;overflow:auto;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;\\\"><code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.5em;background:rgb(35, 35, 35);display:block;overflow-x:auto;color:rgb(230, 225, 220);\\\">/bin/virtualenv odoo\\\n<span style=\\\"box-sizing:inherit;color:rgb(109, 156, 190);\\\">source</span> odoo/bin/activate  \\\nPATH=<span style=\\\"box-sizing:inherit;color:rgb(208, 208, 255);\\\">$PATH</span>:/usr/pgsql-<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">9.3</span>/bin  \\\npip install -r /opt/odoo/requirements.txt  \\\n<span style=\\\"box-sizing:inherit;color:rgb(194, 98, 48);\\\">exit</span>  \\\n</code></pre>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">The installation will take a few minutes so go grab a coffee.</p>\\\n\\\n<h4 style=\\\"box-sizing:inherit;font-family:Lusitana, serif;line-height:1.25;margin:0px;text-rendering:optimizelegibility;font-size:1.5em;padding-top:1.5em;padding-bottom:0.75em;\\\">Create configuration file and <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">systemctl</code> service</h4>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">Next, we'll create a basic configuration file and <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">systemctl</code> service for our Odoo instance.  </p>\\\n\\\n<pre style=\\\"box-sizing:inherit;overflow:auto;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;\\\"><code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.5em;background:rgb(35, 35, 35);display:block;overflow-x:auto;color:rgb(230, 225, 220);\\\">cat &gt; /etc/odoo-server.conf &lt;&lt; EOF  \\\n[options]\\\nadmin_passwd = admin  \\\ndb_host = False  \\\ndb_port = False  \\\ndb_user = odoo  \\\ndb_password = False  \\\naddons_path = /opt/odoo/addons  \\\nwithout-demo=all  \\\nno-xmlrpc = True  \\\nno-xmlrpcs = True  \\\nno-netrpc = True  \\\nlog_db = False  \\\nlog_handler = [<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">'[\\\\'</span>[<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">&quot;[\\\\\\\\\\\\':INFO\\\\\\\\\\\\']&quot;</span>]\\\\<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">']'</span>]  \\\nlog_level = info  \\\nlogfile = False  \\\nlogin_message = False  \\\nlogrotate = True  \\\nsyslog = False  \\\nEOF  \\\n</code></pre>\\\n\\\n<pre style=\\\"box-sizing:inherit;overflow:auto;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;\\\"><code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.5em;background:rgb(35, 35, 35);display:block;overflow-x:auto;color:rgb(230, 225, 220);\\\"><span style=\\\"box-sizing:inherit;\\\">cat &gt;</span> /usr/lib/systemd/system/odoo.service &lt;&lt; <span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">EOF</span>  \\\n[<span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">Unit</span>]\\\n<span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">Description</span>=<span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">Odoo</span> <span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">8.0</span> <span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">ERP</span> <span style=\\\"box-sizing:inherit;color:rgb(194, 98, 48);\\\">and</span> <span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">CRM</span> server  \\\n<span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">After</span>=postgresql-<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">9.3</span>.service\\\n\\\n[<span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">Service</span>]\\\n<span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">Type</span>=simple  \\\n<span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">User</span>=odoo  \\\n<span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">Group</span>=odoo  \\\n<span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">ExecStart</span>=<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">/home/odoo</span><span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">/odoo/bin</span><span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">/python /opt</span><span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">/odoo/openerp</span>-server --config=<span style=\\\"box-sizing:inherit;color:rgb(165, 194, 97);\\\">/etc/odoo</span>-server.conf\\\n\\\n[<span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">Install</span>]\\\n<span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">WantedBy</span>=multi-user.target  \\\n<span style=\\\"box-sizing:inherit;color:rgb(218, 73, 57);\\\">EOF</span>  \\\n</code></pre>\\\n\\\n<blockquote style=\\\"box-sizing:inherit;font-style:italic;border-left-width:0.25em;border-left-style:solid;border-left-color:rgba(0, 0, 0, 0.2);margin:1.5em 0px 1.5em -1em;padding-left:0.75em;\\\">\\\n  <p style=\\\"box-sizing:inherit;margin:0px;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">You can use the following command to view Odoo log: <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">journalctl -f -u odoo</code>.</p>\\\n</blockquote>\\\n\\\n<h4 style=\\\"box-sizing:inherit;font-family:Lusitana, serif;line-height:1.25;margin:0px;text-rendering:optimizelegibility;font-size:1.5em;padding-top:1.5em;padding-bottom:0.75em;\\\">Final steps</h4>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">We also need to open port 8069 in our firewall:  </p>\\\n\\\n<pre style=\\\"box-sizing:inherit;overflow:auto;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;\\\"><code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.5em;background:rgb(35, 35, 35);display:block;overflow-x:auto;color:rgb(230, 225, 220);\\\">firewall-cmd <span style=\\\"box-sizing:inherit;color:rgb(188, 148, 88);font-style:italic;\\\">--zone=pubic --add-port=8069/tcp --permanent  </span>\\\nfirewall-cmd <span style=\\\"box-sizing:inherit;color:rgb(188, 148, 88);font-style:italic;\\\">--reload  </span>\\\n</code></pre>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">Finally, we'll enable Odoo on boot and start the service:  </p>\\\n\\\n<pre style=\\\"box-sizing:inherit;overflow:auto;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;\\\"><code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.5em;background:rgb(35, 35, 35);display:block;overflow-x:auto;color:rgb(230, 225, 220);\\\">systemctl enable odoo.service  \\\nsystemctl <span style=\\\"box-sizing:inherit;\\\"><span style=\\\"box-sizing:inherit;color:rgb(194, 98, 48);\\\">start</span> odoo  \\\n</span></code></pre>\\\n\\\n<p style=\\\"box-sizing:inherit;margin:0px 0px 0.75em;font-family:Merriweather, serif;line-height:1.6em;font-size:1.125em;margin-top:1.5em;margin-bottom:0.5em;\\\">That's it, Odoo installation is complete. To open Odoo, point your browser at: <code style=\\\"box-sizing:inherit;font-family:'Fira Mono', monospace;font-size:0.9375em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:4;border-radius:0.1875em;padding:0.1875em 0.5625em;background:rgb(238, 238, 238);\\\">http://&lt;ip_address&gt;:8069</code></p>\\\n  </div>\\\n\\\n  <div style=\\\"box-sizing:inherit;display:block;overflow:hidden;padding:4em 0px;\\\">\\\n\\\n    <div style=\\\"box-sizing:inherit;line-height:2em;letter-spacing:1px;float:left;display:block;margin-right:2.3576515979%;width:40.2913699012%;font-weight:700;padding:1.5em 0px 3em;text-transform:uppercase;color:rgba(0, 0, 0, 0.6);border-top-width:1px;border-top-style:solid;border-top-color:rgba(0, 0, 0, 0.2);\\\">\\\n      <div style=\\\"box-sizing:inherit;\\\">\\\n        <h4 style=\\\"box-sizing:inherit;font-family:'Merriweather Sans', sans-serif;line-height:1.25;margin:0px;text-rendering:optimizelegibility;font-size:0.6875em;display:inline-block;\\\">Written By\\\n          <a href=\\\"https://panovski.me/install-odoo-8-on-centos-7/\\\" style=\\\"box-sizing:inherit;background:0px 0px;transition:color 0.1s linear;-webkit-transition:color 0.1s linear;color:rgb(41, 128, 185);text-decoration:none;\\\">\\\n            <span style=\\\"box-sizing:inherit;\\\">Panovski Dejan</span>\\\n          </a>\\\n        </h4>\\\n      </div>\\\n    </div>\\\n\\\n    <div style=\\\"box-sizing:inherit;float:left;display:block;margin-right:0px;width:40.2913699012%;margin-left:17.0596085997%;text-align:right;vertical-align:middle;font-weight:700;padding:1.5em 0px 3em;text-transform:uppercase;color:rgba(0, 0, 0, 0.6);border-top-width:1px;border-top-style:solid;border-top-color:rgba(0, 0, 0, 0.2);\\\">\\\n      <h4 style=\\\"box-sizing:inherit;font-family:'Merriweather Sans', sans-serif;line-height:1.25;margin:0px;text-rendering:optimizelegibility;font-size:0.6875em;display:inline-block;\\\"><span style=\\\"box-sizing:inherit;\\\">Spread the word</span></h4>\\\n      <ul style=\\\"box-sizing:inherit;margin:0px;padding:0px;list-style-type:none;display:inline-block;text-align:center;vertical-align:middle;line-height:1;\\\">\\\n        <li style=\\\"box-sizing:inherit;display:inline-block;overflow:hidden;line-height:2em;width:2em;height:2em;border-radius:50%;border:0.125em solid rgb(41, 128, 185);margin:0px 1px;text-align:center;transition:all 0.2s ease-in-out;-webkit-transition:all 0.2s ease-in-out;\\\">\\\n            <a href=\\\"https://panovski.me/install-odoo-8-on-centos-7/#\\\" style=\\\"box-sizing:inherit;background:0px 0px;transition:color 0.1s linear;-webkit-transition:color 0.1s linear;color:rgb(41, 128, 185);text-decoration:none;display:block;width:100%;height:100%;vertical-align:top;line-height:1em;font-size:1em;padding-top:7px;margin-left:1px;position:relative;\\\"><i style=\\\"box-sizing:inherit;color:rgb(41, 128, 185);font-size:1em;line-height:1em;transition:all 0.2s ease-in-out;-webkit-transition:all 0.2s ease-in-out;\\\"><span style=\\\"color:rgb(41, 128, 185);font-size:1em;line-height:1em;font-family:panovski;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:0.2em;text-align:center;font-variant:normal;text-transform:none;margin-left:0.2em;\\\">g</span></i></a>\\\n          \\\n        </li>\\\n        <li style=\\\"box-sizing:inherit;display:inline-block;overflow:hidden;line-height:2em;width:2em;height:2em;border-radius:50%;border:0.125em solid rgb(41, 128, 185);margin:0px 1px;text-align:center;transition:all 0.2s ease-in-out;-webkit-transition:all 0.2s ease-in-out;\\\">\\\n          <a href=\\\"https://panovski.me/install-odoo-8-on-centos-7/#\\\" style=\\\"box-sizing:inherit;background:0px 0px;transition:color 0.1s linear;-webkit-transition:color 0.1s linear;color:rgb(41, 128, 185);text-decoration:none;display:block;width:100%;height:100%;vertical-align:top;line-height:1em;font-size:1em;padding-top:7px;margin-left:1px;position:relative;\\\"><i style=\\\"box-sizing:inherit;color:rgb(41, 128, 185);font-size:1em;line-height:1em;transition:all 0.2s ease-in-out;-webkit-transition:all 0.2s ease-in-out;\\\"><span style=\\\"color:rgb(41, 128, 185);font-size:1em;line-height:1em;font-family:panovski;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:0.2em;text-align:center;font-variant:normal;text-transform:none;margin-left:0.2em;\\\">t</span></i></a>\\\n        </li>\\\n        <li style=\\\"box-sizing:inherit;display:inline-block;overflow:hidden;line-height:2em;width:2em;height:2em;border-radius:50%;border:0.125em solid rgb(41, 128, 185);margin:0px 1px;text-align:center;transition:all 0.2s ease-in-out;-webkit-transition:all 0.2s ease-in-out;\\\">\\\n            <a href=\\\"https://panovski.me/install-odoo-8-on-centos-7/#\\\" style=\\\"box-sizing:inherit;background:0px 0px;transition:color 0.1s linear;-webkit-transition:color 0.1s linear;color:rgb(41, 128, 185);text-decoration:none;display:block;width:100%;height:100%;vertical-align:top;line-height:1em;font-size:1em;padding-top:7px;margin-left:1px;position:relative;\\\"><i style=\\\"box-sizing:inherit;color:rgb(41, 128, 185);font-size:1em;line-height:1em;transition:all 0.2s ease-in-out;-webkit-transition:all 0.2s ease-in-out;\\\"><span style=\\\"color:rgb(41, 128, 185);font-size:1em;line-height:1em;font-family:panovski;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:0.2em;text-align:center;font-variant:normal;text-transform:none;margin-left:0.2em;\\\">f</span></i></a>\\\n          \\\n        </li>\\\n      </ul>\\\n    </div>\\\n\\\n  </div>\\\n\\\n<span style=\\\"display:table;clear:both;\\\"></span></div></div></span></div></div></div><br/></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":32090}]"
metadata_diff: {"new":{"id":"0909f21ec16642db80bea1dfebf14edf","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348820712,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:03:40.012Z
created_time: 2025-11-28T21:03:40.012Z
type_: 13