A
A
Alexander Lychangin2016-04-21 09:31:47
PostgreSQL
Alexander Lychangin, 2016-04-21 09:31:47

What is the best way to install postgresql, from source or binary packages?

What is the best way to install postgresql, from source or binary packages? It is planned to deploy a DBMS to the enterprise. A mail server (1500 users, 10 emails per day), zabbix monitoring systems (monitoring about 3000 metrics), corporate messenger (jabber server, about 1500 users) will be used.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Iron Bug, 2016-04-21
@alexandr19931

I think no. I recommend that you read the following articles:
I want to take and shoot, or an educational program on why you should not use make install
https://habrahabr.ru/post/130868/
Is it worth installing Gentoo for the sake of acceleration?
https://habrahabr.ru/post/186098/

O
oni__ino, 2016-04-21
@oni__ino

If you need basic functionality, then installing from ready-made binary packages seems to take less.
Updates will be easier and safer to install and rollback if needed. From my own experience, I will say that I build from source codes only if there is no ready-made package or if specific options / functions are needed that are not included in the package. In particular, I installed about postgres only ready-made, there were no special problems.

F
fghd, 2016-04-21
@fghd

The only plus from the sources (IMHO) - you can build with the options that you need. But do you know them and are you ready to read a mountain of docks? Then you still have to apply patches, compile again, look for / write a service for autorun. Do you need it?
If from packages, then everything has already been updated and compiled, and even the correct paths are indicated for this distribution, and some service files are written correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question