{"id":11040,"date":"2014-06-10T06:31:33","date_gmt":"2014-06-10T06:31:33","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=11040"},"modified":"2015-03-30T10:28:45","modified_gmt":"2015-03-30T10:28:45","slug":"install-openerp-on-ubuntu","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/","title":{"rendered":"How to install OpenERP 7 on Ubuntu in one command line."},"content":{"rendered":"<p>In my last article, I described you how to\u00a0take backup of your OpenERP database automatically and regularly too after certain time of period, using cron on linux. I have created a bash script for it ,a small one but a very usefull one .<\/p>\n<p>Few days ago, I need to install a new instance of OpenERP 7 on my ubuntu pc and installing manually by executing each and every line is very hectic task. So, i decided to make a script for it also. So, that i can <strong>install OpenERP<\/strong> <b>(for now only version 7 from Launchpad)<\/b> <strong>from one command line <\/strong>only, no need to follow each and every step. I have also given an option to install other openerp instance also, on same server but with some different ports.<\/p>\n<div class=\"panel panel-success\">\n<div class=\"panel-heading\">\n<h3 class=\"panel-title\"><i class=\"fa fa-pencil-square-o\"><\/i>Working of the Module<\/h3>\n<\/div>\n<div class=\"panel-body\">\n<p>1) Just download the script from the link provided at the end of this blog.<\/p>\n<p>2) Copy the file to some path like \/var\/scripts<\/p>\n<p>3) Give root ownership and 700 permission to this file as &#8211;<\/p>\n<pre class=\"brush:powershell\"># Give read\/write\/execute permission to sudoer only.\r\nchmod 700 oe_install.sh\r\n\r\n# Give sudoer ownership \r\nchown root: oe_install.sh<\/pre>\n<p>4) Execute the script as &#8211;<\/p>\n<pre class=\"brush:shell\"># To run script :\r\n\r\n.\/oe_install.sh\r\n\r\n# or \r\n\r\n\/var\/scripts\/.\/oe_install.sh<\/pre>\n<p>That`s it. It`s \u00a0so simple<\/p>\n<p>If you are going to install fresh instance of Openerp 7, you only need to answer only 4 questions and after that the script will do the remaining work. Number of questions will increase to 13 (as the script need to some extra information like port,openerp-user,etc), if you are going to install other instance of same openerp 7 on same server.\n<\/p><\/div>\n<\/div>\n<div class=\"panel panel-info\">\n<div class=\"panel-heading\">\n<h3 class=\"panel-title\"><i class=\"fa fa-ellipsis-h\"><\/i>TWEAK<\/h3>\n<\/div>\n<div class=\"panel-body\">\n<p>If you want to install fresh openerp 7 installation but on different ports, you can choose the second option<\/p>\n<p>You can download this script, just click the button it will redirect to our Github repository, from where you can download it.<\/p>\n<p>I`ll try to upgrade this script in order to install any version of Openerp and from Github(as Odoo \/ OpenERP moves to Github).\n<\/p><\/div>\n<\/div>\n<p>That`s it !!! I hope it will help someone. [stextbox id=&#8221;info&#8221;]Your opinions, comments and suggestions are important to keep the page updated and interesting.\u00a0[\/stextbox]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my last article, I described you how to\u00a0take backup of your OpenERP database automatically and regularly too after certain time of period, using cron on linux. I have created a bash script for it ,a small one but a very usefull one . Few days ago, I need to install a new instance of <a href=\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":10,"featured_media":22351,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[166,10],"tags":[1268,1269,1270,1267,2063,266],"class_list":["post-11040","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-openerp","category-ubuntu","tag-install-openerp-in-one-command-line","tag-install-openerp-on-different-ports","tag-install-second-instance-of-openerp-on-same-ubuntu","tag-odoo","tag-openerp","tag-ubuntu-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to install OpenERP on Ubuntu in one command line<\/title>\n<meta name=\"description\" content=\"How to install OpenERP on Ubuntu in one command line\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install OpenERP on Ubuntu in one command line\" \/>\n<meta property=\"og:description\" content=\"How to install OpenERP on Ubuntu in one command line\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2014-06-10T06:31:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-03-30T10:28:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2014\/06\/All-Blogs-Blog-Post-Banner.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Mohit Chandra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mohit Chandra\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/\"},\"author\":{\"name\":\"Mohit Chandra\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/82824e8c1a101ec721fda4c7a418cc2a\"},\"headline\":\"How to install OpenERP 7 on Ubuntu in one command line.\",\"datePublished\":\"2014-06-10T06:31:33+00:00\",\"dateModified\":\"2015-03-30T10:28:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/\"},\"wordCount\":338,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2014\/06\/All-Blogs-Blog-Post-Banner.png\",\"keywords\":[\"install openerp in one command line\",\"install openerp on different ports\",\"install second instance of openerp on same ubuntu\",\"odoo\",\"OpenERP\",\"ubuntu\"],\"articleSection\":[\"OpenERP\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/\",\"url\":\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/\",\"name\":\"How to install OpenERP on Ubuntu in one command line\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2014\/06\/All-Blogs-Blog-Post-Banner.png\",\"datePublished\":\"2014-06-10T06:31:33+00:00\",\"dateModified\":\"2015-03-30T10:28:45+00:00\",\"description\":\"How to install OpenERP on Ubuntu in one command line\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2014\/06\/All-Blogs-Blog-Post-Banner.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2014\/06\/All-Blogs-Blog-Post-Banner.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install OpenERP 7 on Ubuntu in one command line.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/82824e8c1a101ec721fda4c7a418cc2a\",\"name\":\"Mohit Chandra\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3aea81ed8ce4e8e1aa6cde51d2aa5813f3beacc645152f757e47e367d65b85aa?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3aea81ed8ce4e8e1aa6cde51d2aa5813f3beacc645152f757e47e367d65b85aa?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Mohit Chandra\"},\"description\":\"Mohit Chandra is an expert Odoo developer and the Owl framework, specializing in multi-platform integration services. He excels in developing dynamic, scalable solutions that seamlessly integrate diverse systems, leveraging his deep knowledge to enhance business efficiency and drive technological innovation.\",\"sameAs\":[\"http:\/\/webkul.com\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/mohit-chandra\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install OpenERP on Ubuntu in one command line","description":"How to install OpenERP on Ubuntu in one command line","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:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to install OpenERP on Ubuntu in one command line","og_description":"How to install OpenERP on Ubuntu in one command line","og_url":"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2014-06-10T06:31:33+00:00","article_modified_time":"2015-03-30T10:28:45+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2014\/06\/All-Blogs-Blog-Post-Banner.png","type":"image\/png"}],"author":"Mohit Chandra","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Mohit Chandra","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/"},"author":{"name":"Mohit Chandra","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/82824e8c1a101ec721fda4c7a418cc2a"},"headline":"How to install OpenERP 7 on Ubuntu in one command line.","datePublished":"2014-06-10T06:31:33+00:00","dateModified":"2015-03-30T10:28:45+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/"},"wordCount":338,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2014\/06\/All-Blogs-Blog-Post-Banner.png","keywords":["install openerp in one command line","install openerp on different ports","install second instance of openerp on same ubuntu","odoo","OpenERP","ubuntu"],"articleSection":["OpenERP","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/","url":"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/","name":"How to install OpenERP on Ubuntu in one command line","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2014\/06\/All-Blogs-Blog-Post-Banner.png","datePublished":"2014-06-10T06:31:33+00:00","dateModified":"2015-03-30T10:28:45+00:00","description":"How to install OpenERP on Ubuntu in one command line","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2014\/06\/All-Blogs-Blog-Post-Banner.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2014\/06\/All-Blogs-Blog-Post-Banner.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/install-openerp-on-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install OpenERP 7 on Ubuntu in one command line."}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/82824e8c1a101ec721fda4c7a418cc2a","name":"Mohit Chandra","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3aea81ed8ce4e8e1aa6cde51d2aa5813f3beacc645152f757e47e367d65b85aa?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3aea81ed8ce4e8e1aa6cde51d2aa5813f3beacc645152f757e47e367d65b85aa?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Mohit Chandra"},"description":"Mohit Chandra is an expert Odoo developer and the Owl framework, specializing in multi-platform integration services. He excels in developing dynamic, scalable solutions that seamlessly integrate diverse systems, leveraging his deep knowledge to enhance business efficiency and drive technological innovation.","sameAs":["http:\/\/webkul.com"],"url":"https:\/\/webkul.com\/blog\/author\/mohit-chandra\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/11040","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=11040"}],"version-history":[{"count":16,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/11040\/revisions"}],"predecessor-version":[{"id":22376,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/11040\/revisions\/22376"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/22351"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=11040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=11040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=11040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}