Skip to content

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

License

Notifications You must be signed in to change notification settings

mah007/OdooScript

Repository files navigation

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 "your_email@example.com"

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';

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages