Skip to Content
Odoo मेन्यू
  • Sign in
  • मुफ़्त में आज़माएं
  • ऐप्लिकेशन
    फ़ाइनेंस
    • अकाउंटिंग
    • इनवॉइसिंग
    • एक्सपेंस
    • स्प्रेडशीट (बीआई)
    • डॉक्यूमेंट्स
    • साइन
    सेल्स
    • सीआरएम
    • सेल्स
    • पीओएस शॉप
    • पीओएस रेस्टोरेंट
    • सब्सक्रिप्शन
    • रेंटल
    वेबसाइट
    • वेबसाइट बिल्डर
    • ई-कॉमर्स
    • ब्लॉग
    • फ़ोरम
    • लाइव चैट
    • ई-लर्निंग
    सप्लाई चेन
    • इन्वेंट्री
    • मैन्युफ़ैक्चरिंग
    • पीएलएम
    • परचेज़
    • मेंटेनेंस
    • क्वालिटी
    मानव संसाधन
    • कर्मचारी
    • रिक्रूटमेंट
    • टाइम ऑफ़
    • अप्रेज़ल
    • रेफ़रल
    • फ़्लीट
    मार्केटिंग
    • सोशल मार्केटिंग
    • ईमेल मार्केटिंग
    • एसएमएस मार्केटिंग
    • इवेंट
    • मार्केटिंग ऑटोमेशन
    • सर्वे
    सेवाएं
    • प्रोजेक्ट
    • टाइमशीट
    • फ़ील्ड सर्विस
    • हेल्पडेस्क
    • प्लानिंग
    • अपॉइंटमेंट
    प्रॉडक्टिविटी
    • डिस्कस
    • अप्रूवल
    • आईओटी
    • वीओआईपी
    • नॉलेज
    • WhatsApp
    तीसरे पक्ष के ऐप्लिकेशन Odoo स्टूडियो Odoo क्लाउड प्लेटफ़ॉर्म
  • इंडस्ट्री
    रीटेल
    • बुक स्टोर
    • क्लोदिंग स्टोर
    • फ़र्नीचर स्टोर
    • ग्रॉसरी स्टोर
    • हार्डवेयर स्टोर
    • टॉय स्टोर
    Food & Hospitality
    • बार और पब
    • रेस्टोरेंट
    • फ़ास्ट फ़ूड
    • Guest House
    • बेवरिज डिस्ट्रीब्यूटर
    • होटल
    रियल एस्टेट
    • Real Estate Agency
    • आर्किटेक्चर फ़र्म
    • कंसट्रक्शन
    • एस्टेट मैनेजमेंट
    • गार्ड्निंग
    • प्रॉपर्टी ओनर असोसिएशन
    कंसल्टिंग
    • अकाउंटिंग फ़र्म
    • Odoo पार्टनर
    • मार्केटिंग एजेंसी
    • लॉ फ़र्म
    • टैलेंट ऐक्विज़िशन
    • ऑडिट & सर्टिफ़िकेशन
    मैन्युफ़ैक्चरिंग
    • टेक्सटाइल
    • Metal
    • फ़र्नीचर
    • फ़ूड
    • Brewery
    • कॉर्पोरेट गिफ़्ट
    हेल्थ & फिटनेस
    • स्पोर्ट्स क्लब
    • आईवियर स्टोर
    • फिटनेस सेंटर
    • वेलनेस प्रैक्टिशनर
    • फॉर्मेसी
    • हेयर सैलून
    Trades
    • Handyman
    • आईटी हॉर्डवेयर और सपोर्ट
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    अन्य
    • Nonprofit Organization
    • एन्वायरमेंटल एजेंसी
    • बिलबोर्ड रेंटल
    • फ़ोटोग्राफी
    • बाइक लीजिंग
    • सॉफ़्टवेयर रीसेलर
    Browse all Industries
  • कम्यूनिटी
    सीखें
    • ट्यूटोरियल्स
    • दस्तावेज़
    • सर्टिफ़िकेशन
    • ट्रेनिंग
    • ब्लॉग
    • पॉडकास्ट
    शिक्षा को बढ़ावा दें
    • एजुकेशन प्रोग्राम
    • स्केल अप! बिजनेस गेम
    • Odoo के ऑफ़िस में आएं
    सॉफ़्टवेयर पाएं
    • डाउनलोड
    • वर्शन की तुलना करें
    • रिलीज़
    साथ मिलकर काम करें
    • Github
    • फ़ोरम
    • इवेंट
    • अनुवाद
    • पार्टनर बनें
    • Services for Partners
    • अपना अकाउंटिंग फ़र्म रजिस्टर करें
    सेवाएं पाएं
    • पार्टनर ढूंढें
    • अकाउंटेंट खोजें
    • सलाहकार की मदद लें
    • इम्प्लिमेंटेशन सेवाएं
    • कस्टमर रेफ़रेंस
    • सहायता
    • अपग्रेड
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    डेमो देखें
  • कीमत
  • सहायता

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • सीआरएम
  • e-Commerce
  • लेखांकन
  • इन्वेंटरी
  • PoS
  • प्रोजेक्ट
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
Help

