Answer the question
In order to leave comments, you need to log in
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
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/
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.
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 questionAsk a Question
731 491 924 answers to any question