Installing postgresql under OpenVZ CentOS vps

Installing postgresql under OpenVZ CentOS vps. Postgresql is using from CentOS repo.

Some OpenVZ VE template are minimized the size and removed most of unneeded locales. This is the excerpt from the thread at openvz forum regarding CentOS VPS template and PostgreSQL.

  • Test whether you have necessary locale

  • If it is returned none, follow these steps

  • Now check again

  • Now install postgresql as normal