Installing Odoo 9 – Ubuntu

Installing Odoo 9 – Ubuntu

Installing Odoo 9 – Ubuntu, takes only 4 to 5 minutes.

 

Installing Odoo 9 - Ubuntu
Installing Odoo 9 – Ubuntu

 

We provide odoo implementation services ranging from LAN to Cloud infrastructure. – Contact us!

 

What is Odoo?

Odoo (formerly known as OpenERP and before that, TinyERP) is a suite of open core enterprise management applications. Targeting companies of all sizes, the application suite includes billing, accounting, manufacturing, purchasing, warehouse management, and project management. – Source: https://en.wikipedia.org/wiki/Odoo

 

Installation

Most simplest, shortest and reliable installation of Odoo.

I am assuming:

  1. You already know your way around Linux and terminal.
  2. You already have Ubuntu 14.04 set up on a vm or a physical machine.
  3. You have INTERNET access.

Launch Terminal and execute following commands.

$ sudo apt update && sudo apt upgrade
$ sudo -i
$ wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
$ echo "deb http://nightly.odoo.com/9.0/nightly/deb/ ./" >> /etc/apt/sources.list
$ exit
$ sudo apt update
$ sudo apt install odoo

 

Done!

Now point your favorite web browser (Firefox is recommended) to localhost:8069

 

We provide odoo implementation services ranging from LAN to Cloud infrastructure. – Contact us!

 

Optional if you are prompted with db connection error; Create db user

As of this date odoo automatically creates db user but, if you are faced db connection issue most probably your db is not configured properly.
$ sudo su - postgres

$ createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo

$ exit

Configuration File

Further there are chances that you haven’t set the configuration file properly.

The configuration file can be found at /etc/odoo/openerp-server.conf

Your file may look like as follows:

