Skip to content
  • Categories
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse

Odoo 中文社区

  1. Home
  2. Categories
  3. Odoo 开发与实施交流
  4. 当 OE 跟 postgesql 不在一个机器上

当 OE 跟 postgesql 不在一个机器上

Scheduled Pinned Locked Moved Odoo 开发与实施交流
4 Posts 3 Posters 4.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    ccdos
    wrote on last edited by
    #1

    一直以来玩oe , oe 跟  postgesql 一直在一个机器上。
    默认方式下,只允许本地登录,甚至不要设置密码,简单又方便,还够安全


    直到昨天, 想分开安装在 两个机器上, 才发现自己不会玩,又折腾一宿 失败了

    早上群里 请教了几位在  buke,amos,jeff 的帮助下

    似乎走通, 先记下,避免忘记

    1. 修改 绑定到对外的 ip

    修改 postgres.conf , list_address  = ‘*’

    2. 防火墙,打开 5432 端口,重启

    3. pg_hba.conf
        允许 访问的 ip 和 登录的方式
    host    all            all            192.168.2.12/32        trust
    允许 192.168.2.12 访问 , trust 是不要密码 ,应 改成 md5

    重启 postgresql



    4 查看 postgres 绑定的 ip

    netstat -apn | grep 5432



    1 Reply Last reply
    0
    • R Offline
      R Offline
      rufeng1199
      wrote on last edited by
      #2

      不错的体验  mark

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mencaca
        wrote on last edited by
        #3

        tag: 😛

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Tags
        • Popular
        • Users
        • Groups