Public Repository

Last pushed: 5 months ago
Short Description
IP Postgresql : 192.168.1.135 / user,pass= odoo
Full Description

IP static
ip route | grep default

Code:
vi /etc/resolv.conf
insert, thêm vào 2 dòng này nếu chưa có
Code:
nameserver 8.8.8.8
nameserver 192.168.1.2 #gateway
nếu có thắc mắc thì post tại đây nhé

//=================================================================
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPADDR=10.1.1.200
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=enp0s3
UUID=75a170ba-6bfa-4553-8070-e658eb8ffb1e
ONBOOT=yes
GATEWAY=192.168.1.2

systemctl restart network

=========================================================
docker run -d -p 5432:5432 -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo --name db postgres:9.4

psql -h 192.168.1.128 -p 5432 -U odoo

  • \l
  • \dt
  • \c
  • \q =quite
  • docker run -p 8069:8069 –v /var/lib/odoo:/var/lib/odoo –v /mnt/extra-addons:/mnt/extra-addons --name odoo -t ngoctamtam/odoo1

  • docker run -p 8069:8069 --name odoo -t ngoctamtam/odoo-128

Docker Pull Command
Owner
ngoctamtam