[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = odoo
db_password = odoo
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons

Update Odoo

You can then use the usual apt upgrade command to keep your installation up-to-date.

References:

https://www.odoo.com/documentation/9.0/setup/install.html#deb

https://www.odoo.com/documentation/9.0/reference/cmdline.html#reference-cmdline-config

OVF Appliance Import failed on Ubuntu From VMWare to VirtualBox

OVF Appliance Import failed

Screenshot from 2015-11-27 11-07-29
Host resource of type “Other Storage Device (20)” is supported with SATA AHCI controllers only, line 47

Issue:

I was trying to import VMware Workstation 12 created OVF into VirtualBox 5 and it failed with the OVF Appliance Import failed error:
Error reading “/Appliance.ovf”: Host resource of type “Other Storage Device (20)” is supported with SATA AHCI controllers only, line 47.

Environment:

OS: Ubuntu 15.10 x64
VMware: Workstation 12.0.0
VirtualBox: 5.0.4

Explanation:

Basically the issue is that OVF file has some type of disk drives attached to IDE controller which needs to be on SATA controller.

The VMWare OVF Export Tool creates a .ovf file, a .mf file, and a .vmdk file

Solution:

  1. When you have .ovf file from VMWare, open it with any text/xml editor, and
    • replace word “ElementName” with word “Caption” in the whole file
    • replace “vmware.sata.ahci” with “AHCI”
  2. remove/rename the .mf file so that VirtualBox doesn’t see it. Otherwise you will end up with import failed.

 

Reference: https://forums.virtualbox.org/viewtopic.php?f=8&t=61624

VMware Workstation v12.0.0 Linux x64 on Ubuntu 15.10 doesn’t start

After dist-upgrade Ubuntu 15.04 to 15.10 VMware Workstation v12.0.0 Linux x64 on Ubuntu 15.10 doesn’t start. So I started googling and stumbled upon a Russian forum ultimately finding the solution.

Refrence to a Russian forum

http://forum.ubuntu.ru/index.php?topic=268032.0

 

Execute following commands in your terminal

$ export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libglibmm-2.4.so.1/:$LD_LIBRARY_PATH

 

$ echo /usr/lib/vmware/lib/libglibmm-2.4.so.1 | sudo tee -a /etc/ld.so.conf.d/LD_LIBRARY_PATH.conf

 

$ ldconfig

That’s it guys

[14-Nov-15] Update: After above mentioned workaround few programs like gnome-system-monitor and inkscape will not start.

Error “gnome-system-monitor: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so.1: undefined symbol: _ZN4Glib11VariantTypeD1Ev”

Ref: https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/1509729

To make vmware and other program work correctly follow this:

$ sudo vi /etc/ld.so.conf.d/LD_LIBRARY_PATH.conf

Delete line /usr/lib/vmware/lib/libglibmm-2.4.so.1

$ sudo vi /usr/bin/vmware

Add following line”export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libglibmm-2.4.so.1″ with out quotes, above “set -e”

this should work now, if it doesn’t; execute following command:

$ sudo apt-get install –reinstall libgtkmm-2.4-1v5

And Reboot your system.

Hope this helps

Windows 8.1 UEFI USB Install

Windows 8.1 UEFI USB Install

Windows 8.1 UEFI USB Install

Windows 8.1 UEFI USB Install
Windows 8.1 UEFI USB Install

What is UEFI?

UEFI (Unified Extensible Firmware Interface) is a standard firmware interface for PCs, designed to replace BIOS (basic input/output system). This standard was created by over 140 technology companies as part of the UEFI consortium, including Microsoft. Source windows.microsoft.com/en-us/windows-8/what-uefi

If you want to read in detail read at Wikipedia.

Long story short UEFI has faster boot time, more options, uses GPT  (GUID Partition Table) which has solved the problem of 4 primary partitions limit with MBR and bootable disk size limit of 2.2 TB.

Ever wonder why MACs boot up so fast? That’s the reason behind their fast boot up they have been using UEFI for years.

How to check if you are already setup on UEFI.

Click start type msinfo32 and press enter. A window similar to this one will appear just look for the BIOS Mode.

Msinfo32 UEFI BIOS Mode, windows 8.1 uefi usb install
Msinfo32 UEFI BIOS Mode

Windows 8.1 UEFI USB Install step by step procedure.

Pre-requisite:

1. At least 8GB USB Flash Drive

2. Windows Installation legitimate ISO file

3. Grab a copy of Rufus from here. It’s a tool which will help us in making flash drive bootable.

4. Backup Your Data. Since this is a guide to fresh install it is highly recommended to backup your data.

If you are already using UEFI then your old files on windows partition will be moved to windows.old. Otherwise if you wish to format your system partition then it is essential to first backup your data.

If you are using BIOS then for UEFI you would need to delete all MBR partitions form your Disk and repartition to GPT style. Therefore backup your data 🙂

Now the procedure on how to install:

A. Launch Rufus with admin privileges and set it up as show below.

Rufus USB UEFI Install, windows 8.1 uefi usb install
Rufus USB UEFI Install

 

1. Select GPT Partition Scheme for UEFI in Partition scheme and target system type.

2. Select Fat32 as File system.

3. Quick Format (Do backup your Flash Drive)

4. Select Windows 8.1 ISO file by clicking the CD Drive Icon.

Click Start and relax; it will take some time 🙂

B. Make sure UEFI is enabled in your BIOS. Different manufacturers have different BIOS setup; consult you hardware specific guide on how to enable UEFI.

Usually it is located under BOOT or System Configurations.

C. Plug in your USB Flash Drive and press Boot options system specific key. For HP it’s F9 and for Dell it’s F12. Click on this link to see a list of Boot and BIOS Setup keys from different manufacturers. You will see you USB Flash Drive listed along with UEFI stated with it. Most vendors do state UEFI but some don’t. Select your USB Drive and press Enter.

D. From this point onward everything is same; as usual windows installation, if your system was already setup on UEFI.

For user who are converting from BIOS to UEFI for them there are few more steps when they reach “Where do you want to install Windows?”, as follows:

1. Delete all your partitions

2. Create new primary partition. Setup will make 3 more partitions for Windows to operate properly. Your partition table may look like as follows.

Windows 8.1 UEFI GPT Partition, windows 8.1 uefi usb install
Windows 8.1 UEFI GPT Partition

3. Select your Primary partition and click next. That’s it remaining process is same.

 

Hope this helps…:)