Odoo V8 Installation Ubuntu 14.04 x64 from source. Complete Working Guide. Step by step.

Subscribe

Get notified when there's activity on this post

This question has been flagged
v8installationinstallsourceodoo
10 Replies
17858 Views
Avatar
JA

 

Below a step by step guide to installing Odoo V8 latest from source on a clean fresh install of Ubuntu 14.04 x64 server 

 

#1

sudo apt-get update
sudo apt-get upgrade


#2
sudo apt-get install python-dateutil python-decorator python-docutils python-feedparser \
python-gdata python-gevent python-imaging python-jinja2 python-ldap python-libxslt1 python-lxml \
python-mako python-mock python-openid python-passlib python-psutil python-psycopg2 python-pybabel \
python-pychart python-pydot python-pyparsing python-pypdf python-reportlab python-requests \
python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-werkzeug \
python-xlwt python-yaml python-matplotlib python-pychart python-webdav \
graphviz ghostscript postgresql-client 


sudo apt-get install gcc python-dev mc bzr python-setuptools python-babel \
python-reportlab-accel python-zsi python-openssl python-egenix-mxdatetime \
lptools make python-psutil python-paramiko poppler-utils \
python-pdftools antiword postgresql

sudo wget http://sourceforge.net/projects/wkhtmltopdf/files/archive/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb
sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb             
ln -s /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
ln -s  /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage

#3

sudo adduser --system --home=/opt/odoo --group odoo

sudo su - postgres

createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo
(this will ask for password. It will be for odoo user to conect to postgres. )

exit

#4
cd /opt/ 

