Download out server preparation script. This script is going to install PostgreSQL, Java and Nginx on your server. If any of them is already installed, script will just skip its installation.
It will ask you if PostgreSQL server should be installed - press y to install it.
For other tools installation, confirm installation by pressing Y when asked during tools installation.
1
sh ./preinstall_cluster.sh
Copied!
Create PostgreSQL user and database
If you installed PostgreSQL in previous step you will need to create user and cluster database. If you skipped installation you can skip this step.
For that you will need to switch to postgres (default) user and execute 2 sql commands. After that just quite psql tool and exit to switch to the default machine user (please type below command, do not use copy paste method).
1
su - postgres
2
psql
3
β
4
create user cluster_user password '<YOURPASSWORD>';
5
create database cluster_db owner cluster_user;
6
\q
7
exit
Copied!
Right now all the needed tools should be installed on a machine and we can proceed to configuration and startup of getint.io platform cluster.
You can navigate to Cluster Setup page to prepare cluster for running