# considering you have installed homebrew
brew install python@3.8
brew install postgresql
brew install openssl
export LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib"
I hereby claim:
- I am diogocduarte on github.
- I am diogoduarte (https://keybase.io/diogoduarte) on keybase.
- I have a public key ASAzofcAcHTgbBIcXE0bXopxEZyaXh88ArsWpHpod0ZY0wo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################################################################################ | |
# Script for installing Odoo V10 on Ubuntu 16.04 | |
################################################################################ | |
OE_VERSION="10.0" | |
OE_USER="odoo" | |
OE_HOME="/opt/$OE_USER" | |
OE_HOME_EXT="$OE_HOME/v${OE_VERSION}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get dist-upgrade | |
sudo adduser --system --home=/opt/odoo --group odoo | |
sudo su - odoo -s /bin/bash | |
sudo apt-get install postgresql | |
sudo pg_createcluster 9.3 main --start | |
sudo su - postgres | |
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo (OclassAdm) |