2.3 KiB
2.3 KiB
assigned, created, progress, tags, type, updated
assigned | created | progress | tags | type | updated | |||
---|---|---|---|---|---|---|---|---|
2024-06-14T18:43:00.705Z | 0 |
|
note | 2024-12-03T02:44:04.000Z |
Odoo
Notes
sudo -i
for y in $(locale | cut -d '=' -f 2| sort |uniq );do locale-gen $y; done
apt-get update && apt-get upgrade -y
apt install python3-pip -y
apt-get install postgresql -y
cd /etc/init.d
./postgresql start
su - postgres
psql template1 -c 'SHOW SERVER_ENCODING'
psql postgres -c "update pg_database set datallowconn = TRUE where datname = 'template0';"
psql template0 -c "update pg_database set datistemplate = FALSE where datname = 'template1';"
psql template0 -c "drop database template1;"
psql template0 -c "create database template1 with template = template0 encoding = 'UTF8';"
psql template0 -c "update pg_database set datistemplate = TRUE where datname = 'template1';"
psql template1 -c "update pg_database set datallowconn = FALSE where datname = 'template0';"
psql template1 -c 'SHOW SERVER_ENCODING'
createuser -s odoo
psql -c "alter user odoo with password 'odoo';"
exit
wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
echo "deb http://nightly.odoo.com/11.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
sudo -i
cd /home/mike/phares-odoo
git clone http://127.0.0.1:3000/mikepharesjr/odoo-17-0.git
cd odoo-17-0
chmod +x setup/debinstall.sh
./setup/debinstall.sh
apt install nodejs
apt install npm
npm install -g rtlcss
apt-get update && apt-get install odoo -y
./odoo start
turnkey-init
podman pull docker.io/odoo:15.0
systemctl daemon-reload
systemctl start odoo-server
systemctl status odoo-server
journalctl -fu odoo-server.service
podman logs odoo-server
systemctl stop odoo-server
systemctl disable odoo-server
podman exec -ti odoo-server /bin/sh
podman exec -ti odoo-server /bin/bash