To install Odoo to Ubuntu (Linux) from Github Repository . Follow These steps
1.Update sources list
sudo apt-get update
sudo apt-get upgrade
2. Install Postgresql and configure it
sudo adduser --system --home=/opt/openerp --group openerp
sudo apt-get install postgresql-9.2 git-core
sudo su postgres
password: XXXX
postgres@openerp-desktop:/$ createuser openerp
Shall the new role be a superuser? (y/n) y
3. Install Python dependency
sudo apt-get update
sudo apt-get install python-dateutil python-docutils
python-feedparser python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-
psycopg2 python-psutil python-pybabel python-pychart
python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber
python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi poppler-utils python-pip
python-babel python-feedparser python-reportlab-accel python-zsi python-openssl python-egenix-mxdatetime python-
jinja2 python-unittest2 python-mock python-docutils lptools make python-psutil python-gdata
4. Get lastest Odoo from github repository
sudo apt-get install git
sudo git clone https://github.com/odoo/odoo.git
sudo chown -R openerp: odoo
5. Create Odoo Log file\
sudo mkdir /var/log/openerp
sudo chown -R openerp:root /var/log/openerp
6. Edit OpenERP (Odoo v8) configuration File
sudo cp /opt/openerp/odoo/setup/debian/openerp-server.conf /etc/openerp-server.conf
sudo chown openerp: /etc/openerp-server.conf
sudo nano /etc/openerp-server.conf
#Copy and paste below content in config file , write correct addons paths
[options] ; This is the password that allows database operations:
admin_passwd = PASSWORD
db_host = False
db_port = False
db_user = odoo
db_password = False
addons_path = /opt/odoo/v8/addons,/opt/odoo/v8/web/addons
;Log settings
logfile = /var/log/openerp/openerp-server.log
log_level = error
7. SetUp OpenERP service file
sudo cp /opt/openerp/odoo/openerp-server /etc/init.d/openerp-server
sudo chmod 755 /etc/init.d/openerp-server
sudo chown root: /etc/init.d/openerp-server
sudo update-rc.d openerp-server defaults
sudo service openerp-server start
8. Start Openerp Server
cd /opt/openerp/odoo
./openerp-server
Now open link in your browser (localhost:8069)
or we can also run it on another port
./openerp-server –xmlrpc-port=9090
then localhost:9090
Hi, you can follow this, you will be able to install and run odoo without command. http://netbeam.in/blog/install-odooopenerp-on-linuxubuntudebian/