Skip to main content

INSTALL ODOO-10.0 Community version in debian based system(ubuntu)

INSTALL ODOO-10.0 Community version in debian based system(ubuntu)
======================================================

>>sudo wget -O - https://nightly.odoo.com/odoo.key | sudo apt-key add -

Type the below code and paste "deb http://nightly.odoo.com/10.0/nightly/deb/ ./"

>>sudo nano /etc/apt/sources.list.d/odoo.list

>>sudo apt-get update && sudo apt-get install odoo
Do you want to continue? [Y/n] (type y)

Source code
---------------
Now odoo is installed in your linux system.
Use "sudo service odoo restart" to restart odoo if you are changing the conf file settings.

You will get the source code in git.

"git clone https://github.com/odoo/odoo.git" to clone from git

Note:Better to download the zip file from above link as cloning consumes lot of time.

Odoo dependencies:
------------------------
* python 2.7(already available in linux)
* NodeJS(already available)
 To upgrade:
 >>sudo apt-get install nodejs
* NPM
 >>sudo apt-get install npm
*Postgresql(Already installed)
 You can install pgadmin if required

 create a postgres user named like your login:
 sudo su - postgres -c "createuser -s $USER"

*PIP
 >>sudo apt-get install python-pip
*Less
 >>sudo npm install -g less






After downloading Odoo-10.0 
-------------------------------------
*Goto downloaded path in terminal and type

 >>sudo pip install -r requirements.txt

 This will install all python packages required.

*Run odoo

 >>python odoo-bin -c od-config -s//for first run only

 Above command will create a config file in your folder. If you are getting a error like
 "Address already exist" change "xmlrpc_port" to some other in od-config file and save.

 >>python odoo-bin -c od-config

 To add a custom module, create the module and add path in od-config file.
 addons_path: = /media/pranav/odoo/odoo/addons,/media/pranav/odoo/addons,/media/pranav/<addons_path>


PsP☺

Comments

Popular posts from this blog

How to create multiple services of Odoo(above version 10) on windows

In this post, I will explain how we can create multiple Odoo services in a Windows Server. Step 1 First, you need to get the executable file from the Odoo link mentioned below Or open the already existing executable file.   https://www.odoo.com/page/download   If you are running the executable file for the second time uncheck Postgres installation since it is already done in the first install. Keep a note of your installation path. Step 2 Go to the below path where "Odoo 12.0 Test" is the directory your new installation files belong to: C:\Program Files (x86)\Odoo 12.0 Test\nssm\win64\ Open the command prompt  and type the below command: nssm install odoo-server-TEST   A User Interface similar to the image below will popup, you have to fill the three empty fields with values I mentioned below Step 3 Path : C:\Program Files (x86)\Odoo 12.0 Test\Python\python.exe Startup directory : C:\Program Files (x86)\Odoo 12.0 Test\server Arguments : "C:\Program Files (x86)\Odoo 1...

How to setup apache web server in linux?

APACHE Apache server is the most commonly used web hosting service,  mainly the websites developed in php , python etc. We can host your website to a local network so that people in same network can access. In Linux Apache use split structure for configuring files, in which it will be defining hostname, port ,ssl etc each in different configuration files. Similarly file sharing can be made possible using apache server. Now we shall try to create a sample website hosted in apache server. Step 1: Install  apache2 in to the system $sudo apt-get update //update the repository for latest version of softwares $sudo apt-get install apache2 Step2: create a directory in '/var/www/' folder which is the default folder for storing site datas. (Var folder is known as variable folder since it is used to store growing folder like log files,backups etc) sudo mkdir -p /var/www/sample.com/public_html Step 3: Grant user permission for the folder $sudo chown -R $U...

HOW TO VERIFY YOUR BLOG

Since it is not possible to upload a page in blog we need alternative method to verify your blog, using meta tag. For that go to google web master tool https://www.google.com/webmasters/tools/ and do the following steps. 1,Click the "Add a property" button on the Webmaster Tools Home page. 2.Enter your blog's URL (for example, programmersbasics.blogspot.com) and click the "add" button to go to the Manage verification page. 3.Select the "Meta tag" verification method and copy the meta tag provided.Just copy aand paste it some where for future use.This tag is permanat for one site. 4,Login to your bloggers account and select the blog. 5,Select the template tag in left, it is just above settings. 6,Click 'Edit HTML' button below Live on blog section. 7,Add the meta tag just below <head> and save. 8,Then goto webmasters page and click verify. Now you are verified.You can now access webmaster features.