<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>how to Install odoo Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/how-to-install-odoo/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 06 Feb 2020 18:32:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install Odoo 13 on on Ubuntu 18.04</title>
		<link>https://www.osradar.com/how-to-install-odoo-13-on-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-odoo-13-on-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Fri, 07 Feb 2020 05:14:05 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[how to Install odoo]]></category>
		<category><![CDATA[install odoo]]></category>
		<category><![CDATA[install odoo 13 on ubuntu]]></category>
		<category><![CDATA[odoo dashboard]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17198</guid>

					<description><![CDATA[<p>Today, we’ll talk how you can deploy Odoo 13 on Ubuntu 18.04 (Bionic Beaver) Linux machine. Odoo is the most depended on suite of Internet based totally Open Source commercial enterprise programs that permit you to drive the business in the proper route. Odoo gives you get right of entry to to crucial enterprise packages, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-odoo-13-on-on-ubuntu-18-04/">How To Install Odoo 13 on on Ubuntu 18.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Today, we’ll talk how you can deploy <a href="https://www.osradar.com/?p=17198" target="_blank" rel="noreferrer noopener" aria-label="Odoo 13 (opens in a new tab)">Odoo 13</a> on Ubuntu 18.04 (Bionic Beaver) Linux machine. Odoo is the most depended on suite of Internet based totally Open Source commercial enterprise programs that permit you to drive the business in the proper route. Odoo gives you get right of entry to to crucial enterprise packages, all managed from a single console. So, in this tutorial you will learn how to Install Odoo on Ubuntu 18.04. </p>



<p>Various commercial enterprise programs to be had on Odoo consists of Open Source CRM, website builder, eCommerce, warehouse management, project management, billing &amp; accounting, point of sale, human resources, marketing, manufacturing, buy control, among others. </p>



<p>An amazing point to note is that Odoo apps can be used as stand-alone applications, however in addition they combine seamlessly so you get a complete-featured Open Source ERP while you deploy numerous apps.</p>



<h3><strong>Step 1: Update Your System</strong></h3>



<p>As usual, update &amp; upgrade your system &amp; then reboot it to finish upgrading.</p>



<pre class="wp-block-verse">sudo apt update<br>sudo apt -y upgrade<br>sudo reboot</pre>



<h3><strong>Step 2: Database</strong></h3>



<p>Make sure you&#8217;ve installed Database. I would recommend you to Install PostgreSQL if you haven&#8217;t installed it so far. </p>



<p><a href="https://www.osradar.com/postgresql-12-ubuntu-18-04/">How To Install PostgreSQL 12 on Ubuntu 18.04</a></p>



<h3><strong>Step 3: Install wkhtmltopdf</strong></h3>



<p>Please follow the below guide on <a href="https://www.osradar.com/how-to-install-wkhtmltopdf-and-wkhtmltoimage-on-ubuntu-19-04-debian-10/">how to Install wkhtmltopdf</a> as it is not present in Ubuntu repositories.</p>



<h3><strong>Step 4: Installing Odoo 13 on Ubuntu 18.04</strong></h3>



<p>Now, add Odoo repository to start Installing Odoo.</p>



<pre class="wp-block-verse">wget -O - https://nightly.odoo.com/odoo.key | sudo apt-key add -<br>echo "deb http://nightly.odoo.com/13.0/nightly/deb/ ./" | sudo tee /etc/apt/sources.list.d/odoo.list</pre>



<p>Make an update &amp; hit install Odoo command. Then press Y when prompted.</p>



<pre class="wp-block-verse">sudo apt udpate <br>sudo apt install odoo</pre>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="729" height="519" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/02/install-odoo-13-on-ubuntu-.jpg" alt="" class="wp-image-18049" srcset="https://www.osradar.com/wp-content/uploads/2020/02/install-odoo-13-on-ubuntu-.jpg 729w, https://www.osradar.com/wp-content/uploads/2020/02/install-odoo-13-on-ubuntu--300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/02/install-odoo-13-on-ubuntu--100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2020/02/install-odoo-13-on-ubuntu--696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/02/install-odoo-13-on-ubuntu--590x420.jpg 590w" sizes="(max-width: 729px) 100vw, 729px" /></figure></div>



<p>Check the status as it will auto start as soon as Installation of Odoo get completed.</p>



<pre class="wp-block-verse">systemctl status odoo</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="718" height="207" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/02/install-odoo.jpg" alt="" class="wp-image-18050" srcset="https://www.osradar.com/wp-content/uploads/2020/02/install-odoo.jpg 718w, https://www.osradar.com/wp-content/uploads/2020/02/install-odoo-300x86.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/02/install-odoo-696x201.jpg 696w" sizes="(max-width: 718px) 100vw, 718px" /></figure>



<p>Then set it up to start every time when you do a boot.</p>



<pre class="wp-block-verse">sudo systemctl enable --now odoo</pre>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="734" height="93" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/02/enable-now-odoo-status.jpg" alt="" class="wp-image-18053" srcset="https://www.osradar.com/wp-content/uploads/2020/02/enable-now-odoo-status.jpg 734w, https://www.osradar.com/wp-content/uploads/2020/02/enable-now-odoo-status-300x38.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/02/enable-now-odoo-status-696x88.jpg 696w" sizes="(max-width: 734px) 100vw, 734px" /></figure></div>



<p>As the Odoo service uses port 8069, so let it confirm by</p>



<pre class="wp-block-verse">ss -tunelp | grep 8069</pre>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="702" height="66" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/02/how-to-install-odoo-.jpg" alt="" class="wp-image-18052" srcset="https://www.osradar.com/wp-content/uploads/2020/02/how-to-install-odoo-.jpg 702w, https://www.osradar.com/wp-content/uploads/2020/02/how-to-install-odoo--300x28.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/02/how-to-install-odoo--696x66.jpg 696w" sizes="(max-width: 702px) 100vw, 702px" /></figure></div>



<h3><strong>Step 5: Configure Nginx Proxy to Install Odoo</strong></h3>



<p>Fire the below command to Install nginx </p>



<pre class="wp-block-verse">sudo apt -y install nginx</pre>



<p>Here we will consider the two scenarios for Nginx Proxy Configuration. One of them is HTTPS &amp; when traffic is not served over secure connection. We will here consider the both steps.</p>



<h3><strong>Setting Up HTTP Proxy For Odoo</strong></h3>



<p>Set up new configuration file for Odoo &amp; paste the data. Then set it according to your own requirements like changing server name.</p>



<pre class="wp-block-verse">sabi@Ubuntu:~$ sudo nano /etc/nginx/conf.d/odoo.conf</pre>



<pre class="wp-block-verse">Odoo Upstreams<br> upstream odooserver {<br>  server 127.0.0.1:8069;<br> }<br> server {<br>     listen 80;<br>     server_name <strong>erp.osradar.com</strong>;<br>     access_log /var/log/nginx/odoo_access.log;<br>     error_log /var/log/nginx/odoo_error.log;<br> <code># Proxy settings proxy_read_timeout 720s; proxy_connect_timeout 720s; proxy_send_timeout 720s; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; # Request for root domain location / {    proxy_redirect off;    proxy_pass http://odooserver; } # Cache static files location ~* /web/static/ {     proxy_cache_valid 200 90m;     proxy_buffering on;     expires 864000;     proxy_pass http://odooserver; } # Gzip gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript; gzip on;</code><br> }</pre>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="708" height="561" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/02/odoo-config-file.jpg" alt="" class="wp-image-18054" srcset="https://www.osradar.com/wp-content/uploads/2020/02/odoo-config-file.jpg 708w, https://www.osradar.com/wp-content/uploads/2020/02/odoo-config-file-300x238.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/02/odoo-config-file-696x551.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/02/odoo-config-file-530x420.jpg 530w" sizes="(max-width: 708px) 100vw, 708px" /></figure></div>



<p>Don&#8217;t forget to change <a href="http://osradar.com">erp.osradar.com</a> with yours. Keep in mind that a valid DNS record is required for external access.<br>See the config syntax:</p>



<pre class="wp-block-verse">sabi@Ubuntu:~$ sudo nginx -t<br>nginx: the configuration file /etc/nginx/nginx.conf syntax is ok<br>nginx: configuration file /etc/nginx/nginx.conf test is successful</pre>



<p>Make sure settings are ok, then restart nginx services.</p>



<pre class="wp-block-verse">sudo systemctl restart nginx</pre>



<p>Check that no error found. If you encountered an issue, then try the below command if you&#8217;ve installed Apache server.</p>



<pre class="wp-block-verse">sudo killall apache2</pre>



<p>Now, restart Nginx services and check status it should be running fine.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="724" height="413" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/02/nginx-status-to-install-odoo.jpg" alt="" class="wp-image-18055" srcset="https://www.osradar.com/wp-content/uploads/2020/02/nginx-status-to-install-odoo.jpg 724w, https://www.osradar.com/wp-content/uploads/2020/02/nginx-status-to-install-odoo-300x171.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/02/nginx-status-to-install-odoo-696x397.jpg 696w" sizes="(max-width: 724px) 100vw, 724px" /></figure></div>



<h3><strong>Using Up Let&#8217;s Encrypt SSL Certificate For Odoo on Nginx</strong></h3>



<p>For security reasons, make sure to Encrypt Odoo on Nginx. You can choose any purchased SSL but here I&#8217;m using Free SSL Let&#8217;s Encrypt.<br>Follow the below procedure to get SSL certificate for your domain.</p>



<pre class="wp-block-verse">wget https://dl.eff.org/certbot-auto<br> chmod +x certbot-auto<br> sudo mv certbot-auto /usr/local/bin/certbot-auto<br> sudo systemctl stop nginx<br> export DOMAIN="<strong>erp.osradar.com</strong>"<br> export EMAIL="<strong>info@osradar.com</strong>"<br> sudo /usr/local/bin/certbot-auto certonly --standalone -d ${DOMAIN} --preferred-challenges http --agree-tos -n -m ${EMAIL} --keep-until-expiring</pre>



<p><strong>Note: Replace <a href="http://osradar.com">osradar.com</a> with your domain.</strong></p>



<p>When the execution success, paths to the certificate &amp; chain files will be printed out.</p>



<pre class="wp-block-verse">IMPORTANT NOTES:<br> Congratulations! Your certificate and chain have been saved at:<br> /etc/letsencrypt/live/<strong>erp.osradar.com</strong>/fullchain.pem<br> Your key file has been saved at:<br> /etc/letsencrypt/live/<strong>erp.osradar.com</strong>/privkey.pem<br> Your cert will expire on 2020-01-17. To obtain a new or tweaked<br> version of this certificate in the future, simply run certbot-auto<br> again. To non-interactively renew <em>all</em> of your certificates, run<br> "certbot-auto renew"<br> Your account credentials have been saved in your Certbot<br> configuration directory at /etc/letsencrypt. You should make a<br> secure backup of this folder now. This configuration directory will<br> also contain certificates and private keys obtained by Certbot so<br> making regular backups of this folder is ideal.<br> If you like Certbot, please consider supporting our work by:<br> Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate<br> Donating to EFF:                    https://eff.org/donate-le </pre>



<p>To renew certificate , create a cron</p>



<pre class="wp-block-verse">sudo crontab -e<br> 15 3 * * * /usr/local/bin/certbot-auto renew --pre-hook "systemctl stop nginx" --post-hook "systemctl start nginx"</pre>



<p>Then create a new configuration file of odoo</p>



<pre class="wp-block-verse">sudo vim /etc/nginx/conf.d/odoo.conf</pre>



<p>Modify &amp; paste the below data into the file and save it.</p>



<pre class="wp-block-verse">Odoo Upstreams<br> upstream odooserver {<br>  server 127.0.0.1:8069;<br> }<br> http to https redirection<br> server {<br>     listen 80;<br>     server_name erp.osradar.com;<br>     return 301 https://erp.osradar.com$request_uri;<br> }<br> server {<br>     listen 443 ssl;<br>     server_name erp.osradar.com;<br>     access_log /var/log/nginx/odoo_access.log;<br>     error_log /var/log/nginx/odoo_error.log;<br> # SSL<br>     ssl_certificate /etc/letsencrypt/live/erp.osradar.com/fullchain.pem;<br>     ssl_certificate_key /etc/letsencrypt/live/erp.osradar.com/privkey.pem;<br>     ssl_trusted_certificate /etc/letsencrypt/live/erp.osradar.com/chain.pem;<br> <code># Proxy settings proxy_read_timeout 720s; proxy_connect_timeout 720s; proxy_send_timeout 720s; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; # Request for root domain location / {    proxy_redirect off;    proxy_pass http://odooserver; } # Cache static files location ~* /web/static/ {     proxy_cache_valid 200 90m;     proxy_buffering on;     expires 864000;     proxy_pass http://odooserver; } # Gzip Compression gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript; gzip on;</code><br> }</pre>



<p>Now, restart nginx services to take effects.</p>



<pre class="wp-block-verse">sudo systemctl restart nginx</pre>



<h3><strong>Step 6: Access Odoo Web Interface</strong></h3>



<p>You can access Odoo by typing your domain name in web browser or at <strong>localhost:8069/</strong>. You will be prompted to create a database first.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="1024" height="446" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/02/create-a-database-to-install-odoo-1024x446.jpg" alt="" class="wp-image-18056" srcset="https://www.osradar.com/wp-content/uploads/2020/02/create-a-database-to-install-odoo-1024x446.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/02/create-a-database-to-install-odoo-300x131.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/02/create-a-database-to-install-odoo-768x334.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/02/create-a-database-to-install-odoo-696x303.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/02/create-a-database-to-install-odoo-1068x465.jpg 1068w, https://www.osradar.com/wp-content/uploads/2020/02/create-a-database-to-install-odoo-965x420.jpg 965w, https://www.osradar.com/wp-content/uploads/2020/02/create-a-database-to-install-odoo.jpg 1286w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<p>Then you will be redirected to Odoo dashboard after creating database.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="1024" height="432" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/02/oddo-dashboard-install-odoo-1024x432.jpg" alt="" class="wp-image-18057" srcset="https://www.osradar.com/wp-content/uploads/2020/02/oddo-dashboard-install-odoo-1024x432.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/02/oddo-dashboard-install-odoo-300x127.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/02/oddo-dashboard-install-odoo-768x324.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/02/oddo-dashboard-install-odoo-696x294.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/02/oddo-dashboard-install-odoo-1068x451.jpg 1068w, https://www.osradar.com/wp-content/uploads/2020/02/oddo-dashboard-install-odoo-995x420.jpg 995w, https://www.osradar.com/wp-content/uploads/2020/02/oddo-dashboard-install-odoo.jpg 1300w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<p>Here you can perform all the tasks you want and you can use Odoo Apps. So, this is how you can Install Odoo &amp; from Odoo dashboard Install oddo apps.</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-odoo-13-on-on-ubuntu-18-04/">How To Install Odoo 13 on on Ubuntu 18.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-odoo-13-on-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