sudo wget http://nightly.odoo.com/8.0/nightly/src/odoo_8.0.latest.tar.gz   
sudo tar -xvzf odoo_8.0.latest.tar.gz
ls   (see name of uncompressed folder)
sudo mv odoo-8.0-(change date folder you se above)/* odoo


#5
cd /opt/odoo
sudo mkdir /addons
sudo python setup.py install

#6
nano /etc/odoo-server.conf 

Copy/Paste

[Options]
admin_passwd = admin
db_host = localhost
db_port = 5432
db_user = odoo
db_password = your postgres pass from step #3
addons_path = /opt/odoo/openerp/addons,/opt/odoo/addons
logfile = /var/log/odoo/odoo-server.log
(ctrl +x   then  y  press enter)
sudo chown odoo:root /etc/odoo-server.conf
sudo chmod 640 /etc/odoo-server.conf

#7
su - odoo -s /bin/bash

/opt/odoo/openerp-server
(If everything good), good to go.
(ctrl) c
exit

#8
sudo nano /etc/init.d/odoo-server

(paste)
#!/bin/sh

### BEGIN INIT INFO
# Provides:             odoo-server
# Required-Start:       $remote_fs $syslog
# Required-Stop:        $remote_fs $syslog
# Should-Start:         $network
# Should-Stop:          $network
# Default-Start:        2 3 4 5
# Default-Stop:         0 1 6
# Short-Description:    Complete Business Application software
# Description:          Odoo is a complete suite of business tools.
### END INIT INFO

PATH=/bin:/sbin:/usr/bin
DAEMON=/opt/odoo/openerp-server
NAME=odoo-server
DESC=odoo-server

# Specify the user name (Default: odoo).
USER=odoo

# Specify an alternate config file (Default: /etc/odoo-server.conf).
CONFIGFILE="/etc/odoo-server.conf"

# pidfile
PIDFILE=/var/run/$NAME.pid

# Additional options that are passed to the Daemon.
DAEMON_OPTS="-c $CONFIGFILE"

[ -x $DAEMON ] || exit 0
[ -f $CONFIGFILE ] || exit 0

checkpid() {
    [ -f $PIDFILE ] || return 1
    pid=`cat $PIDFILE`
    [ -d /proc/$pid ] && return 0
    return 1
}

case "${1}" in
        start)
                echo -n "Starting ${DESC}: "

                start-stop-daemon --start --quiet --pidfile ${PIDFILE} \
                        --chuid ${USER} --background --make-pidfile \
                        --exec ${DAEMON} -- ${DAEMON_OPTS}

                echo "${NAME}."
                ;;

        stop)
                echo -n "Stopping ${DESC}: "

                start-stop-daemon --stop --quiet --pidfile ${PIDFILE} \
                        --oknodo

                echo "${NAME}."
                ;;

        restart|force-reload)
                echo -n "Restarting ${DESC}: "

                start-stop-daemon --stop --quiet --pidfile ${PIDFILE} \
                        --oknodo
      
                sleep 1

                start-stop-daemon --start --quiet --pidfile ${PIDFILE} \
                        --chuid ${USER} --background --make-pidfile \
                        --exec ${DAEMON} -- ${DAEMON_OPTS}

                echo "${NAME}."
                ;;

        *)
                N=/etc/init.d/${NAME}
                echo "Usage: ${NAME} {start|stop|restart|force-reload}" >&2
                exit 1
                ;;
esac

exit 0

(Ctrl = x to exit) y  press enter

sudo chown odoo:root /etc/init.d/odoo-server
sudo chmod 750 /etc/init.d/odoo-server

#9
mkdir -pv /var/log/odoo/
touch /var/log/odoo/odoo-server.log
chown -R odoo:root /var/log/odoo/

reboot 

#10
sudo /etc/init.d/odoo-server start

sudo /etc/init.d/odoo-server stop

sudo update-rc.d odoo-server defaults

reboot again
(congrats)

7
Avatar
Discard
Stephen Mack

Thank you for taking the time to document this. Have you considered creating a blog and documenting the process in Spanish? You could explain each step in more details. There is very little documentation in Spanish available.

Yenthe Van Ginneken (Mainframe Monkey)

Thanks for writing this guide out JA. Its always nice to see newcomers contributing! On a sidenote, if you ever want to use an automated install script have a look at this: https://github.com/aschenkels-ictstudio/openerp-install-scripts/blob/master/odoo-v8/ubuntu-14-04/odoo_install.sh

ABU K

sirocoba@SIROCOHPLAP:/opt/odoo$ sudo chown odoo:root /etc/odoo-server.con sudo: /etc/sudoers is world writable sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin sirocoba@SIROCOHPLAP:/opt/odoo$

ABU K

Hi Ja.....After Completing 6th step I tried to follow last step that is is sudo chown odoo:root /etc/odoo-server.conf ,then I got stuck

JA
Author

Once you paste info on odoo-server.conf, you have to exit nano. with ctrl + x. After that just follow along by changing folder permisions. Let me know if this helps.

Avatar
Ermin Trevisan
Best Answer

In order to use the new website themes, the installation of npm, nodjs and less should be included too.

The new website themes are here: https://apps.odoo.com/apps/themes

Up to now I was not able to install npm, nodejs and less successfully on a AWS EC2 Server with Canonical Ubuntu 14.04 LTS :-(

There are so many installation variants to find in the internet, but so far none of them worked for me.

EDIT:

Meanwhile  I have found a method which works: https://www.odoo.com/forum/help-1/question/ubuntu-server-14-04-howto-install-nodejs-npm-and-less-82575

2
Avatar
Discard
JA
Author

I couldnt comment before. How to install npm,nodjs and less? Which are the new website themes? Thanks.

Ermin Trevisan

@JA: I have amended my answer.

Avatar
Baiju KS
Best Answer

Hi ALL.

You can use this Link too:-

http://www.theopensourcerer.com/2014/09/how-to-install-openerp-odoo-8-on-ubuntu-server-14-04-lts/

2
Avatar
Discard
Avatar
Nate Foster
Best Answer

This is a great installation guide.  Now, I just need to secure my server.  Any thoughts on SSL support?



0
Avatar
Discard
Bole

use some reverse proxy like apache or nginx , setup ssl and/or user cert auth methods...

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Is available Odoo 8 to be installed on Ubuntu?
v8 installation odoo
Avatar
Avatar
Avatar
Avatar
4
मार्च 15
7145
[GUIDE] Odoo 8.0 / Master on Ubuntu / Linux Install Script
v8 installation install trunk master 8.0 odoo
Avatar
0
मार्च 15
13826
Installing and running Odoo 17 on Ubuntu 22.04 server
installation install source ubuntuserver v17
Avatar
Avatar
Avatar
Avatar
Avatar
6
जून 24
54747
odoo source code installation (step by step)
windows installation install source_code odoo
Avatar
Avatar
2
जन॰ 20
26536
Odoo V8 Install On Centos Error: start-stop-daemon: command not found
v8 installation error install centos
Avatar
Avatar
Avatar
Avatar
4
सित॰ 16
16868
कम्यूनिटी
  • ट्यूटोरियल्स
  • दस्तावेज़
  • फ़ोरम
ओपन सोर्स
  • डाउनलोड
  • Github
  • रनबॉट
  • अनुवाद
सेवाएं
  • Odoo.sh Hosting
  • सहायता
  • अपग्रेड
  • कस्टम डेवलपमेंट्स
  • शिक्षा
  • अकाउंटेंट खोजें
  • पार्टनर ढूंढें
  • पार्टनर बनें
हमारे बारे में
  • हमारी कंपनी
  • ब्रांड ऐसेट
  • संपर्क करें
  • नौकरियां
  • इवेंट
  • पॉडकास्ट
  • ब्लॉग
  • ग्राहक
  • लीगल • गोपनीयता
  • सुरक्षा
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo, बिज़नेस से जुड़े ऐप्लिकेशन का एक कलेक्शन है जो ओपन सोर्स पर आधारित है. इसमें आपकी कंपनी की हर ज़रूरत के लिए ऐप्लिकेशन हैं. जैसे, सीआरएम, ई-कॉमर्स, अकाउंटिंग, इन्वेंट्री, पॉइंट ऑफ़ सेल, प्रोजेक्ट मैनेजमेंट वगैरह.

Odoo की सबसे बड़ी खासियत है कि यह इस्तेमाल करने में बहुत आसान है और यह पूरी तरह से इंटिग्रेट किया हुआ है.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now