Git Product home page Git Product logo

odoo-installation-clean's Introduction

INSTALACION DE ODOO 16 LIMPIO UBUNTU 22.04

INSTALACION DE ODOO 16 LIMPIO EN UBUNTU 22.04 SIN POSTGRESQL ๐Ÿค–๐Ÿ‘จ๐Ÿฝโ€๐Ÿ’ป

Pasos para instalar Odoo sin postgreSQL y sin librerias innecesarias Cambiar de version si se desea otra version de Odoo

1. Requisitos y Sources ๐Ÿ“‘

echo "deb http://security.ubuntu.com/ubuntu focal-security main" | sudo tee /etc/apt/sources.list.d/focal-security.list
wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
echo "deb http://nightly.odoo.com/16.0/nightly/deb/ ./" >> /etc/apt/sources.list

sudo apt update
sudo apt-get update

2. WKHTMLTOPDF para reportes ๐Ÿ“„

sudo apt-get install libssl1.1
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb
sudo apt install ./wkhtmltox_0.12.6-1.focal_amd64.deb

3. Instalacion Odoo ๐Ÿ–ฅ๏ธ

Aqui se instala desde el repositorio previamente cargado Odoo

sudo apt install odoo
sudo systemctl enable --now odoo
sudo mkdir -p /mnt/extra-addons/

4. Configuracion de Odoo

Editar el archivo de configuracion de Odoo de acuerdo a necesidad

sudo nano /etc/odoo/odoo.conf
[options]
; This is the password that allows database operations:
admin_passwd = MasterPassword
db_host = IP_REMOTE_POSRGRESQL_SERVER
db_port = PORT
db_user = DB_USER
db_password = DB_PASS 
addons_path = /usr/lib/python3/dist-packages/odoo/addons, /mnt/extra-addons

5. Configuracion de Odoo

sudo service odoo restart

Odoo queda configurado y listo en el puerto 8069

OPCIONAL 1: Configurar Nginx como reverse Proxy ๐Ÿ‘จ๐Ÿฝโ€๐Ÿ’ป

Seguir los pasos del repo

https://github.com/mamfredym/nginx_odoo

Nginx

sudo apt-get install nginx
cd /etc/nginx/sites-available
git clone https://github.com/mamfredym/nginx_odoo
cd nginx_odoo/
sudo cp /etc/nginx/sites-available/nginx_odoo/default.conf /etc/nginx/sites-available/default.conf
cd ..
mv default default-temp
mv default.conf default
nginx -s reload

Abrir archivo de config de Odoo

nano /etc/odoo/odoo.conf

Cambiar/Adicionar estos parametros en el archivo de configuracion de Odoo

xmlrpc_interface = 127.0.0.1
netrpc_interface = 127.0.0.1
proxy_mode = True

Reiniciar Odoo

sudo service odoo restart

OPCIONAL 2: Instalar certificados SSL con CERTBOT ๐Ÿค–

Seguir los pasos del webiste de CertBot

https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal

sudo snap install core; sudo snap refresh core
sudo apt-get remove certbot
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
sudo certbot --nginx
sudo certbot certonly --nginx
sudo certbot renew --dry-run

odoo-installation-clean's People

Contributors

mamfredym avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.