Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mah007/odooscript

Odoo 10 11 12,13 installation script for Ubuntu 14.04 , 15.04 ,16.04,18.04 (universal)
https://github.com/mah007/odooscript

Last synced: 5 days ago
JSON representation

Odoo 10 11 12,13 installation script for Ubuntu 14.04 , 15.04 ,16.04,18.04 (universal)

Awesome Lists containing this project

README

        

# OdooScript
Odoo dependence installation script for Ubuntu 14.04 , 15.04 ,16.04 ,20.04 , 22.04 ,*24.04(universal)
make your envirument ready for all kind of odoo with pycharm IDE
after run the script u have to download odoo manully

ssh-keygen -t ed25519 -C "[email protected]"

### Copy this script and run it on your terminal

./odoo-bin -w a -s -c ../odoo.conf --stop-after-init

./odoo-bin -w a -s -c /etc/odoo/odoo.conf --stop-after-init

export LC_ALL="en_US.UTF-8"

export LC_CTYPE="en_US.UTF-8"

sudo dpkg-reconfigure locales

########################################################################

adduser odoo

########################################################################

apt-get update

apt-get install software-properties-common

add-apt-repository ppa:certbot/certbot

apt-get update

apt-get install python-certbot-apache

sudo certbot --apache

#######################################################################

wget https://raw.githubusercontent.com/mah007/OdooScript/12.0/nginx.sh

bash nginx.sh

apt-get update

apt-get install software-properties-common -y

add-apt-repository universe

add-apt-repository ppa:certbot/certbot

apt-get update

apt-get install certbot python-certbot-nginx -y


sudo certbot --nginx

#######################################################################

nano /etc/apt/sources.list.d/pgdg.list

deb deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main

wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -

sudo apt-get update

########################################################################

sudo su - postgres -c "createuser -s odoo" 2> /dev/null || true

wget https://raw.githubusercontent.com/mah007/OdooScript/master/odoo_pro.sh

sudo /bin/sh odoo_pro.sh

#

wget http://software.virtualmin.com/gpl/scripts/install.sh

sh /root/install.sh -b LEMP

********************PG UTF*********************

sudo su postgres

psql

update pg_database set datistemplate=false where datname='template1';

drop database Template1;

create database template1 with owner=postgres encoding='UTF-8'

lc_collate='en_US.utf8' lc_ctype='en_US.utf8' template template0;

update pg_database set datistemplate=true where datname='template1';