Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Odoo9 in ubuntu system

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to install Odoo9 in a ubuntu system? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.

1. Install VMware software

2. Install Ubuntu14.04 system

If you are not clear, please refer to the following two links:

0VMware Workstation 12 installation

1VMware installs Ubuntu 14.04 system

Open the terminal (Terminal)

Update Ubuntu server software source

# increase the software update source of Ali Cloud ubuntu for faster (Ali Cloud CVM has been added)

Sudo sed-i's | cn.archive.ubuntu.com | mirrors.aliyun.com | g'/etc/apt/sources.list

# Update the software source

Sudoapt-getupdate

# update the software package to find dependencies automatically

Sudoapt-getdist-upgrade

# restart the server to update the changed content

Sudoshutdown-rnow

Install and configure the database server PostgreSQL

# run the following command to check the version of the PostgreSQL database:

# View PostgreSQL version

Psql-version

# if an error is reported, it indicates that PostgreSQL has not been installed before, then you can install it with the following command:

# install PostgreSQL

Sudoapt-getinstallpostgresql

# next, switch to the postgres user, which is the default initial user of PostgreSQL. We have the permission to configure the database if we operate in its capacity:

# switch to postgres user

Sudosu-postgres

# then create a new database user as postgres. The odoo,Odoo program will access the database with that user and password.

# create a database user odoo

Createuser--createdb--usernamepostgres--no-createrole--no-superuser--pwpromptodoo

# enter the password according to the system and remember the password you set here.

# finally, run exit to exit the postgres user.

Exit

Install the odoo program

1. Add the odoo update address to the update source / etc/apt/sources.list of Ubuntu.

# Open the update address file

Sudo nano/etc/apt/sources.list

# add the odoo update address at the end (pay attention to the space)

Deb http://nightly.odoo.com/9.0/nightly/deb/. /

# press Ctrl+X, then press Y, and then enter

two。 Update source:

If an error occurs in sudo apt-get update: GPG error: http://nightly.odoo.com. / Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DEF2A2198183CBB5 solution: sudo apt-key adv-- keyserver keyserver.ubuntu.com-- recv-keys DEF2A2198183CBB5

3. Upgrade all suites:

Sudo apt-get upgrade

4. Install doo:

Sudo apt-get install odoo

Note: press Y twice and agree to install

Modify the openerp-config file

# stop odooe service

Sudo service odoo stop

# Open / etc/odoo/openerp-server and modify the database configuration information.

Sudo nano / etc/odoo/openerp-server.conf

# the following image of content installation (db_password is the password of the previously entered odoo)

# start the odoo service

Sudo service odoo start

This is the answer to the question about how to install Odoo9 in the ubuntu system. I hope the above content can be of some help to you. If you still have a lot of doubts to solve, you can follow the industry information channel to learn more about it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report